Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disconnecting from RAS with Visual Foxpro 5
Message
From
20/10/1997 10:34:39
 
 
To
17/09/1997 08:44:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00050358
Message ID:
00055515
Views:
27
>Take a look to RASHangUp() Win32 API function. I think this is what you're looking for. > >Vlad > >>I have finally managed to create a program that allows me to establish a RAS connection from one server to another, but what I want to do know is to automatically disconnect from the RAS dial up network. The reason is that I work For The National Centre For Cosmetic Surgery in Birmingham and what I want to do is to connect to more of our branches/servers together so that we can automaticaly transfer information over from one branch to another but the problem I'm having that once the information has been transferred I want the program to disconnect the RAS connection automatically.
Hi Paul
Thanks for the solution, It worked like a dream. The problem I am having now is that after connecting and disconnecting a couple of time Windows Nt starts giving you error stating that the com1 port is still open. You mentioned in your previous message some thing about a 'sleep' command that is used to reset the com port. Please could you tell me what parameters I have to type up to get this feature to work.

Have a nice day
Glen Stone
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform