The chunk length was not valid

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?
 
M

Markus Posch

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)
 
Y

Young Cho

..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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top