tags:

views:

30

answers:

1

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?

+1  A: 

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

RichardOD