Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: KASSEM NASSER
  Where is KASSEM NASSER?
 JEDDAH
 Saudi Arabia
 KASSEM NASSER
 Tags
Subject: Intrenet Dial Up
Thread ID: 189418 Message ID: 189418 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Win32API programming
Date: Thursday, August 14, 2008 8:40:17 PM         
   


Hello Friends, I am using a function to auto dial up internet (which i got from foxite). The routine is :

Declare Integer InternetAutodial In wininet.Dll;
INTEGER dwFlags, Integer dwReserved


FUNCTION INternet_function
parameters MODE
#DEFINE INTERNET_AUTODIAL_FORCE_ONLINE      1
#DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED  2
Local X
&& MODE : 1 = MANUAL ; 2 = AUTO  ; 3 = HANGUP(DISCONNECT)
Do Case
   Case MODE=1
      X= InternetAutodial (INTERNET_AUTODIAL_FORCE_ONLINE, 0)
   Case MODE=2
      X=InternetAutodial (INTERNET_AUTODIAL_FORCE_UNATTENDED, 0)
   Case  MODE=3
      X=InternetAutodialHangup(0)
Endcase
return(x
)

It is working OK. I wounder is there a way to dial up internet without creating any connection in the network connection ?

Thanks

Kassem

ENTIRE THREAD

Intrenet Dial Up Posted by KASSEM NASSER @ 8/14/2008 8:40:17 PM
RE: Intrenet Dial Up Posted by Koen Piller @ 8/15/2008 12:23:01 AM
RE: Intrenet Dial Up Posted by Yousfi Benameur @ 8/15/2008 1:42:22 AM
RE: Intrenet Dial Up Posted by KASSEM NASSER @ 8/16/2008 10:14:48 AM
RE: Intrenet Dial Up Posted by Yousfi Benameur @ 8/16/2008 3:44:04 PM
RE: Intrenet Dial Up Posted by KASSEM NASSER @ 8/17/2008 9:02:22 PM
RE: Intrenet Dial Up Posted by Yousfi Benameur @ 8/17/2008 11:19:54 PM