Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM32
Message
De
09/02/2001 02:12:38
 
 
À
09/02/2001 01:11:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00473817
Message ID:
00474331
Vues:
23
>I tried all. I didn't wright but first command was to specify port. I also tried ATDT 123123 but without success.
>
>I'll try with documentation but what is going on when I install program on a client side with different modems? Does have I wright procedure for every type of a modem? It's poor solution isn't it?

MSCOMM is not designed as a general modem-based interface - it's a low-level comm port handler, with no concept of a modem, dialing, connecting, etc. You might want to investigate using TAPI, either via the API or through one of several commercial third-party TAPI ActiveX controls. TAPI does understand the modem issues, it works with the current modem configuration information detailed in the registry, including dialing prefixes, area code handling and the like, and as a result, directly addresses the issue of different modem behaviors. While TAPI controls don't ship with VFP, the API services work just fine (your end-user must properly install their modem under Windows, including the TAPI drivers, but doing this also avoids your app having to make adjustments based on their install, and also will handle safely running multiple routines working with the modem - eg fax software, remote control products, internet connections via dial-up networking, that might compete for teh modem, or demanding different initialization from the modem function, or that might otherwise interfere with your app's modem use.

Using the correct API should make your work easier, but does require the user to set up their system properly, where MSCOMM could let you work where the system isn't properly configured for TAPI. OTOH, TAPI offers a common configuration routine, hardware independence and improved coexistance with apps also using the modem, in a standard fashion native to Windows.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform