VB MSCOMM close port w/o hang-up 
Author Message
 VB MSCOMM close port w/o hang-up

I was wondering if anyone knows how to close the COM port w/o{*filter*}
up the modem after it has already connected.  I'm using the MSCOMM VBX
supplied with VB3 Professional Edition.  I need my program to login to
another computer (responding to a series of prompts and sending
commands), then after it has reached a certain prompt, close the port
(but dont hang-up the modem), run another program with will open the
port and do its thing.  I've got everything done except my program
hangs the modem up everytime i close the port.  Any help/insight would
be greatly appreciated.  If possible please respond via email.

Thanks in advance,
Ojas Patel

Mon, 29 Jun 1998 03:00:00 GMT  
 VB MSCOMM close port w/o hang-up
Hi Ojas!

I dont't know much about the hardware of modems or com ports, but I am
sure that
that what you want to do cannot work. If two modems are connected, one
modem must
registry the "carrier detect tone" of the other modem all the time, but If
you cut the
connection between your computer and the modem, there is no reason for
your modem
to send "carrier detect tone" anymore, because it thinks it is not in use
by your computer. This is only a theory, so don't think I am a wise
cracker, please!



Thu, 02 Jul 1998 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. VB and COM ports and mscomm.vbx and hung PCs

2. Close MSCOMM port may hang PC ??? How does CLOSE file work ???

3. Closing Comm Port with Sportster 28.8K (MSCOMM)

4. Closing Comm Port with Sportster 28.8 (MSCOMM)

5. Closing Comm Port with Sportster (MSCOMM)

6. MSComm: Closing the port after data received

7. Outlook Hang ups

8. Visual Voice and Hang-ups

9. OS port close inaddition to Winsock port close

10. MSComm hangs computer? (VB 3.0, 4.0)

11. MSComm hangs computer? (VB 3.0, 4.0)

12. Closing MSCOMM w/o breaking connection? / how does mscomm close port?


Powered by phpBB® Forum Software