Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comm Ports access

Status
Not open for further replies.

VLG711

Technical User
May 30, 2001
95
US
Does any one know if it is possible at access comm ports using VBA. I would like to use the MSComm1 object in my database but I can't seem to find the correct library. I dont know much about VBA and any help would be appreciated

Thanks in advance

KGG_DRS
 
You need to drop the MSComm active X control onto your form. Then it's objects and methods will be available through code.

I have a demo that I did in Access97 a few years ago on my site at "The Key, The Whole Key, and Nothing But The Key, So Help Me Codd!"
 
You'll only have the MSComm object available to you if you have at least the Professional Edition of Visual Basic installed. I don't believe the control comes with any version of Office. If it's on your system it'll be called MSCOMM32.OCX, find/install that control and make sure it's registered, and it should become available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top