Welcome Guest.
Not a member yet? Why not sign up today and start posting on our forums.
button click to send HTTP command
#1

Hi,
I wanna build a simple program with buttons that sends HTTP command without opening a browser.

for example i want to send this:
http://192.168.14.74/cgi-bin/aw_cam?cmd=DTTB:1&res=1
when i click a button.

i have tried to use this code:
(Toggle Plain Text)
private void button1_Click(object sender, EventArgs e)
{
   // Launch browser to facebook...
   System.Diagnostics.Process.Start("http://192.168.14.74/cgi-bin/aw_cam?cmd=DTTB:1&res=1");
}
the button works but it open a web browser every time i click it.
Is there ant solution for that?