Prev: Dates
Next: Setting registry value
From: Stephen7405 on 1 Apr 2010 18:48 In VB6 I used the syntax: Set MyObj = CreateObject("MyDLL.MyClass") to expose the procedures in a DLL to an EXE. VB6 objects to this, so what is the equivalent code in VB2008?
From: Armin Zingler on 1 Apr 2010 19:11 Am 02.04.2010 00:48, schrieb Stephen7405: > In VB6 I used the syntax: > > Set MyObj = CreateObject("MyDLL.MyClass") > > to expose the procedures in a DLL to an EXE. > > VB6 objects to this, so what is the equivalent code in VB2008? The function is still there for ActiveX objects: http://msdn.microsoft.com/en-us/library/7t9k08y5.aspx For the managed world, use reflection: http://msdn.microsoft.com/en-us/library/k3a58006.aspx -- Armin
|
Pages: 1 Prev: Dates Next: Setting registry value |