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
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