I have a system running a VB5 program, that deposits a sequential file to a remote server over a VPN. The OS is XP SP2. We map the remote drive at system startup. The problem is that the VPN will drop offline, sometimes for hours. The VPN is from another vendor, so I can't touch it. We can detect in VB that the network drive is gone, and store the data until the VPN comes back up. The problem is that when the VPN dies, XP declares the remote drive invalid, and continues to do so until the system is restarted. Can you shell from VB and re-map the drive without causing problems? Or is there a better way?
I know VB very well but mostly program Industrial control applications and know just enough about networks to be dangerous. Thanks.
2007-02-15
10:40:19
·
3 answers
·
asked by
steve.c_50
6
in
Computers & Internet
➔ Programming & Design