• Welcome to Valhalla Legends Archive.
 

Imports System.Web.*

Started by Grok, October 20, 2004, 03:35 PM

Previous topic - Next topic

Grok

When I type

Imports System.Web.

only 3 choices come up.  But in MSDN there are other choices, like System.Web.Mail.  How do I get it to show the other namespaces under System.Web, like Mail?

I am on .NET 1.1, but how do I verify that?

MyndFyre

Be sure that you have the correct libaries imported.

Without System.Web.dll, I only get the System.Web namespace, no sub-namespaces, although I do get 3 class entries.

Right-click on your project, and choose "Add Reference..." and under the .NET tab, select System.Web.dll.  I get 10 namespaces and a variety of classes there.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Grok

Quote from: MyndFyre on October 20, 2004, 06:29 PM
Be sure that you have the correct libaries imported.

Without System.Web.dll, I only get the System.Web namespace, no sub-namespaces, although I do get 3 class entries.

Right-click on your project, and choose "Add Reference..." and under the .NET tab, select System.Web.dll.  I get 10 namespaces and a variety of classes there.

Thanks.  I thought I had to add a reference, but I didn't know which one.  Since System.Web.* was already there, System.Web.dll did not pop in my head.