Results 1 to 5 of 5

Thread: registering Activex dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    2

    registering Activex dll

    Hello everyone,
    I do not use vb much, and am working on a project that invovles accessing dll libraries created with vb from other languages. To test my code, I created a very simple dll in vb and am trying to access it, but having problems.
    I assume I need to register my new dll before I can access it. I tried to register my dll using regsvr32, but I got the error message "file opened, but could not find DllRegisterServer entry point. Cannot register file."
    Should this file work without being registered? If not, what do I need to do to register it? Any help would be greatly appreciated.
    Many Thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: registering Activex dll

    Welcome to the forums.

    A Dll must be registered to be used.

    Compiling your Dll should register it for you.

    Your installation and setup package should register it on any client machines on which it is installed.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    2

    Re: registering Activex dll

    Great. So after compiling my dll it should automatically be registered and I can then access it no problem, correct?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: registering Activex dll

    Quote Originally Posted by FastEddyMagoo
    Great. So after compiling my dll it should automatically be registered and I can then access it no problem, correct?
    In theory, yes, that is correct.

  5. #5
    Fanatic Member Dnereb's Avatar
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    863

    Re: registering Activex dll

    if you want to register a dll on another machine you can use a batch file
    to register the dll. and unregister it(I have a example at home if need one).

    You can also do it mannually using regsrvr

    Note: do not delete a dll before you unregister it
    why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
    for every question you ask provide an answer on another thread.

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