Thread.Sleep(1000)
Dim strRootPath As String = System.Environment.GetEnvironmentVariable("Systemroot")
strRootPath = strRootPath & "/Microsoft.NET/Framework/" & Assembly.GetEntryAssembly.ImageRuntimeVersion & "/" 'Assembly.LoadFrom(strRootPath & "Oracle.DataAccess.dll")
Assembly.LoadFrom(strRootPath & "System.Data.dll")
Assembly.LoadFrom(strRootPath & "System.Transactions.dll")
Assembly.LoadFrom(strRootPath & "System.EnterpriseServices.dll")
Assembly.LoadFrom
最新推荐文章于 2024-12-31 09:38:15 发布
本文介绍了一种通过VB.NET脚本动态加载.NET Framework相关组件的方法,包括System.Data, System.Transactions等DLL文件,适用于需要在运行时动态加载这些库的场景。

8988

被折叠的 条评论
为什么被折叠?



