Jump to content

winhttp com example in help file


Recommended Posts

OK one more on this subject

Why would something like this

$oHTTP = ObjCreate("winhttp.winhttprequest.5")

$oHTTP.Open

Do something differently then this

$oHTTP = ObjCreate("winhttp.winhttprequest")

$oHTTP.5.Open

or this

$oHTTP = ObjCreate("winhttp.winhttprequest.5.Open")

To me it all looks like it should do the same thing, after a ton of reading the only thing I can think of for the . is that its like a / in a directory name.

Maybe I have the whole concept wrong.

Link to comment
Share on other sites

becuze you need more then only the open() command

$httpObj = ObjCreate("winhttp.winhttprequest.5.1")
$httpObj.open("GET",$URL)
$httpObj.send()

$HTMLSource = $httpObj.Responsetext

so this would be the smallest i think

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...