Solved

VB Ole Timeout - Excel

Posted on 1998-12-15
9
828 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Glad I could help.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

770 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