473,387 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

hard to open excel while debugging

Anybody notice that while debugging, excel (and some other apps) have a
"hard time" opening? Anybody know why this is?

"hard time" - takes 20 seconds to open, low CPU usage.

I'm using VC++ .net/2003/7.1, native code.

Rudy
Nov 17 '05 #1
2 2483
Rudy Ray Moore wrote:

Anybody notice that while debugging, excel (and some other apps) have a
"hard time" opening? Anybody know why this is?

"hard time" - takes 20 seconds to open, low CPU usage.

I'm using VC++ .net/2003/7.1, native code.

Rudy


It has to do w/ the DDE server getting blocked (DDE makes extensive use of
window messaging, and if the application you are debugging is at a breakpoint
(essentially blocked), then the DDE server will hang around waiting for that
app to respond before timing out and moving to the next app -- it is quite a
bit more involved, you can search old DevNet library articles on DDE, etc. for
further details).

To 'fix' the problem, you need to edit the file types that you want to have
more responsive so they don't use DDE during file open.

In your Excel example, you need to do the following:

Control Panel/Folder Options/File Types

Scroll down to XLS (or type in XLS and it will scroll down for you), click on
Advanced, Click on open action, edit, and then clear the Use DDE checkbox.

This should solve your 'problem', however you need to be aware that it may
cause some unintended side-effects (i.e. multiple instances of Excel running
instead of multiple worksheets opening in a single instance of Excel). Make a
note of the DDE settings if you want to restore to the previous configuration.

If it works for you, you will have to make the above change to all of the file
types that you want affected.
Nov 17 '05 #2

Thanks so much Julie!

"Julie" <ju***@nospam.com> wrote in message
news:40***************@nospam.com...
Rudy Ray Moore wrote:

Anybody notice that while debugging, excel (and some other apps) have a
"hard time" opening? Anybody know why this is?

"hard time" - takes 20 seconds to open, low CPU usage.

I'm using VC++ .net/2003/7.1, native code.

Rudy
It has to do w/ the DDE server getting blocked (DDE makes extensive use of
window messaging, and if the application you are debugging is at a

breakpoint (essentially blocked), then the DDE server will hang around waiting for that app to respond before timing out and moving to the next app -- it is quite a bit more involved, you can search old DevNet library articles on DDE, etc. for further details).

To 'fix' the problem, you need to edit the file types that you want to have more responsive so they don't use DDE during file open.

In your Excel example, you need to do the following:

Control Panel/Folder Options/File Types

Scroll down to XLS (or type in XLS and it will scroll down for you), click on Advanced, Click on open action, edit, and then clear the Use DDE checkbox.

This should solve your 'problem', however you need to be aware that it may
cause some unintended side-effects (i.e. multiple instances of Excel running instead of multiple worksheets opening in a single instance of Excel). Make a note of the DDE settings if you want to restore to the previous configuration.
If it works for you, you will have to make the above change to all of the file types that you want affected.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
1
by: Lize | last post by:
Hi, I'm writing an ASP application to open an excel workbook, then run a macro stored in the excel file, which produces outputs that will be displayed back onto my ASP application. Now the...
29
by: Mark B | last post by:
We have an Access app (quite big) at www.orbisoft.com/download. We have had requests by potential users to have it converted to an SQL version for them since there corporate policy excludes them...
1
by: Jim | last post by:
This should really be simple, but I can't figure it out. I have some VB that exports a table in an Excel format ("C:\NewReport.xls"). After the export is done, I simply want to have some code...
3
by: Jennyfer Barco | last post by:
Hello, I have a question, how can I open Microsoft Excel from .NET. I only need to open a new file in Excel and paste some information and set the Microsoft Excel as the enabled aplication, so the...
1
by: Bon | last post by:
Hello all I create a form with three buttons in MS Access 2000. They are Open Excel Template, Save Draft and Save Final. When I click the Open Excel Template button, the Excel template will be...
11
by: moony marouane | last post by:
Hi all I'm looking for code regarding opening (not saving) binary files (pdf, word, excel...) from hard disk with asp, the website is hosted in C:\ and the pdf files are in D:\. Does anyone...
1
by: Seok Bee | last post by:
Dear Experts, I'm trying to open a file from my web form. However, when I click on the button, no action is being performed. I have tried running it in debugging mode, the file is able to open....
3
by: Joe | last post by:
I created a C# Add-in by going through the wizard, building the project and testing it. Everything works fine. I start writing some code to do something when a button is clicked, built and tested...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.