I have not done this, so I can't give specifics. However, you can use the WinInet DLL to do this. It has functions that allow you to do GET and POST operations to a web server. Probably what you want to do is a POST operation - posting a set of data back to a specific page on the server.
This was first published in March 2001