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. Inet in C# ?

Inet in C# ?

Scheduled Pinned Locked Moved C#
questioncsharphtml
7 Posts 4 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.
  • Y Offline
    Y Offline
    youssef
    wrote on last edited by
    #1

    Hi, How can I use this command in C# ? Inet.Execute "http://200.100.100.100/econtrol.html", "POST", "P1=t" Best Regrads youssef

    E N S Y 4 Replies Last reply
    0
    • Y youssef

      Hi, How can I use this command in C# ? Inet.Execute "http://200.100.100.100/econtrol.html", "POST", "P1=t" Best Regrads youssef

      E Offline
      E Offline
      eggie5
      wrote on last edited by
      #2

      What's Inet? /\ |_ E X E GG

      Y 1 Reply Last reply
      0
      • Y youssef

        Hi, How can I use this command in C# ? Inet.Execute "http://200.100.100.100/econtrol.html", "POST", "P1=t" Best Regrads youssef

        N Offline
        N Offline
        Nnamdi Onyeyiri
        wrote on last edited by
        #3

        Using the HttpWebRequest and HttpWebResponse classes.


        website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

        Y 1 Reply Last reply
        0
        • E eggie5

          What's Inet? /\ |_ E X E GG

          Y Offline
          Y Offline
          youssef
          wrote on last edited by
          #4

          Inet is a component in VB6 for communicate in HTTP, FTP, HTTPS. I receive this command in a VB6 project and me I working in c++ or c# Can you help me for translate this command in C# or C++ ? Best Regards youssef

          1 Reply Last reply
          0
          • N Nnamdi Onyeyiri

            Using the HttpWebRequest and HttpWebResponse classes.


            website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri

            Y Offline
            Y Offline
            youssef
            wrote on last edited by
            #5

            Thanks a lot youssef

            1 Reply Last reply
            0
            • Y youssef

              Hi, How can I use this command in C# ? Inet.Execute "http://200.100.100.100/econtrol.html", "POST", "P1=t" Best Regrads youssef

              S Offline
              S Offline
              Salil Khedkar
              wrote on last edited by
              #6

              If you don't want to go the programatic way and if this inet thingie is an exe which accepts command line params: System.Diagnostics.Process.Start(@"C:\Path\inet.exe", @"http://200.100.100.100/econtrol.html POST P1=t"); ;)

              1 Reply Last reply
              0
              • Y youssef

                Hi, How can I use this command in C# ? Inet.Execute "http://200.100.100.100/econtrol.html", "POST", "P1=t" Best Regrads youssef

                Y Offline
                Y Offline
                youssef
                wrote on last edited by
                #7

                Why this code doesn't working ? Is it correct ? using system.net; System.Net.WebRequest req = null; System.Net.WebResponse rsp = null; try { req = System.Net.WebRequest.Create("http://200.100.100.100/econtrol.html?P8=t"); req.Method = "POST"; req.Timeout = 5000; } catch (Exception ex2) { string sErr = "Cannot connect to Internet. " + ex2.Message; } youssef

                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