Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling from C#.Net App Office._CommandBarButton.Execute() method in Excel 2003 throws a COMException

Hi All!

Currently I host Workbook in WebBrowser control which runs within AXHost
placed on Windows.Form.
When any method of CommandBarButton is called I got a COMException. It does
not matter if the Main Menu
instance or toolbar instance method is called, item is alweys checked to be
Enabled and furthemore for both MsoControlOLEUsage
Server and Client the behaviour is the same.

Any ideas for solution?

Jacek


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Calling from C#.Net App Office._CommandBarButton.Execute() method in Excel 2003 throws a COMException

Maybe some information he

http://support.microsoft.com/default...&Product=vcSne
t
HOWTO: Use Automation to Create Office Command Bars and Controls with Visual
C# .NET


--
Regards,
Tom Ogilvy


Jacek wrote in message
...
Hi All!

Currently I host Workbook in WebBrowser control which runs within AXHost
placed on Windows.Form.
When any method of CommandBarButton is called I got a COMException. It

does
not matter if the Main Menu
instance or toolbar instance method is called, item is alweys checked to

be
Enabled and furthemore for both MsoControlOLEUsage
Server and Client the behaviour is the same.

Any ideas for solution?

Jacek




Reply
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
"method 'execute' of object 'find' failed" [email protected][_2_] Excel Discussion (Misc queries) 0 August 31st 07 10:29 AM
Chart.Export throws COMException (0x800A03EC) Benchmark Developmer Charts and Charting in Excel 0 August 30th 07 05:40 PM
Office 2000/Office 2003 Excel not printing landscape vise versa BAHTTEXT in English text Setting up and Configuration of Excel 1 April 17th 06 01:37 PM
Calling a module function from a class method ranafout[_2_] Excel Programming 1 November 12th 03 11:08 AM
Chart.Export throws COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC. Steven Excel Programming 1 November 5th 03 06:59 PM


All times are GMT +1. The time now is 11:14 AM.

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

About Us

"It's about Microsoft Excel"