473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

MSCOMM32 Checking if Installed.

9
Hi,

Would anyone have any ideas on checking if the MSCOMM32.OCX component is installed when running my access application.

The Access runtime falls over if this is not installed but the full version of access still allows the app to run.

I would ideally like some way of checking the system when the application starts and bringing an error if it cannot find the MSCOMM32.OCX file.

Any help is appreciated.
Thanks
Oct 22 '07 #1
1 2424
FishVal
2,653 Expert 2GB
Hi, sajuk.

You may use Access.References object to check whether the db has missing reference. Smthng like:
Expand|Select|Wrap|Line Numbers
  1. Public Function HasBrokenRef() As Boolean
  2.  
  3.     For Each ref In Access.References
  4.         If ref.IsBroken Then HasBrokenRef = True
  5.     Next
  6.  
  7. End Function
  8.  
Oct 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tom Hill | last post by:
I am having trouble using MSComm32.OCX in my VB6 application. When I attempt to use the set command to create the comm object, like this: Dim MSComm1 As Object Set MSComm1 =...
3
by: Paul Clark | last post by:
Hello, I wonder if anyone can help me. We have moved over to VS.NET 2003 from evb and I am climbing a very steep learning curve as quick as possible, (the migration path has not been made...
2
by: eray | last post by:
hi ; at the C# compiler using a MSCOMM32.ocx project, when i want to install this project on the pc which is not installed visual basic says "there is no licence". for solving this problem do i...
0
by: Eray Çakır | last post by:
hi ; at the C# compiler using a MSCOMM32.ocx project, when i want to install this project on the pc which is not installed visual basic says "there is no licence". for solving this problem do i...
0
by: VR | last post by:
I wrote a wrapper class around mscomm32.ocx in C# and I have a problem deploying it to a PC without IDE installed. I am getting an error message about the class not being licensed. I found some...
2
by: Urs Vogel | last post by:
Hi For supporting the serial port for remote data collection on manufacturing devices, I added the mscomm32.ocx Active-X component to my .Net 1.1 application, which works fine on my machine (I...
5
by: Kevin | last post by:
I have a class with a refence to MSCOMMLib in it so I can use MSCOMM32.ocx. It works fine on the developement machine where I have VB6 also installed. When I try to run the app on a machine...
2
by: Alex Su | last post by:
Hello all, I'm new to VB.net and have just built a small application that makes use of some VB6 ocx such as mscomm32.ocx for data communication with a machine. The application runs OK but when I...
1
by: Atsushi Shiino | last post by:
Hi, I am new comer here. I am develoving application on EXCEL 2007 (VISTA PLATFORM). Precisely the program is a serial port datalogger, but VB6 doesn´t allow me to paste MSComm32.ocx into the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.