Add System.Net reference

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?amVmZg==?=

    #1

    Add System.Net reference

    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,
  • Tom Shelton

    #2
    Re: Add System.Net reference

    On Nov 16, 9:00 am, jeff <j...@discussio ns.microsoft.co mwrote:
    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.

    --
    Tom Shelton

    Comment

    • =?Utf-8?B?amVmZg==?=

      #3
      Re: Add System.Net reference

      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


      "Tom Shelton" wrote:
      On Nov 16, 9:00 am, jeff <j...@discussio ns.microsoft.co mwrote:
      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.
      >
      --
      Tom Shelton
      >

      Comment

      • =?Utf-8?B?amVmZg==?=

        #4
        Re: Add System.Net reference


        Thanks, Got it
        "Tom Shelton" wrote:
        On Nov 16, 9:00 am, jeff <j...@discussio ns.microsoft.co mwrote:
        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.
        >
        --
        Tom Shelton
        >

        Comment

        Working...