Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet and VB6

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
Hello all,

I'm planning two features in the application that I make:

1. When my application is opened, I would like to check (automatically) if its version is updated. This checking will communicate with my web server, get an answer and so forth.

2. Similarly, I would like to check automatically the license validation by communicating with my server.

What is best considered to this scenario? What controls should I use? Is winsock is good or may there are better ways to do it?

Thanks in advance!
 
Rather than spending time trying to get HTTP working reliably via a Winsock control you might consider the INet control, the XMLHTTPRequest or ServerXMLHTTPRequest objects, or VB's built in AsyncRead method.

For simple HTTP GET requests I tend to choose AsyncRead these days. It can return the response to you as either a byte array or a temporary file.
 
Oops!

Glad I didn't say anything about the HTTP support built into ADO objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top