From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error: application busy

I get an error message: -2147417846 occurred at The message filter indicated that the application is busy. in Word_Save_Document.vi>>Save Report to File.vi->(my library file name)

Any suggestions??
0 Kudos
Message 1 of 5
(4,196 Views)
Hello JimN,

Searching Microsoft's web site, I found the following articles that may be related to you issue.

INFO: Corrupt Normal.dot Causes Errors When Automating Word

You receive an error message in a program that interacts with Word 2000 when Norton AntiVirus or Sys...

BUG: Automation Error 8001010A when Automating Word 2000

INFO: Translating Automation Errors for VB/VBA (Long)

To troubleshoot this issue further we will need more information on your setup.

For example:

What Version of LabVIEW are you using?
What version of the Report Generation Toolkit?
Which version of Office?
What operating system?

Regards,

Matt F
0 Kudos
Message 2 of 5
(4,175 Views)
Thanks for the reply.
I have windows xp pro.
office 2003
labview 7.1
latest report gen (1.1 I believe)

I have the vi's in order:
New Report.vi
Set Report Margins.vi
Append control image to report.vi
word easy text.vi
Print report.vi
Save report to file.vi
Dispose Report.vi

If I remove the PrintReport.vi I no longer get the error.
I tried the "regsver32" that was suggested in second reference above dealing with Norton Anitvirus, but it didn't change.

Thanks
Jim
0 Kudos
Message 3 of 5
(4,164 Views)

@JimN wrote:

I have the vi's in order:
New Report.vi
Set Report Margins.vi
Append control image to report.vi
word easy text.vi
Print report.vi
Save report to file.vi
Dispose Report.vi

If I remove the PrintReport.vi I no longer get the error.




Hello Jim,

The Application Busy error is typically reported when a calling application makes a call to an application that is waiting for user input. In your case this is probably due to Word prompting you that the margins are outside the printable space while LabVIEW tries to call Word's save method.

This can be resolved by ensuring that your margins are of allowable range before printing.

Please let me know if you have any questions or if this does not resolve the issue.

Regards,

Matt F

PS. You can find out more information on why this behavior occurs at the following web page.

How To Prevent Switch To or Application Busy Message Using OLE Automation
0 Kudos
Message 4 of 5
(4,140 Views)

I am using Labview 2016(64 bit).

Report Generation Toolkit 2016

Microsoft Office Proffessional Plus 2013(32 bit)

Windows 07 is my operating system.

I am getting the same error after New Report.vi.

How do I solve this?

0 Kudos
Message 5 of 5
(2,408 Views)