Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[DEMO] RAS/WinInet Exercise

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> Internet Programming
View previous topic :: View next topic  
Author Message
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 797

PostPosted: Jan 14th, 2007, 9:27am    Post subject: [DEMO] RAS/WinInet Exercise Reply with quote

This is a small exercise of the RAS and WinInet APIs for those of you still with dial-up connections.

It enumerates all dial-up connections, then allows you to connect to the Internet and disconnect.



RasExercise.zip
 Description:

Download
 Filename:  RasExercise.zip
 Filesize:  1.77 KB
 Downloaded:  123 Time(s)


_________________
Brent
Back to top
View user's profile Send private message Send e-mail
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 797

PostPosted: Jan 15th, 2007, 9:32pm    Post subject: Re: [DEMO] RAS/WinInet Exercise Reply with quote

One thing of note to add. I noticed that a connection established using the posted code will cause a window to pop up every so often (~15 mins.) asking if I want to stay online. This may be a side effect of the flag I used in the call to InternetDial which forces itself online without a prompt.

Also, there's a small bug in Function RasEnumEntries that doesn't affect the demo. The line
Code:
Phonebook$ As Long, _
should be changed to
Code:
Phonebook$ As Ptr, _

_________________
Brent
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> Internet Programming All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group