Type 'xxx' is not defined.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I build the application I get the preceeding error.

How do I include the definitions for a 3rd party class? I've included the
Reference in the Solution Explorer, but where or how in my code on my form do
I include this reference?

dim x as New xxxx

where xxxx is a 3rd party class
 
Ron said:
How do I include the definitions for a 3rd party class? I've included
the
Reference in the Solution Explorer, but where or how in my code on my form
do
I include this reference?

dim x as New xxxx

where xxxx is a 3rd party class

Use the object browser to check which namespace the class resides in, then
either fully qualify the class name with the containing namespace or import
the namespace using 'Imports' on top of the source file.
 
The Imports worked! Thanks.

Herfried K. Wagner said:
Use the object browser to check which namespace the class resides in, then
either fully qualify the class name with the containing namespace or import
the namespace using 'Imports' on top of the source file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top