cancel
Showing results for 
Search instead for 
Did you mean: 
LateNites
New member
1 0 0 0
Message 1 of 1
570
Flag Post

How to prevent the "Switch To" or "Application Busy" error messages

HP Recommended
HP rp5700 Business System Desktop
Microsoft Windows 10 (64-bit)

I receive this error message when I start TAXACT income tax software. I had this same problem last year and it occurs no matter what years software package I initiate. Microsoft support #240809 would have me writting a short "Program" in Visual FoxPro, which is not in my mind set, I am a self employed tax preparer. 

 

#240809 insertion for referrance: 

 

2/7/2018 How to prevent the "Switch To" or "Application Busy" error messages using OLE Automation
https://support.microsoft.com/en-us/help/240809/how-to-prevent-the-switch-to-or-application-busy-err... 1/1  How to prevent the "Switch To" or "Application Busy" error messages using OLE Automation

Using OLE automation with another application, such as Microsoft Word, you may receive the following
error message if you are using Microsoft Windows NT 4.0, Windows 2000, Windows XP, or Windows Server
2003:
This action cannot be completed because the other application is busy. Choose 'Switch To' to activate the
busy application and correct the problem. If you are using Windows 95 and Windows 98, you receive the following error message: This action could not be completed because the other program is busy. Click the appropriate button on
the taskbar to activate the program and correct the problem.
Summary
This error message usually occurs because the OLE activated application has an open dialog box and is expecting user input. This error message can be eliminated by using the property OLERequestPendingTimeout. This property specifies the amount of time after an Automation request is made before a busy message is displayed. The default is five seconds and is specified in milliseconds. By setting the timeout to 0, Microsoft Visual FoxPro will wait indefinitely for the other application. The busy message will not be displayed whether the Automation request is pending or if a mouse or keyboard event occurs.
1. Create a program and enter the following code.
oWord=CREATEOBJECT("Word.Application")
APPLICATION.OLERequestPendingTimeout = 0              && 0 means no busy error message
WITH oword                                                                               && Change to 100 to see busy
                                                                                                       && message
         .Documents.ADD
         .Dialogs(88).SHOW                                                          && Open the Word Print dialog
         .APPLICATION.QUIT(0)                                                    && Quit and don't save changes
ENDWITH
2. Run the program and click on the Microsoft Visual FoxPro window after the Word Print dialog box appears. You will not see the error messages mentioned prior.
3. To see the error message, change the OLERequestPendingTimeout to a relatively low number such as 100.
4. Run the code again and click the Microsoft Visual FoxPro window after the Microsoft Word Print dialog box appears. Now one of the messages that is listed in the "Summary" section appears.
More Information
Visual FoxPro Online Help, version 6.0; Search for "OLERequestPendingTimeout"
References
Last Updated: Jan 7, 2017

 

Contacting TaxAct Support sends me through the same hoops and this man is lost, my friends.

 

Please Advise, LateNites

Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation