• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

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"
0
cantrell
Asked:
cantrell
  • 3
1 Solution
 
crazymanCommented:
try
dim data as string

strdata=inet1.openurl ("http://www.me.com/register.cgi?name=my test" &                                    chr$(38) & "email=cantrell@trusted.net" )
0
 
crazymanCommented:
try
dim strdata as string

strdata=inet1.openurl ("http://www.me.com/register.cgi?name=my test" &                                    chr$(38) & "email=cantrell@trusted.net" )
0
 
crazymanCommented:
oops sorry bout the dodgy double post
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now