Creating an ActiveX DLL

Results 1 to 2 of 2

Thread: Creating an ActiveX DLL

  1. #1
    Vipul Desai Guest

    Default Creating an ActiveX DLL

    I am trying to learn how to build DLL&#039s in Visual Basic.<BR>I have created a class that holds information about a password screen. The problem I am having is that when I MAKE the password.dll within VB6, I am not seeing the DLL created within the project references. The Project Refernces, to my knowledge, provides a list of all the DLL&#039s that are loaded up within the registry. <BR><BR>Can someone please help.<BR><BR>Thanks,<BR><BR>Vipul

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: Creating an ActiveX DLL

    Hmmm... the problem might be that the DLL is not being registered in the registry, although VB should do this automatically. Go to the directory that has the DLL you created, and type in:<BR><BR>regsvr32 password.dll<BR><BR>If you still do not see it in the Project References, go ahead and reference it anyway.<BR><BR>Dim objPassword<BR>Set objPassword = Server.CreateObject("ProjcetName.ClassName")<BR><B R>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
  •