Add System.Net reference

  • Thread starter Thread starter Guest
  • Start date Start date
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,
 
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.
 
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
 
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.
 
Back
Top