Imports are not needed, they are just to have the code more readable saving
the need for fully qualified type names. The statement is
Imports <namespace>
where <namespace> for COM DLLs is its ProgID
--
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"kd" <kd@discussions.microsoft.com> escribió en el mensaje
news:C8**********************************@microsof t.com...
Hi All,
Would anybody be able to help me on how to use COM components in vb.net?
I have a dll and would like to use the functions of the dll. Here are the
steps that I followed:
1. Register the dll
2. Add reference to the dll in the solution explorer
Is there a need to add import statement for the dll in code? Is the
following statement correct?
import <dllname>
or should it be
import <libname>
Thanks.
kd