
Connect to Internet via VB
Quote:
>Hi,
> I am developing a VB application to access information using INET
>control. I have the following questions:
>(1) How do I tell in VB if Internet connection is on?
>(2) If Internet connection is off, how do connect to Internet using VB?
>(3) After connection is made, how do I get IP address via VB?
>As you can see, I am pretty clueless with using VB to make Internet
>connection. I will appreciate any suggestions.
We have a RAS dialer control as part of our freeware SocketWrench
package, which you can download from our site at
http://www.catalyst.com. Using the control, you can enumerate the
available connectoids, specify alternate phone numbers, usernames and
passwords, etc. The DIALER sample that's included will demonstrate the
basics of establishing and monitoring the connection, and you should
find it easy to modify from there.
We also have a free utility for optimizing dial-up networking
connections. It'll allow you to change the configuration of the
Microsoft stack to give you better performance over the Internet. The
software, and a discussion of how it works, is available from the
SocketTips section of our site.
David