An older version of MSCOMM32.OCX has had the "kill bit" flag set.

The latest Windows Update has set the kill bit flag for an out of date but commonly used version of mscom32.ocx.  Microsoft Security Advisory (969898)

Options

- roll back the update.  Not recommended however instructions are in the above web page.

- locate the newest version of mscomm32.ocx and distribute to your users/customers.  Not recommended as this will require the users to have admin privileges on their system to install the OCX or for the IT staff to do the update.  In the meantime your app's serial port logic isn't working

- replace the mscomm32.ocx with API code.  Perform Serial Port Communication - The sample code on this page consists of a VB module containing a collection of routines to perform serial port I/O without using the Microsoft Comm Control component. The module uses the Windows API to perform the overlapped I/O operations necessary for serial communications.  Recommended

Symptoms

Errors such as

"<your application> doesn't support this ActiveX control".

"no inserted control" (or something like that)

"Object doesn't support this property or method"

When you open the form in design view you will get the following message "There is no Object in this control" and the control will no longer show the telephone icon.

Published Sun, Jun 14 2009 18:28 by Tony

Comments

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

Why they call an older version? The single version existing is 6.00.8169 June 18, 1998,  where have you seen a new version of mscomm32.ocx?

Tuesday, June 16, 2009 5:50 AM by Adi

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

Where can I find the newest version of mscomm32.ocx?

Tuesday, June 23, 2009 4:30 PM by Absolute Retail

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

Hi Tony,

I also have just encountered this problem.

A new Access 2007 application which had a working MSCOMM control in May is now (July)displaying the above symptoms.

I downloaded your API zip file to have a look but am unsure what to do with the content.

As a newbie to Access and VBA, I don't know what to do with the "BAS", "VBP" and "VBW" files. Can you advise on how I get your routines into my VBA source so I might test them?

Many thanks.

Thursday, July 09, 2009 11:32 AM by Colin Hamilton

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

Colin

Open the various VB 6.0 files with notepad and look for VBA code.   Copy and paste into Access modules.

Thursday, July 09, 2009 11:37 AM by Tony

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

How am I supposed to code when there is no OnComm Event?

Monday, July 13, 2009 4:25 AM by Christian

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

I like the idea of replacing the ActiveX with code, but I also need the updated file.  I can't use the cumulative update because I dont' have VB6 on my PC.  I can't find a download of the updated mscomm32.ocx - can you help?

Thanks

Monday, July 13, 2009 3:55 PM by Robert Salgado

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

You can extract the files from the cumulative update by using the following:

To extract files from a .msi file at the command line, type:

msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo

However I'm not sure how to actually get those updated into your system so you can test them and redistribute them.

Monday, July 13, 2009 4:44 PM by Tony

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

I tried the update and the new mscomm32.ocx now works with VB but not with Office VBA. Am I doing something wrong?

Tuesday, July 14, 2009 5:55 AM by Christian

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

You're not doing anything wrong. It appears that MS have it in for the MSCOMM32 control. I got it working earlier this month only to discover that it's been killed *again*.

Nice one.

Tuesday, July 28, 2009 5:10 AM by James

# re: An older version of MSCOMM32.OCX has had the "kill bit" flag set.

Newest Version is 6.1.98.16 .

Wednesday, July 29, 2009 2:16 AM by Christian

Leave a Comment

(required) 
(required) 
(optional)
(required)