Newsgroup: it.comp.lang.visual-basic
Titolo: Help gestione modem

Non riesco a monitorare il rilevamento della portante del modem in
modo trasparente, ossia senza occupare la seriale con il mio programma
e lasciarla libera per la connessione remota. Qualcuno puň aiutarmi?
Grazie. Possibilmente rispondetemi in casella postale
Alberto
be...@pn.itnet.it

Grazie. Possibilmente rispondetemi in casella postale
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
 -----------Federico Emanuele Galli----------
 ----------Visual Basic's Programmer---------
 
 Sideralis Programs (Visual-Basic and Delphi)
 
http://www.geocities.com/colosseum/loge/2151
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
                 Trust no ONE.
Per rispondermi via E-Mail togli STOPSPAMMERS.
Guarda la RFD per it.comp.prog.collaborazione !

Ma cosa se ne fara' la gente di tutti questi contascatti ? Mha...
  Secondo te che ci fanno? :-)
  Ciao :-)
  Massimo
  Nell'indirizzo, sostituire DIESPAMMERS con MC1258
  In the address, replace DIESPAMMERS with MC1258

non puoi neppure dargli torto. :-)
SI, sarebbe interessante vedere come si fa, perche si puo' fare, io ho
qui un programma in VB5 che lo fa...
Ciao.



Mi e' venuta un'idea che potrebbe portare alla soluzione...(per i modem,
almeno)
Ma non ve la dico!!!!!!!!!
No, scherzo...
Le operazioni del modem vengono LOGgate sul file MODEMDET.LOG nella
directory Windows...
Non e' che leggendo da li'....no?
--
Roal Zanazzi
z...@iol.it

>qui un programma in VB5 che lo fa...
Io lo faccio con una DLL, se vi interessa la mettiamo sul sito comune,
intanto vi incollo qui sotto la descrizione originale.
***** INIZIO *****
Win95io, Version 1.01
Copyright (c) 1996-97 SoftCircuits Programming (R)
Redistributed by Permission.
Win95io.DLL is a 32-bit DLL that provides access to port input/output
(I/O) under Windows 95. It was written for use with 32-bit Visual
Basic since Visual Basic does not have I/O instructions. Note that,
due to the Win32 architecture, the DLL may not always behave exactly
as expected. This DLL is documented in more detail below.
This package may be distributed on the condition that it is
distributed in full and unchanged, and that no fee is charged for
such distribution with the exception of reasonable shipping and media
charges. The DLL may also be distributed with any programs you write
that use this DLL on the condition that you do not hold SoftCircuits
liable for any liabilities incurred as a result of such programs. In
addition, source code from any examples included with this package
may be incorporated into your own programs and the resulting programs
may be distributed in compiled form without payment of royalties.
SoftCircuits provides this software "as is" with no warranty of any
kind. We have attempted to provide software that may be useful and
attempted to describe those situations where we believe it is not be
useful. SoftCircuits makes no other claims with regards to this
software including claims that this documentation is accurate. Use
this software and documentation at your own risk.
This example program was provided by:
 SoftCircuits Programming
 
http://www.softcircuits.com
 P.O. Box 16262
 Irvine, CA 92623
====================================================================
While DOS and Windows 3.x applications may perform port I/O freely,
Win32 operating systems assume that port I/O is handled by device
drivers. As discussed in Microsoft KB article Q112298, attempting to
use the port I/O functions from within an application for Windows NT
running in user mode causes a privileged instruction exception to
occur. Although Windows 95 takes a similar approach, port access
under Windows 95 does NOT cause a protection fault. Thus the reason
for writing this DLL.
Although port access under Windows 95 does not cause a protection
fault, it may not always perform as expected. For example, if a DOS
application is accessing the same port, or a device driver has
control of the same port then a port read or write may be ignored.
Further, if you write a 32-bit application that uses this DLL, care
must be taken to prevent it from running under NT.
Declarations:
-------------
Declare Sub vbOut Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As
Integer)
Declare Sub vbOutw Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As
Integer)
Declare Function vbInp Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer
Declare Function vbInpw Lib "WIN95IO.DLL" (ByVal nPort As Integer) As
Integer
***** FINE ****
Ciao
--
Andrea :-{)
acm...@hotmail.com
==========================================================
Ci tieni a fare la figura dell' incompetente su Usenet?
No? Allora leggi 
http://beatles.cselt.it/news-it/FAQ.html
Conosci bene i manifesti dei NG su cui posti?
Li trovi su 
http://beatles.cselt.it/news-it/gruppi-it.html
==========================================================

 
Visto che chiedono MOLTO spesso di accedere alle porte con il VB,
direi che se me lo posti, lo piazzo sul Sito Comune.
Salutoni,
-- 
Hi, Ciao
Ettore                 By -MES-
http://freeweb.aspide.it/freeweb/ilmes
Il sito comune di programmatori VB
http://members.xoom.com/it_lang_vb

intanto vi incollo qui sotto la descrizione originale.
  Interessante. ;-| (faccina di Spock che inarca il sopracciglio)
