Windows Develop Bookmark and Share   
 index > Windows Forms General > How to Force DsoFramer to open a new Excel instance or point DsoFramer to a specific Excel instance
 

How to Force DsoFramer to open a new Excel instance or point DsoFramer to a specific Excel instance

Problem: User opens excel file, my program uses DsoFramer to host other Excel files. If user first opens an Excel file and then starts my program the Excel instance the user opened is still visible (great) but the user can't focus or edit "his" Excel instance untill my program has closed.
If on the other hand the user starts my program first then he can happily open Excel files to his liking and he as well as my program operate as would be expected (user can swiitch between my program and user initiated Excel instance and freely edit etc.).

I want the user to be able to have Excel open BEFORE my program starts and prevent my program from interfering with the user started Excel instance.

As far as I understand the problem my program autom. hijacks an active Excel instance (grabs frist entry in ROT) if availible otherwise it creates a new Excel instance (which then is private to my program, if the user wants to open an Excel file he gets his own Excel instance working for him).

Question:
- can I manually create new Excel instance and point DsoFramer to it?
- how?
- different soloution?

XP, Office2003, VS2008Prof, c#, DsoFramer 1.3
  • Moved byLing WangMSFT3 hours 44 minutes ago (From:Windows Forms General)
  •  
CodeDigger  Friday, October 02, 2009 7:07 PM

Sorry, you question is off-topic here. I have no idea which forum is for this question, so I move this thread to “Where is the forum for”.

 

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  3 hours 44 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Does WebBrowser control in .net 2.0 support blocking pop-up windows?
• Moving form without flicker
• Dispose function
• center the Form's caption text
• DatagridView: not all content is shown in the cell.
• Open winforms with Async threads
• A .NET CRM Component recommendation?
• listbox item color
• Scrolling in a custom combobox
• A Beep Mystery