Link to home
Start Free TrialLog in
Avatar of cantrell
cantrell

asked on

Send data to http

I am using the Microsoft Internet Transfer Control, trying to send data to an http server like you would if you had typed it into a browser (i.e. ConfigureForm.Inet1.URL = "http://www.me.com/register.cgi?name=my test & chr$(38) & email=somebody@somehwhere.com"). However, I have only used the control for ftp transfers. How would I use it to do something like sending data to an http server like the above?

Here is the code I already have...
-------------
Inet1.URL = "http://www.me.com/register.cgi?name=my test & chr$(38) & email=cantrell@trusted.net"

        Do
          DoEvents
        Loop Until Not Inet1.StillExecuting
       
close the connection.    ConfigureForm.Inet1.Execute , "CLOSE"
Avatar of crazyman
crazyman
Flag of United Kingdom of Great Britain and Northern Ireland image

try
dim data as string

strdata=inet1.openurl ("http://www.me.com/register.cgi?name=my test" &                                    chr$(38) & "email=cantrell@trusted.net" )
ASKER CERTIFIED SOLUTION
Avatar of crazyman
crazyman
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oops sorry bout the dodgy double post