Solved

Insert Serial Port Data using the MSCOMM control

Posted on 2007-03-19
4
519 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

739 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