Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi site connection
Message
From
30/11/2000 03:38:34
 
 
To
29/11/2000 22:43:31
Stanley Yip
Shun Sang (technology) ltd Hong Kong
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00446577
Message ID:
00447226
Views:
10
>but I can't maintance a connection in the whole day !
>so I need to connect it and sent the data by batch! ( use as demanding )
>so is it possible of doing this by VPN ?

If you've set up RAS (or a VPN) to make a connection by a dial-up connection, then trying to reference the remote resource will trigger a connection to the WAN; all VFP needs to do is request a connection using something like WNetAddConnection2() and assuming that Windows knows how to connect to the referenced address, VFP is finished - it doesn't have to handle making a dial-up connection or routing through a LAN - it passes an address to Windows, and Windows decides what needs to be done to make the connection.

If you want to do something other than provide basic file access across a network, then VFP might need to get involved; it's RAS, with or without VPN, that manages the connection. You can use something like PCAnywhere if RAS is too confusing.

>How Viusal foxpro can call the window to make a connection to the internet ?
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