Server Busy Error when running OLE Automation in VB4.0 
Author Message
 Server Busy Error when running OLE Automation in VB4.0

I am trying to write a VB 4.0 program that uses OLE Automation and
trying to use Word 6.0 as the server.  I sometimes get an error "Server
Busy" when I make an automation call.  The book says that this is
because Word 6.0 is doing something else and cannot execute my request.
I tried using the "DoEvents" command and "On Error", but VB doesn't see
it as that type of error.  I also tried setting the
App.OleServerBusyRaiseError to true, but none of this works.  I would
like to try to find a way that can avoid the error or if I run into the
error, I would like a way to get rid of it and have control of my
program again.  The "Retry" button on the dialog box does not work.

I could change the message on the error box, but it doesn't make it go
away.  The only way I get rid of it is to shut Word 6.0 down and then
stop my program (not very cleanly) and start over.  This is not
acceptable for what I want to do.  Does anyone have a suggestion?

-Kelly



Sat, 19 Dec 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. HELP - VB4/16 run time error 429 - ole server can't create object

2. Run Time Error OLE Automation Error

3. Run-time error - OLE Automation error

4. OLE automation error when second time code runs

5. OLE automation error on VB4 startup

6. VB6 program killed VB4-32 compiler, Please help..OLE Automation Error+ some

7. OLE Automation Error loading VB4

8. OLE automation (VB4 and Word6) and general exception error

9. Ole Automation Error when calling Run method of IWshShell_Class

10. OLE Automation Server cant create object error please help

11. Error loading DLL from an OLE automation server?

12. OLE Automation Server error on WinNT

 

 
Powered by phpBB® Forum Software