From: Stephen7405 on
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
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