Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Busy? OLE Problem?

Status
Not open for further replies.

rswarich

Structural
Jan 17, 2003
5
US
Hello,
Not sure where to ask this question, but will start here.
We have developed VB macros in Excel that are used to drive other programs. One of the other programs is called SolidWorks. We open SolidWorks and send some commands to it from within VB, causing SolidWorks to take some actions.
Lately, while SolidWorks is in the middle of those actions, a message box pops up saying "Server Busy" "This action cannot be completed because the Microsoft Excel program is not responding." There are "Switch to" and "Retry" buttons on the message box. If we manually hit "Retry", the SolidWorks actions continue and things are OK.

The problem is that the VB macros are created so that users do not have to hit any buttons or take any action until everything in SolidWorks is completed. Having to click the Retry button defeats the purpose of the macros.

SolidWorks says the problem is with the OLE in Excel/Windows.

Questions:
1. Is there a way to modify or improve the OLE to prevent the server being busy? I'm not too clear on what the OLE really is, so this may be a dumb question.
2. Is there a way to have VB check for and signal that the Server Busy message box has popped up so that when it does, we can have VB automatically select Retry and the user will not have to manually select it? The Server Busy box does not always pop up.

Thank you all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top