My MapPoint control in my vb.net Windows application produces a Server Busy, Retry or Switch dialog box during longer processing times. How can I increase the timeout property?
I've read all day about what could be causing this. An article in MSDN says, "The default values of the Visual Basic OLERequestPendingTimeout and OLEServerBusyTimeout properties are 5 and 10 seconds, respectively. Certain methods in the MapPoint object model may require longer processing time... To avoid this problem, you can set the Visual Basic properties to higher values for the entire project or only for the MapPoint function that might take a longer amount of time. The following code sets the Visual Basic properties to 50 and 100 seconds:
App.OLERequestPendingTimeout = 10 * App.OLERequestPendingTimeout
App.OLEServerBusyTimeout = 10 * App.PLEServerBusyTimeout"
I found the above quote at http://msdn.microsoft.com/library/de...ingStarted.asp
The problem is that these properties have "no equivalent" in .NET according to MSDN (at http://msdn.microsoft.com/library/de...albasicnet.asp)
Does anyone know how I could get these server messages to disappear?