Assembly.LoadFrom

来源:互联网 发布:如何购买阿里云国际版 编辑:程序博客网 时间:2024/05/18 03:43
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")
原创粉丝点击