Solved

VB Ole Timeout - Excel

Posted on 1998-12-15
9
819 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

919 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

18 Experts available now in Live!

Get 1:1 Help Now