473,775 Members | 2,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSCOMM32 Checking if Installed.

9 New Member
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 2468
FishVal
2,653 Recognized Expert Specialist
Hi, sajuk.

You may use Access.Referenc es 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
17934
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 = CreateObject("MSCommLib.MSComm") the compiler errors-out with the message "Run-time error 429: ActiveX comonent can't create object". The online help indicates this problem can be caused when the MSComm32.OCX
3
12816
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 easy !), anyway I have embedded vb projects running on various mobile platforms using mscomm controls and wish to add the control to VS.net so that I can use it in a new
2
2744
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 need to register MSComm32.dll into the C#? i read in .NET documents doing this with Ic.exe but i wasn't success. Any help would be greatly appreciated... Thanks in
0
1471
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 need to register MSComm32.dll into the C#? i read in .NET documents doing this with Ic.exe but i wasn't success. Any help would be greatly appreciated... Thanks
0
1753
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 references to that in MS knoweldge base - they claim I need to add the license manually to the cotrol, at run time Here is what my class is like I added reference to mscomm32.ocx in project and then created my class I purposely use MSCommClass...
2
2872
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 have VS 2003 FW 1.1 and VS 6.0 installed). When creating the setup, it nicely includes the mscomm32.ocx and the interop module in the setup project. When installing it on a client machine, everything appears to be ok, and even talking to the...
5
7276
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 without VB6 though, I get a licensing error issue. So I read about License Compiler in the MSDN.net files and it says I can create a license file by using the lc.exe application. I have tried this but am getting errors. If someone has a decent...
2
9207
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 tried to build the installer using the Setup and Deployment Projects, I always get the following warning messages saying that the dependencies cannot be found as follows: WARNING: Unable to find dependency 'INTEROP.RICHTEXTLIB'
1
4334
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 working frame even having both legally installed. The same procedure is possible when the platform is windows XP. I would appreciate any help. Thanks
0
10268
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10107
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10048
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6718
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2853
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.