Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Insert Serial Port Data using the MSCOMM control

Posted on 2007-03-19
4
Medium Priority
?
521 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 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

670 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