Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB Ole Timeout - Excel

Posted on 1998-12-15
9
Medium Priority
?
904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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
 

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 750 total points
ID: 1450426
Thanks!

Glad I could help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

715 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