Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registering a type library

Status
Not open for further replies.

digiduck

Programmer
Apr 4, 2003
95
US
I need to find out how to register a type library (.tlb) file in Windows 2000/XP. I thought maybe regsvr32 would do it but it won't. Windows installer keeps throwing out an error (Unable to register type library. Contact support personnel) so I'm try to figure out how I can register it manually. Or does anyone here know how I can fix the installer error? I'm really lost here and its very important that I fix this problem.

Thanks.
 
How do I install the Windows API Type Library?
Download win32.zip and extract the file Win32.tlb. You can store the extracted file anywhere on your hard drive.


Create a new project in Visual Basic and choose References from the Project menu. Click the Browse button, find and select the file you just extracted, and click OK. The type library is now registered on your system.
note If you're running Windows NT or Windows 2000, you may need to log on as an administrator before you can register the type library.

hth article helps:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top