LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default error window hidden in VSTO

I'm using VB (VS 2008) to create a VSTO project with Excel 2007. When I run
my VSTO project, it loads Excel and starts running my code. Sometimes while
the VSTO is running, I shift the focus to another program (e.g. look at an IE
web page or read an Outlook email), and while the focus is shifted to the
other program, the VSTO generates an exception. When the exception occurs, I
hear an error beep, the taskbar at the bottom for Excel starts flashing red,
and apparently there is an error/dialog window (somewhere) asking for user
input. The problem is, no matter what I do, I can't see the error window
(I've tried everything, including using the Task Manager to switch focus,
cascading the windows, minimizing all the open windows, etc.) Only if I stop
the program (in which case another window does pop us saying a dialog window
is open--are you sure you want to stop?), run mu VSTO code again without
touching anything else on the PC while the VSTO is running, can I then see
the error window when it pops up (it turns out it was a ContextSwitchDeadlock
error--incidentally, I just went into VS options and unchecked the Thrown box
for that error). Do you have any suggestions how can I get the hidden dialog
window to become visible?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open an Excel window hidden Woody[_5_] Excel Programming 1 October 21st 07 11:31 PM
Template opens in hidden window? ktlasers Excel Discussion (Misc queries) 0 October 4th 07 09:30 PM
[URGENT] How to Trap Excel Window Scroll Events in VSTO Surjya Excel Programming 2 January 24th 06 03:55 PM
Keep VBA window hidden JGeniti Excel Programming 1 January 17th 06 04:41 PM
Error using VSTO and ImportXml when cell is being edited df[_2_] Excel Programming 0 January 13th 06 01:55 AM


All times are GMT +1. The time now is 01:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"