Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP make W2K DUN connect and hang up?
Message
From
07/11/2002 10:12:24
 
 
To
07/11/2002 09:45:05
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00719776
Message ID:
00719786
Views:
20
>I am writing a simple VFP program to transfer a file over the internet. I have everything working except my client uses a modem to connect to the internet. Is there anyway I can use VFP to instruct dial up networking to connect and then disconnect when done? I know I can use VFP to load internet explorer, and if set to dial everytime this would connect to the internet. And then I could use idle settings to force a disconnect after say an hour. But is there a more elegant way to do this? In some cases, after checking file dates, I would like to force a disconnect after like 2 minutes. My client is running Windows 2000 SP3 and I am using VFP 6 SP5. Thanks in advance for any help!
>

I'd suggest using a product such as PCAnywhere, which, in its current version, contains both a scripting language and an automation model that could handle your requirements quite well. It'd almost certainly cost less than the cost of the amount of time you spend beating your head on the wall, and the cost of icepacks and bandages...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform