Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Maybe it is something I am doing wrong, but all the classes that are suppose to be in System.Web don't appear to be available for me.

 

I uninstalled VS2002 and installed VS2003 Enterprise, but I doubt that would have anything to do with it.

 

Even in the Object Browser, System.Web only contains:

 

AspNetHostingPermission

AspNetHostingPermissionAttribute

AspNetHOstingPermissionLevel

 

For the record, I am creating a windows forms application, but I have been able to use the other classes available in System.Web before (at least from work on VS2002).

 

Anyone have any ideas?

mov ax, 13h

int 10h

Posted

Yes, that was the first thing I did.

 

Even trying to just go at it by giving a fully qualified name didn't work. Plus, they should still show in the Object Browser.

mov ax, 13h

int 10h

Posted

By the way, I am running on Windows XP Pro, so I do meet the requirements to use the other classes within System.Web.

 

Also, I have uninstalled VS2003 Ent and even uninstalled the 1.1 Framework and reinstalled both, but it still doesn't show.

mov ax, 13h

int 10h

Posted

I figured out a way to get around this now.

 

Seems the only way I can use the classes I want, I had to use Add Reference to explicitly add System.Web.dll to the entire project.

 

Just doing an Imports System.Web at the top didn't let me access all the classes for some reason. I even tried it in C#, but it didn't work even with "using".

mov ax, 13h

int 10h

Posted

Sorry, I thought you meant with an Imports or using statement.

 

What's weird is on VS2002 I didn't need to add a reference like that to use it. When I get to work I'll check which classes are referenced by default to see if that could be one reason.

mov ax, 13h

int 10h

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...