Teen Programmers Unite  
 

 

Return to forum top

vb internet and dialing

Posted by VBNut089 [send private reply] at May 11, 2001, 09:24:22 PM

how do I connect to the internet and dial phone #'s in vb 5.0? I forgot :(

Posted by taubz [send private reply] at May 13, 2001, 10:40:09 AM

Well, there's certainly no "ConnectToInternet" command... To dial a phone #, you can use the Comm control, but that won't help you get to the internet. If you're already connected, you can use the MS Winsock control to connect to web sites, but that won't dial numbers for you (unless Windows is set up to ask you to dial when you try to connect to a web site or something). To have VB launch Dial Up Networking so you can connect to your ISP, you'd probably need to use API (no doubt needlessly complicated).

- taubz

Posted by Psion [send private reply] at May 13, 2001, 10:59:53 AM

Please try to refrain from insinuating that "API" means "the Windows API." It confuses a lot of new programmers. :-)

Posted by lordaerom [send private reply] at May 13, 2001, 12:21:44 PM

Not that I've done any testing, but does RasDial and friends look right?

Posted by taubz [send private reply] at May 13, 2001, 05:15:22 PM

Sowwy... but it is *the* API from VB....

- taubz

Posted by Psion [send private reply] at May 13, 2001, 05:33:14 PM

API is an abstract term for an interface to software. The outer appearance of any library/whatever can be called such.

Posted by lordaerom [send private reply] at May 14, 2001, 07:33:09 PM

If I lived my life making sure stupid people didn't misunderstand what I was saying, I'd never get to fuck any nuns!

Posted by gian [send private reply] at May 14, 2001, 11:09:31 PM

You don't seem to have fully understood me...

Posted by taubz [send private reply] at May 16, 2001, 04:09:03 PM

::wonders where gian came from::

Posted by gian [send private reply] at May 17, 2001, 12:24:17 AM

gian wonders whether or not that joke was too obscure...

Posted by VBNut089 [send private reply] at July 13, 2001, 11:03:48 PM

::vbnut089 rolls his eyes::

Posted by nt543 [send private reply] at August 17, 2001, 01:02:18 PM

If you have up-to-date VB libraries, you can use this Internet Explorer funtion:
DWORD InternetDial(HWND hWndParent, LPSTR connection_name, DWORD dwFlags, LPDWORD connection_id, DWORD dwReserved)
to make the Internet connection dialog appear.
See the API help for details (it should have come with your compiler)

Posted by taubz [send private reply] at August 17, 2001, 09:45:33 PM

Can we make month-old threads dissapear by default?

Posted by eternaldisciple [send private reply] at August 17, 2001, 10:38:39 PM

It's just the new people. They just look for things they know about so that they can start off well. Too bad they don't look at the dates. They get me all excited that one of the more recent flame wars is adding another chapter and it turns out it's just some newcomer who wants to feel special. ::sigh:: Oh well.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.