The followingcode runs properly on the device but gets a timeout on the desktop.
If I run it under debug (on the desktop) it gets a timeout (without sending out any http request) but if I set debug run going a second time, it works fine.
Nick
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
URL="http://www.google.com"
webresp1.New1
webreq1.New1(URL)
webresp1.Value = webreq1.GetResponse
string1 = webresp1.GetString
webresp1.Close
Textbox1.Text = string1
End Sub
If I run it under debug (on the desktop) it gets a timeout (without sending out any http request) but if I set debug run going a second time, it works fine.
Nick
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
URL="http://www.google.com"
webresp1.New1
webreq1.New1(URL)
webresp1.Value = webreq1.GetResponse
string1 = webresp1.GetString
webresp1.Close
Textbox1.Text = string1
End Sub