2

I am developing a PowerPoint AddIn and have been asked to add a reminder to the user to "Record Slide Show".

Can anyone help me find out how to programmatically open the "Record Slide Show" dialog box and also how to detect if the user has already added a recording to the slide show please?

Many thanks

Trevor

Trevor Daniel
  • 3,785
  • 12
  • 53
  • 89

1 Answers1

1

Finally got this to work.

In the ribbon I have added the following:

public static void callRecordDialog()
{
    Globals.ThisAddIn.Application.CommandBars.ExecuteMso("RecordNarration");
}

then in the form I have called it like this...

private void btnVoiceOverYes_Click(object sender, EventArgs e)
{
    vCreateRibbon.callRecordDialog();
    this.Close();
}

took ages to find that!

hope it helps someone else

Trev

Trevor Daniel
  • 3,785
  • 12
  • 53
  • 89