Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to send data to website without open the browser

how to send data to website without open the browser

Scheduled Pinned Locked Moved C#
databasetutorial
9 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gali1978
    wrote on last edited by
    #1

    i have website that send SMS i need to send any query to this web but i dont want to open the browser i try this: `System.Diagnostics.Process.Start("IExplore.exe", MyWeb + sbXml.ToString());` its work excellent - but it open the website in the browser thanks in advance

    B D D realJSOPR 4 Replies Last reply
    0
    • G Gali1978

      i have website that send SMS i need to send any query to this web but i dont want to open the browser i try this: `System.Diagnostics.Process.Start("IExplore.exe", MyWeb + sbXml.ToString());` its work excellent - but it open the website in the browser thanks in advance

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      Gali1978 wrote:

      i need to send any query to this web but i dont want to open the browser

      Which is purpose of that?!


      I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post. www.cacttus.com

      1 Reply Last reply
      0
      • G Gali1978

        i have website that send SMS i need to send any query to this web but i dont want to open the browser i try this: `System.Diagnostics.Process.Start("IExplore.exe", MyWeb + sbXml.ToString());` its work excellent - but it open the website in the browser thanks in advance

        D Offline
        D Offline
        David1987
        wrote on last edited by
        #3

        What query? An HTTP GET? You could use HttpWebRequest[^]

        G 1 Reply Last reply
        0
        • D David1987

          What query? An HTTP GET? You could use HttpWebRequest[^]

          G Offline
          G Offline
          Gali1978
          wrote on last edited by
          #4

          thanks for the help, i have website that send SMS can i get any sample C# code for how to use HttpWebRequest ? thanks

          A 1 Reply Last reply
          0
          • G Gali1978

            thanks for the help, i have website that send SMS can i get any sample C# code for how to use HttpWebRequest ? thanks

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #5

            HttpWebRequest/Response in a Nutshell - Part 1

            Martin Fowler wrote:

            Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

            S 1 Reply Last reply
            0
            • G Gali1978

              i have website that send SMS i need to send any query to this web but i dont want to open the browser i try this: `System.Diagnostics.Process.Start("IExplore.exe", MyWeb + sbXml.ToString());` its work excellent - but it open the website in the browser thanks in advance

              D Offline
              D Offline
              dongye0622
              wrote on last edited by
              #6

              Hope this information can give you some help http://global.sjzp.com

              1 Reply Last reply
              0
              • A AspDotNetDev

                HttpWebRequest/Response in a Nutshell - Part 1

                Martin Fowler wrote:

                Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

                S Offline
                S Offline
                shd35
                wrote on last edited by
                #7

                that is true but the catch is that u need to write a code that they both understand

                A 1 Reply Last reply
                0
                • S shd35

                  that is true but the catch is that u need to write a code that they both understand

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #8

                  I have no idea what you mean.

                  Martin Fowler wrote:

                  Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

                  1 Reply Last reply
                  0
                  • G Gali1978

                    i have website that send SMS i need to send any query to this web but i dont want to open the browser i try this: `System.Diagnostics.Process.Start("IExplore.exe", MyWeb + sbXml.ToString());` its work excellent - but it open the website in the browser thanks in advance

                    realJSOPR Offline
                    realJSOPR Offline
                    realJSOP
                    wrote on last edited by
                    #9

                    Use HttpWebReuqest. Google is your friend.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups