|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Attaching to a DLLIn 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? Am 02.04.2010 00:48, schrieb Stephen7405:
> In VB6 I used the syntax: The function is still there for ActiveX objects:> > 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? 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
Re: Application crashes at start-up
Dates Deploy my solution. create main configuration file for solution. Displaying Panel After Timer Loop .NET 3.5 - System.Reflection.Assembly does not release object (DLL) after use Dynamic Label Control Property in 2008 creating activeX on VB.NET 2008 Executable program while debugging. .net Versions |
|||||||||||||||||||||||