post data via inet

  • Thread starter Thread starter QT
  • Start date Start date
Q

QT

Dear Sirs,

I was posting data via inet with vb 6 but after updating vb.net I can not
post my data,

I am trying to send following data to one URL
"u=test&p=soku"

I was using following text to convert data;
aPostData = StrConv(strBody, vbFromUnicode)

After uptading vb.net, it change my string as;
aPostData = System.Text.UnicodeEncoding.Unicode.GetBytes(StrConv(PostData,
VbStrConv.None))

But it is not working, what should I do?

Best Regards
 
Hi QT

Some questions:

How are PostData and aPostData declared?
What data do you have in them?

What error do you get? Compiler or run-time? What's the message?

Regards,
Fergus
 
Back
Top