1. Toolbar button -> onClick-> CustomTaskPane (Control/Form) made visible
pretty simple huh.. I already have toolbar button and onclick implementation.
I dont need any smart tags. I just need a very simple -> CTP.visible = true
any direction on this would be appreciated
Lusana
Unfortunately, it's simply not possible. Custom task panes were introduced in
Office 2007; they're not available for any earlier version.
In earlier versions you can use a CommandBar, or a WindowsForm. You can even
experiment with putting a Windows Form over an anchored CommandBar to simulate a
task pane. (A task pane is actually a commandbar with controls on it, but in
2003 the only thing exposed to the developer is the SmartDocument Actions Pane,
which VSTO document-level solutions leverage.)
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
Anyone has any luck with anchor commandbar with Windows Form approach? I am unable to add msoControlPane. As describe in MSDN, only popup menu and 4 other types are supported in,
CommandBar.Controls.Add()
For example, the following code would not be able to compile,
Office.CommandBarControl MyButton;
MyButton = commandbar.Controls.Add(Office.MsoControlType.msoControlPane , missing, missing, missing, true);
Thanks,
Tom
Pete
>> On Tuesday, June 19, 2007 9:55 AM Cindy M. wrote:
>> Hi =?Utf-8?B?THVzYW5h?=,
>>
>> Unfortunately, it's simply not possible. Custom task panes were introduced in
>> Office 2007; they're not available for any earlier version.
>>
>> In earlier versions you can use a CommandBar, or a WindowsForm. You can even
>> experiment with putting a Windows Form over an anchored CommandBar to simulate a
>> task pane. (A task pane is actually a commandbar with controls on it, but in
>> 2003 the only thing exposed to the developer is the SmartDocument Actions Pane,
>> which VSTO document-level solutions leverage.)
>>
>> Cindy Meister
>> INTER-Solutions, Switzerland
>> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
>> http://www.word.mvps.org
>>
>> This reply is posted in the Newsgroup; please post any follow question or reply
>> in the newsgroup and not by e-mail :-)
>> Submitted via EggHeadCafe
>> ASP.NET JSON Cookies and Excel
>> http://www.eggheadcafe.com/tutorials/aspnet/71b3b844-2aef-4350-8611-bacc8827d022/aspnet-json-cookies-and-excel.aspx