Solved

Insert Serial Port Data using the MSCOMM control

Posted on 2007-03-19
4
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

749 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