Solved

VB Ole Timeout - Excel

Posted on 1998-12-15
9
813 Views
Last Modified: 2012-06-27
Does anybody know how to get around the OLE Timeout Error that occurs when trying to pass information from VB to Excel. I can't find any reference in the Win95 Registry to control this and I haven't seen any thing like the SQL timeout control.
0
Comment
Question by:dreadnaught
  • 6
  • 3
9 Comments
 

Author Comment

by:dreadnaught
ID: 1450418
Edited text of question
0
 

Author Comment

by:dreadnaught
ID: 1450419
Adjusted points to 250
0
 
LVL 3

Expert Comment

by:covington
ID: 1450420
If you want to wait longer, change the value of App.OleRequestPendingTimeout

If you want to trap the error, look into App.OleServerBusyRaiseError
0
 

Author Comment

by:dreadnaught
ID: 1450421
Since posting this Quiestion I ah dalready found the App.OleRequestPendingTimeout settings. The problem that now stumps me, is how do I edit these settings. I have been unable to do so through the APP/IDE/REGISTRY.

This then leaves me back at square one.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:dreadnaught
ID: 1450422
Since posting this Quiestion I had already found the App.OleRequestPendingTimeout settings. The problem that now stumps me is, how do I edit these settings. I have been unable to do so through the APP/IDE/REGISTRY.

This then leaves me back at square one.
0
 
LVL 3

Expert Comment

by:covington
ID: 1450423
How do you edit them? I'm confused-

You Just say App.OleRequestPendingTimeout = <your new setting>

Or am I really missing something here...?
0
 

Author Comment

by:dreadnaught
ID: 1450424
Sorry for the confusion. I was trying to evaluate the command instead of set it.
i.e. ?App.OleRequestPendingTimeout = <your new setting>  instead of just App.OleRequestPendingTimeout = <your new setting>, without the ?????.

I think that you earned these points for at least my stupidity.!!!!
0
 

Author Comment

by:dreadnaught
ID: 1450425
Covington, please post blank answer for points!
0
 
LVL 3

Accepted Solution

by:
covington earned 250 total points
ID: 1450426
Thanks!

Glad I could help.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now