M
Markus Posch
hy!
i want to get a massage from dbase in a vb-project.
wenn i show the html made by dbase in a browser it works but in vb i got the
error:
The chunk length was not valid.
my source:
Dim viewer As New OpenNETCF.Windows.Forms.HTMLViewer
Dim reader As StreamReader
Dim Text As String
Dim Text2 As String
Dim request As WebRequest
Dim response As WebResponse
MsgBox("variablen deklariert")
viewer.ParentForm = Me
viewer.CreateHTMLControl()
viewer.DisplayText("http://my-pc/cgi-bin/cgitest.exe?var1=test1&var2=test2")
request =
WebRequest.Create("http://my-pc/cgi-bin/cgitest.exe?var1=test1&var2=test2")
response = request.GetResponse()
reader = New StreamReader(response.GetResponseStream())
Text = reader.ReadToEnd()
MsgBox(Text)
what is wrong?
i want to get a massage from dbase in a vb-project.
wenn i show the html made by dbase in a browser it works but in vb i got the
error:
The chunk length was not valid.
my source:
Dim viewer As New OpenNETCF.Windows.Forms.HTMLViewer
Dim reader As StreamReader
Dim Text As String
Dim Text2 As String
Dim request As WebRequest
Dim response As WebResponse
MsgBox("variablen deklariert")
viewer.ParentForm = Me
viewer.CreateHTMLControl()
viewer.DisplayText("http://my-pc/cgi-bin/cgitest.exe?var1=test1&var2=test2")
request =
WebRequest.Create("http://my-pc/cgi-bin/cgitest.exe?var1=test1&var2=test2")
response = request.GetResponse()
reader = New StreamReader(response.GetResponseStream())
Text = reader.ReadToEnd()
MsgBox(Text)
what is wrong?