Results 1 to 2 of 2

Thread: Accesing ActiveX DLL

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458
    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.
    Thanks

    Tomexx.

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    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
  •  



Click Here to Expand Forum to Full Width