>How do you add the type library to the project?
>>
>>Either way should work. You have to add the type library to the Project.
Select Project - References from the VB menu and select your COM object from the available list..
>>
>>HTH.
See bold above.
When you declare the variable, Intellisense will pick up the information from the type library.
dim lox as *here*
When you get to *here*, a dropdown list of variable types will be displyed. If you have already added the reference, your class should show up in the list.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao