|
-
Dec 5th, 2000, 08:33 PM
#1
Thread Starter
Hyperactive Member
Hi,
How can I use/acces an activeX DLL? Do I have to set references to it in Project->References? Anything else?
Please give an example.
Thanks.
-
Dec 5th, 2000, 09:00 PM
#2
Addicted Member
If you have an activeX DLL that you have made (or acquired from somewhere) and you want to use it in another VB project, yes, you have to set a reference to the DLL by going to:
Project | References
and if it is not in the list you may have to "Browse" for it.
When it comes to distributing the application that uses the ActiveX DLL you will also have to distribute the DLL and you may have to (I had to) register the DLL on the target machine. I'm not sure but this may depend on the operating system you are using. Normally you would get the installation program to register the DLL but if you are doing it manually you need to enter (this works on winNT):
regsvr32 Filename.dll
where Filename.dll is the name of your ActiveX dll.
There isn't much more to it than that really.
I hope this helps,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|