UrlDecode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kenan Kilictepe

    #1

    UrlDecode

    How can I use HTTPUtility.Url Decode method in a windows application?
    Isn`t it possible?
    VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

    Thanks


  • sloan

    #2
    Re: UrlDecode


    microsoft.publi c.dotnet.framew ork.aspnet

    would be a more germane newsgroup.




    "Kenan Kilictepe" <kenan@kilictep e.netwrote in message
    news:%23MAl1ZH6 GHA.4304@TK2MSF TNGP03.phx.gbl. ..
    How can I use HTTPUtility.Url Decode method in a windows application?
    Isn`t it possible?
    VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
    >
    Thanks
    >
    >

    Comment

    • Tom Porterfield

      #3
      Re: UrlDecode

      Kenan Kilictepe wrote:
      How can I use HTTPUtility.Url Decode method in a windows application?
      Isn`t it possible?
      VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
      Have you added a reference to System.Web.dll to your project? That doesn't
      get added by default for Windows applications so you'll need to add it
      manually. Just right click on the References for the project, select Add
      Reference, select System.Web.dll in the list of .NET references. Once that
      is added you should then be able to use the UrlDecode method on the
      HttpUtility class.
      --
      Tom Porterfield

      Comment

      • Kevin Spencer

        #4
        Re: UrlDecode

        He's asking about using it in a *Windows* application.

        --
        HTH,

        Kevin Spencer
        Microsoft MVP
        Software Composer
        Thoughts and Ideas about programming, philosophy, science, arts, life, God, and related subjects.


        If the Truth hurts, wear it.

        "sloan" <sloan@ipass.ne twrote in message
        news:%23r15IgH6 GHA.4616@TK2MSF TNGP05.phx.gbl. ..
        >
        microsoft.publi c.dotnet.framew ork.aspnet
        >
        would be a more germane newsgroup.
        >
        >
        >
        >
        "Kenan Kilictepe" <kenan@kilictep e.netwrote in message
        news:%23MAl1ZH6 GHA.4304@TK2MSF TNGP03.phx.gbl. ..
        >How can I use HTTPUtility.Url Decode method in a windows application?
        >Isn`t it possible?
        >VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
        >>
        >Thanks
        >>
        >>
        >
        >

        Comment

        • John Timney \(MVP\)

          #5
          Re: UrlDecode

          Never tried it, but it should just need a reference to System.Web in the
          winforms project.

          string s = System.Web.Http Utility.UrlEnco de("this is a test");


          John Timney (MVP)
          VISIT MY WEBSITE:






          "Kevin Spencer" <uce@ftc.govwro te in message
          news:eY9s5nH6GH A.4064@TK2MSFTN GP03.phx.gbl...
          He's asking about using it in a *Windows* application.
          >
          --
          HTH,
          >
          Kevin Spencer
          Microsoft MVP
          Software Composer
          Thoughts and Ideas about programming, philosophy, science, arts, life, God, and related subjects.

          >
          If the Truth hurts, wear it.
          >
          "sloan" <sloan@ipass.ne twrote in message
          news:%23r15IgH6 GHA.4616@TK2MSF TNGP05.phx.gbl. ..
          >>
          >microsoft.publ ic.dotnet.frame work.aspnet
          >>
          >would be a more germane newsgroup.
          >>
          >>
          >>
          >>
          >"Kenan Kilictepe" <kenan@kilictep e.netwrote in message
          >news:%23MAl1ZH 6GHA.4304@TK2MS FTNGP03.phx.gbl ...
          >>How can I use HTTPUtility.Url Decode method in a windows application?
          >>Isn`t it possible?
          >>VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
          >>>
          >>Thanks
          >>>
          >>>
          >>
          >>
          >
          >

          Comment

          • Kenan Kilictepe

            #6
            Re: UrlDecode

            Thanks.

            "Tom Porterfield" <tpporter@mvps. orgwrote in message
            news:uXrVihH6GH A.3384@TK2MSFTN GP05.phx.gbl...
            Kenan Kilictepe wrote:
            >How can I use HTTPUtility.Url Decode method in a windows application?
            >Isn`t it possible?
            >VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
            >
            Have you added a reference to System.Web.dll to your project? That
            doesn't get added by default for Windows applications so you'll need to
            add it manually. Just right click on the References for the project,
            select Add Reference, select System.Web.dll in the list of .NET
            references. Once that is added you should then be able to use the
            UrlDecode method on the HttpUtility class.
            --
            Tom Porterfield

            Comment

            • sloan

              #7
              Re: UrlDecode

              Doopppppppppp

              You're right. Ooops.


              Yeah. Referencing System.Web.dll should fix it.




              "Kevin Spencer" <uce@ftc.govwro te in message
              news:eY9s5nH6GH A.4064@TK2MSFTN GP03.phx.gbl...
              He's asking about using it in a *Windows* application.
              >
              --
              HTH,
              >
              Kevin Spencer
              Microsoft MVP
              Software Composer
              Thoughts and Ideas about programming, philosophy, science, arts, life, God, and related subjects.

              >
              If the Truth hurts, wear it.
              >
              "sloan" <sloan@ipass.ne twrote in message
              news:%23r15IgH6 GHA.4616@TK2MSF TNGP05.phx.gbl. ..

              microsoft.publi c.dotnet.framew ork.aspnet

              would be a more germane newsgroup.




              "Kenan Kilictepe" <kenan@kilictep e.netwrote in message
              news:%23MAl1ZH6 GHA.4304@TK2MSF TNGP03.phx.gbl. ..
              How can I use HTTPUtility.Url Decode method in a windows application?
              Isn`t it possible?
              VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
              >
              Thanks
              >
              >
              >
              >

              Comment

              Working...