Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Connecting to the Internet


Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2001, 12:43 PM
CodeDemon
Guest
 
Posts: n/a
Question Connecting to the Internet


Does anyone know how to check if there is an internet connection open in a vb application, and how to open one if it is not already open???

Reply With Quote
  #2  
Old 10-14-2001, 12:46 PM
orufet's Avatar
orufet orufet is offline
Paranoid Coder

Retired Leader
 
Join Date: Mar 2001
Location: Canada
Posts: 2,716
Default Re: Connecting to the Internet

Reply With Quote
  #3  
Old 10-14-2001, 12:53 PM
CodeDemon
Guest
 
Posts: n/a
Smile Re: Connecting to the Internet

Thanks!

I'm sure this stuff will help.


Reply With Quote
  #4  
Old 10-14-2001, 03:28 PM
Squirm's Avatar
Squirm Squirm is offline
Political Coder

Retired Moderator
* Guru *
 
Join Date: Mar 2001
Location: London, England
Posts: 8,037
Default Re: Connecting to the Internet

I'm not sure about detecting a dialup (regular phone line) connection, but I do know how to MAKE one....

Attatched is a zip which contains a module. Add that to your standard project and call the sub DialUp, with the parameters you need:

ISP - name of ISP - eg "BT Internet"
Username - your ISP username - eg "john@isp.com"
Password - your ISP password - eg "hellodad"
PhoneNo - the number of the ISP dialup - eg "01234 567 890"

You call it with these parameters/arguments, and it returns a boolean (true/false) value..

EDIT --> I didnt write this all myself, infact only the DialUp function that encapsulates everything is mine. I forget where I got the original code from.....
__________________
Search the forums | Use [vb][/vb] tags | Still IRCing
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->