0

could somebody tell me how to open the font selector, language selector dialogs, etc. programmatically in a powerpoint 2007 add-in? In addition to that I need the returnvalues from the dialogs (i.e. the fontname, etc.)

THANK YOU

cojack20
  • 403
  • 1
  • 5
  • 13
  • why do you need it? whith what do you want to open it? questions... – Moonlight Jan 03 '12 at 15:45
  • I wrote a ppt toolkit that replaces the font of every textbox and modifies the language properties. – cojack20 Jan 03 '12 at 16:59
  • I've got a similar add-in. While you can execute any of the menu controls, you get no return values, so that won't help. You'll need to create your own dialog. Be a bit cautious ... you'll need to know the langIDs for the languages you want to support. MS documents these in several places; some of the entries are incorrect. Check the hex values against the decimal values given; if they don't match, find different docs. Handing PPT a bogus language value will make it act nuts in the most amazing variety of ways. – Steve Rindsberg Jan 09 '12 at 20:28

2 Answers2

0

I know this is a bit late. This works for me in 2010 - please see this post

PowerPoint Open "Record Slide Show" Dialog and detect if Presentation has a recording c# addin

You will need to find the equivalent for "RecordNarration" but it should work for you.

Trev

Community
  • 1
  • 1
Trevor Daniel
  • 3,785
  • 12
  • 53
  • 89
0

there is nothing special in VSTO that can do it for you, you will have to use wpf/winform, you may have a look at fontdialog class

Brijesh Mishra
  • 2,738
  • 1
  • 21
  • 36