MapPoint and MSCOMM

pmitch
04-19-2003, 11:52 AM
I am trying to develop a Visual Basic Addin for MapPoint 2002 that incorporates data from the serial port.
I have created a seperate VB app that successfully reads data from the serial port using MSCOMM (i.e. MSComm_OnComm).
I have also developed a working, simple MapPoint app by following the instructions in the MapPoint help file.
The problem is getting MSCOMM to work in the MapPoint app.
I've added in a MSCOMM object to the app which shows up in the code as MSCOMM1_OnComm however it doesn't work.
In my other app MSCOMM1_On_Comm gets called automatically whenever there is activity on the serial port but in the MapPoint app it never seems to get called.
I am fairly new to Visual Basic.
Thanks

Anonymous
12-05-2003, 10:34 AM
[ quote="pmitch"]I AM essayant de développer un Addin de base visuel pour MapPoint 2002 qui incorpore des données de la porte série. J'ai créé un seperate VB APP qui lit avec succès des données de la porte série en utilisant MSCOMM (c.-à-d. MSComm_OnComm). J'ai également développé un fonctionnement, MapPoint simple APP par après les instructions dans le dossier d'aide de MapPoint. Le problème obtient MSCOMM pour fonctionner dans le MapPoint APP. J'ai ajouté dans un objet de MSCOMM au APP qui apparaît dans le code comme MSCOMM1_OnComm cependant que cela ne fonctionne pas. Dans mon autre APP MSCOMM1_On_Comm obtient appelé automatiquement toutes les fois qu'il y a activité sur la porte série mais dans le MapPoint APP il ne semble jamais obtenir appelé. Je suis assez nouveau à de base visuel. Thanks[/quote ] :o :o :D [quote][/quote][quote][/quote][quote][/quote]

 
Web mp2kmag.com
mapforums.com