Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Serbia and Montenegro (Yugoslavia)
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .TLB file wont register (VB6)

    I developed an application that access Active Directory objects. I did an installation package and when I tried to install it on a Windows 2000 machine it errored stating it was unable to register the file Activeds.tlb file. I tried to register the file manually using the Regsvr32.exe command and it would only allow me to register DLL's and OCX's. There is an Activeds.dll file that is registered, but I don't know why the installation is trying to register a tlb file that can't be registered anyway! I've clicked on ignore during the installation process but the application wont connect to AD, and I'm guessing that the file name refers to Active Directory Services. Does anyone know a way around this? There doesn't appear to be anything in the MS KB.

    When I install it on my development computer I get the same error, but there when I click Ignore, the application will run successfully.

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Serbia and Montenegro (Yugoslavia)
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: .TLB file wont register (VB6)

    This is the solution:

    activeds.tlb is marked in the PDW as DLLSelfRegister. Simply going into the
    setup.lst and changing the DLLSelfRegister to TLBRegister fixes the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •