jappa
jappa

Reputation: 11

installed Visual Basic 2008 Express Edition, but none of .NET classes are available

For instance,

I was trying to use

WebRequest request = WebRequest.Create("http://www.contoso.com/");

But get an error message!

I am trying to use the WebRequest .NET framework class http://msdn.microsoft.com/en-us/library/456dfw4f.aspx

How can I enable .NET? Is something wrong with my installation?

Upvotes: 0

Views: 84

Answers (1)

RichardOD
RichardOD

Reputation: 29157

Maybe put Imports System.Net at the top of class?

Upvotes: 2

Related Questions