The chunk length was not valid

  • Thread starter Thread starter Markus Posch
  • Start date Start date
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?
 
thx for your answer.
i don´t find any download for cf sp2
every link i found is linked with microsoft and doesn´t work

greets
markus
(sorry my english is not very good)
 
..Net CF SP 2 is in beta. It is supposed to be released before the end of
the year. If you want to sign up for the beta and use it before the
release, search the archives for information on signing up for the beta
program.

Young.
 
Back
Top