New Message on dotNET User Group Hyd

Registration of the Type Library

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: Srinivas_MCP

Hi All,
One of my friend asked this question to me:

Is it required .tlb (Type Library) files to be register in windows, if it's equired, how to register?
 
I want to share it with you all, so...
Normally we will register OCX, DLL (DLLSelfREgister) ActiveX controls with regsvr32.exe

Registration of the Type Library is not required. This information gets into the system as soon as you register your DLL. Please check your Registry for the registered DLL and you will find the tld related key under that.
The Type Library provides information about a class in terms of its properties, methods and their argument and return types. One can find type information by loading a type library or by obtaining a reference to a COM object. Suppose we have the ADO (ActiveX Data Object) library on our system at it is located at C:/Program Files/Common Files/system/ado/msado15.dll. We load that library using LoadTypeLib lib = LoadTypeLib("C:/Program Files/Common Files/system/ado/msado15.dll"). We can use this to examine the different elements about which the library provides type information. When we are finished with it, we can release the library and free the resources it uses using UnloadTypeLib.
Sometimes you do need to register the TLB files, especially custom one, here are one utility that you can use to reg a tlb
http://www.vbaccelerator.com/home/VB/Utilities/Type_Library_Registration_Utility/article.asp

View other groups in this category.


To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to