Add System.Net reference

G

Guest

Hi All.

I create a project to use System.Net

However, when I want to add the reference, I can not find the lib.

where should I download it? or where is it installed?

My IDE is .NET 2003, VB Project.

I am totally newer to .NET.

Thanks,
 
T

Tom Shelton

Hi All.

I create a project to use System.Net

However, when I want to add the reference, I can not find the lib.

where should I download it? or where is it installed?

My IDE is .NET 2003, VB Project.

I am totally newer to .NET.

Thanks,

You don't need to "add a reference" for the system.net namespace. All
you need is to add the Imports System.Net at the top of your code
file. The System.Net namespace is implemented in System.dll, which is
automatically added to your VB.NET project.
 
G

Guest

Thanks Tom,

However, when I type in the string,

It give me error said:

NameSpace or type 'Net' for the Imports 'System.Net' can not be found.

Thanks
 
G

Guest

Thanks, Got it
Tom Shelton said:
You don't need to "add a reference" for the system.net namespace. All
you need is to add the Imports System.Net at the top of your code
file. The System.Net namespace is implemented in System.dll, which is
automatically added to your VB.NET project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top