Imports

G

Guest

Hi,
I've two projects in one solution a windows and web project and I would like
to get access to the windows classes (namespaces)by using the Imports
statement in the web project but I can't see the windows project when writing
the imports statement so how can include it in the web project


Thanks
 
K

Ken Tucker [MVP]

Hi,

Add a reference to system.windows.forms.dll. Then you can use
the imports statement. Not everything in the windows forms classes will
work properly in a web project.

Ken
 
G

Guest

sorry, but I'm very new in vb.net could tell me how can I add it to
system.windows.forms.dll and should I include the whole Windows project or
just the classes needed or...!!!!??
 
G

Gary Townsend

Are you just trying to access the classes or actually use the forms from
your application?
 
G

Guest

Hi,

In the project menu you will find add reference. In the list you
will find that dll. What are you trying to do anyway.

Ken
 
G

Guest

No not that, I know how to add a reference this way.
what I meant is that from the web project I'm trying to access the classes
of the windows project and I am not able to include the namespaces of my
windows project using the imports statement because I don't have a dll from
my win project to reference it!!!?

Thanks
 

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

Similar Threads

Namespace confusion 8
Imports in VB.NET 5
Imports statments 4
"Range" not recognized? 7
Confusion over namespaces 1
Application Size 4
imports\namespace question 4
Question about MySQL Connector class 3

Top