forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DialUp / Internet connection (How to make an auto dialer)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Sat Jul 19, 2003 12:31 pm    Post subject: DialUp / Internet connection (How to make an auto dialer) Reply with quote

Hi,

Im trying to make a program that can connect the default internet connection when ever it detects that no internet connection is present.
It also need a way to detect a connect thats still connected but it dead.

So far I have managed to check if its online by using vdsinet.dll and the http command. It gets the header info from a site like google and if it is sucessful then its online.

Now my problem, I cant seem to find a way to dial the default connection or detect a dead one.

Also the program and dlls must work under XP.
Is there an api command for dialing default connections or some other non dll way?

Thank you
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Jul 19, 2003 9:43 pm    Post subject: Reply with quote

I don't know, but if you do decide to use a DLL you can use the VDSRAS.DLL Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Jul 20, 2003 3:10 am    Post subject: Reply with quote

You can use the RasDial API function in kernel32.dll.
You can also get much more information on related functions too - refer W32.hlp file.If U dont have one refer the resources section of this forum.

Just to inform you - it's going to be a little difficult unless U have worked with API's in VDS before or atleast in VB (things are similar to an extent).

If i get time i might write an example.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Mon Jul 21, 2003 11:25 pm    Post subject: Reply with quote

Thank you, for that I shall check out the API route.
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 21, 2003 11:52 pm    Post subject: Reply with quote

CodeScript wrote:
You can use the RasDial API function in kernel32.dll.


WIN32.HLP says it's in rasapi32.dll Confused Just wondering... Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Jul 22, 2003 1:36 am    Post subject: Reply with quote

It is, CodeScript was drinking Wink
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Jul 22, 2003 3:49 am    Post subject: Reply with quote

Yeah but only water(H2O) Wink . I just said it off hand Embarassed without refering.
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jul 22, 2003 11:16 am    Post subject: Reply with quote

It's okay, I wouldn't have any clue off-hand. Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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 can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group