Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP command to hang up the modem
Message
From
10/03/1998 11:02:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083564
Message ID:
00083639
Views:
43
Sorry don't know how to do if another app opened the commport.
Cetin
>Thanks for the reply.
>
>My first question was not clear. Here is the problem
>
>The computer is already connected to the internet, i need is a command that will disconnect it.
>
>MS Comm and fputs doesn't work if there is already a connection.
>
>Sincerely,
>
>Alvin Lu
>prosoft@netasia.net
>
>>>Is there a VFp command to hang up a modem?
>>>
>>>TIA
>>Send "ATH" to the port.
>>-If you have opened the port via MScomm control :
>>.Output = "ATH" + Chr(13)
>>-If with a lowlevel function :
>>nRetVal=fputs(handle,"ATH")
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform