how can write this code in Addins.

Add-in Express™ Support Service
That's what is more important than anything else

how can write this code in Addins.
 
Dileep Sankar




Posts: 85
Joined: 2009-02-20
hello,
The below code wrote in vsto

Globals.ThisAddIn.Application.CommandBars.ExecuteMso("SlideReset");

but in addinexpress CommandBars.ExecuteMso is not found. how can i write this?.
Thanks
Dileep
Posted 07 Aug, 2009 06:43:16 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

Please check up the CommandBars property of the Explorer class (for example in Outlook).

To get assistance with host applications’ objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools / Macro / Visual Basic Editor or just press Alt+F11), press F2, select the host application (also Office and MSForms) in the topmost combo and/or specify a search string in the search combo. Select a class/property/method and press F1 to get the help topic that relates to the object.
.NET, Extended MAPI, Windows Phone & RT
Posted 07 Aug, 2009 09:16:41 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
But i havn't seen any code in powerpoint visual basic editor.
Posted 11 Aug, 2009 06:12:40 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

What code do you need?
.NET, Extended MAPI, Windows Phone & RT
Posted 11 Aug, 2009 06:22:08 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
Apply templates and apply Templates Selected Slide Only.
Posted 11 Aug, 2009 08:14:06 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Dileep,

The Visual Basic for Applications doesn't contain any code. You need to write it yourself.

To get assistance with host applications’ objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools / Macro / Visual Basic Editor or just press Alt+F11), press F2, select the host application (also Office and MSForms) in the topmost combo and/or specify a search string in the search combo. Select a class/property/method and press F1 to get the help topic that relates to the object.
.NET, Extended MAPI, Windows Phone & RT
Posted 11 Aug, 2009 08:20:20 Top