Exporting VB ActiveX Dlls 
Author Message
 Exporting VB ActiveX Dlls

Hello Everyone,

I wish to create an ActiveX Dll in VB and then use it in another VB program
without reference it.  Basically, is there anyway I can export the VB Dll so
that other programs, such as VB or VC++ programs can use it?  I heard that
www.desaware.com has SpyWorks that will do this, but is there anything
equivalent to this?  Thanks a lot.

Eric



Mon, 21 Jan 2002 03:00:00 GMT  
 Exporting VB ActiveX Dlls


Quote:
> Hello Everyone,

> I wish to create an ActiveX Dll in VB and then use it in another VB
program
> without reference it.

If you create a public class called "MyClass" and compile it in a project
called "MyDLL", then you can create an instance of it in another VB program
without adding a reference by:
Dim myclass As Object
Set myclass = CreateObject("MyDLL.MyClass")

Note the dll does have to be registered on the machine.

Quote:
> Basically, is there anyway I can export the VB Dll so
> that other programs, such as VB or VC++ programs can use it?  I heard that
> www.desaware.com has SpyWorks that will do this, but is there anything
> equivalent to this?  Thanks a lot.

If you mean export the functions from a standard dll, then yes, you need
something like SpyWorks.
Quote:

> Eric



Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. export VB activex to native DLL

2. Exporting functions from a ActiveX DLL

3. exporting functions in a VB5 ActiveX DLL?

4. Creating a normal DLL in VB (no ActiveX dll)

5. Calling Std C DLL from VB ActiveX DLL

6. How to export to Html using Crystal's VB activeX

7. ActiveX.exe or ActiveX DLL or ActiveX Control?????????????

8. ActiveX DLL, ActiveX EXE & ActiveX OCX version

9. ActiveX DLL, ActiveX EXE & ActiveX OCX version

10. How to export function in a VB DLL

11. Exporting c++ dlls to VB

12. export a function when creating a DLL in VB

 

 
Powered by phpBB® Forum Software