Solved

Insert Serial Port Data using the MSCOMM control

Posted on 2007-03-19
4
513 Views
Last Modified: 2013-11-27
I need to create a procedure in Access to read GPS data from COM4.  I think that using the mscomm control offers the best chance of success, but I have never worked with it before.  Can anyone point me in the right direction to start writing the code.
0
Comment
Question by:AaronGreene1906
4 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 18756412
There's not much written on using this control with Access, but lots with Visual Basic. The syntax should basically be the same, the only difference being that you must often refer to the .Object property of the Activex control:

Me.acxComm.Object.<someproperty>

The easiest way is to set a variable to an instance of the control and use that:

Dim ctl As MSCOMM.Control <or whatever library you need>
Set ctl = Me.YourControl.Object

Now you can use Intellisense ...

Here's a link to a site that may be useful:
http://www.ontrak.net/visual.htm
0
 

Author Comment

by:AaronGreene1906
ID: 18813398
I'm just ranting, but I've been looking into this for a while, and I have found very little on the subject.  Using MS-Access to store GPS data seems like a "no brainer", but there seems to be very little information on  the subject.  Is there a reason for this?  All of the information that I have found refers to a third party software to act as a bridge between the GPS reciever and Access.  I don't have a problem using a third party app, but I'd like to know if I'm going down the wrong path in thinking that Access and GPS should be a natural fit.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now