Please help - Substitute msg for "Server Busy" dialog
My ActiveX application is an interface to open Crystal Report using RDC (Crystal 8.5 Report Designer Component). In my application I call the RDC function "Export" to export report in Excel format. This Export function usually takes 10 seconds or longer to complete, and in the meantime my application pops up the "Server Busy" dialog box that said:
"This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem."
I want to specify a substitute message for this "Server Busy" message, or to completely eliminate it if possible. I inserted this piece of code prior to the call to the Export function, but the default Server Busy dialog box still pops up. Any idea why it still comes up? Did I do this wrong? Do I need to declare or set the "App" object somewhere? Please Help!
App.OleServerBusyMsgTitle = "[my title here]"
App.OleServerBusyMsgText = "[my message here]"
App.OleServerBusyRaiseError = True
App.OleServerBusyTimeout = 999999999
App.OleRequestPendingMsgTitle = "[my title here]"
App.OleRequestPendingMsgText = "[my message here]"
App.OleRequestPendingTimeout = 999999999
Call rpt.Export(False) ' Calling Export function
Thank you!
Angu

