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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.