Quantcast

Jump to content


Photo

Help with vb


  • Please log in to reply
1 reply to this topic

#1 xXx$keetchxXx

xXx$keetchxXx
  • 120 posts

Posted 20 August 2004 - 07:36 AM

ok. can sum1 please tell me how to use inet or winsock or any type of internet programming in vb?!? I have read numerous tutorials, including the one in this forum, and I always get the same error message. I will post the exact message in a few min.

Inet.Execute http://www.neopets.com, "POST", "var1=hi&bla=1", "Referer: http://www.neopets.com" & vbCrLf & "Content-Type: application/x-www-form-urlencoded" & vbCrLf & "Accept-Language: en-us" & vbCrLf & "Accept-Encoding: gzip, deflate" & vbCrLf & "User-Agent: Mozilla/4.0 (compatiable; MSIE 6.0; Windows NT 5.1; yie6; .NET CLR 1.0.3705)"
EDIT: attached the error and code

Attached Files


Edited by xXx$keetchxXx, 20 August 2004 - 07:50 AM.


#2 Cataliste

Cataliste
  • Codex's Right Hand

  • 4662 posts


Users Awards

Posted 20 August 2004 - 01:03 PM

thuis is wut I use:

txtHTML2 = Empty
Inet2.Execute "http://neopets.com/g...anuevavu.phtml", "POST", "&type=play&action=shuffle&dealer=" & txtDealer.Text & "", "Referer: [url="http://neopets.com/games/tyranuevavu.phtml""]http://neopets.com/games/tyranuevavu.phtml"[/url] & vbCrLf & "Content-Type: application/x-www-form-urlencoded" & vbCrLf & "Accept-Language: en-us" & vbCrLf & "Accept-Encoding: gzip, deflate" & vbCrLf & "User-Agent: Mozilla/4.0 (compatiable; MSIE 6.0; Windows NT 5.1; yie6; .NET CLR 1.0.3705)"
Do Until txtHTML2 <> Empty
DoEvents
Loop




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users