Imports

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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...!!!!??
 
Are you just trying to access the classes or actually use the forms from
your application?
 
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
 
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
 
Back
Top