c# Programming Glossary: createobject
A Simple C# DLL - how do I call it from Excel, Access, VBA, VB6? http://stackoverflow.com/questions/1170794/a-simple-c-sharp-dll-how-do-i-call-it-from-excel-access-vba-vb6 you need to use regasm. To then consume this Dim o Set o CreateObject TestDll.Test MsgBox o.HelloWorld You can also reference the..
How to change folders permission to the current user by using admin credentials? http://stackoverflow.com/questions/18580419/how-to-change-folders-permission-to-the-current-user-by-using-admin-credentials strHomeFolder C test strUser DOMAIN user Set WshShell CreateObject WScript.Shell WshShell.Run COMSPEC c Echo Y cacls strHomeFolder..
Is it possible to intercept (or be aware of) COM Reference counting on CLR objects exposed to COM http://stackoverflow.com/questions/2223147/is-it-possible-to-intercept-or-be-aware-of-com-reference-counting-on-clr-objec registered in the COM registry and cannot be created ' via CreateObject. Public Sub New MyBase.New End Sub Public Function Add ByVal.. class_initialize MsgBox Created. Set dotNetMatFunctionLib CreateObject DemoLib.Calculator end sub private sub class_terminate dotNetMatFunctionLib.Dispose.. Component. dim comWrapper dim vbsCalculator set comWrapper CreateObject Calculator.Lib set vbsCalculator comWrapper.GetMathLibrary msgbox..
.NET Object from VB6 without use of regasm.exe? http://stackoverflow.com/questions/2378542/net-object-from-vb6-without-use-of-regasm-exe an option in the client environments. I've tried GetObject CreateObject but neither work when referencing a dll or tlb file is there..
Can't instantiate a COM object written in C# from VBA (VB6 ok) http://stackoverflow.com/questions/375457/cant-instantiate-a-com-object-written-in-c-sharp-from-vba-vb6-ok works fine Private Sub Form_Load Dim o As Object Set o CreateObject Test9.COMINT o.Init A B End Sub This exact same code called.. I get the exact same HRESULT 0x80131700 as when I do CreateObject in VBA. Therefore I think it is a framework initialization issue...
List all virtual directories in IIS 5,6 and 7 http://stackoverflow.com/questions/3938467/list-all-virtual-directories-in-iis-5-6-and-7 1 ROOT For Each oVirtualDirectory In oW3SVC Set oFile CreateObject Scripting.FileSystemObject Set oTextFile oFile.OpenTextFile..
Factory pattern in C#: How to ensure an object instance can only be created by a factory class? http://stackoverflow.com/questions/515269/factory-pattern-in-c-how-to-ensure-an-object-instance-can-only-be-created-by-a MyProperty myProperty public static BusinessClass CreateObject string myProperty Perform some check on myProperty if all ok..
How to call C# DLL function from VBScript http://stackoverflow.com/questions/769332/how-to-call-c-sharp-dll-function-from-vbscript
How do I get a list of installed updates and hotfixes? http://stackoverflow.com/questions/815340/how-do-i-get-a-list-of-installed-updates-and-hotfixes en us library aa386400 VS.85 .aspx Set updateSearch CreateObject Microsoft.Update.Session .CreateUpdateSearcher Set updateHistory..
Can I use a language other than VBScript to programmatically execute QTP Tests? http://stackoverflow.com/questions/895342/can-i-use-a-language-other-than-vbscript-to-programmatically-execute-qtp-tests testResults testPath name allTestsList.Add name Set App CreateObject QuickTest.Application App.Launch App.Visible False App.Open.. qtpResultsOpt Set qtpTest App.Test Set qtpResultsOpt CreateObject QuickTest.RunResultsOptions resultsPath testPath RES1 qtpResultsOpt.ResultsLocation..
C#: Pass a user-defined type to a Oracle stored procedure http://stackoverflow.com/questions/980421/c-pass-a-user-defined-type-to-a-oracle-stored-procedure IOracleCustomTypeFactory Members public IOracleCustomType CreateObject return new SdoGeometry #endregion P.S. During my project Oracle..
|