VB & Powerpoint 2007 select monitor for presentation RRS feed

  • Question

  • I want to specify which monitor to display a presentation on from visual basic.


    Visual studio 2008

    Office 2007

    Wednesday, June 22, 2011 6:02 PM


  • Hi Saltypete,

    What do you mean specify the monitor to display a presentation? Is your problem similar the same with this one?

    and it contains the code about changing the settings in the regedit.


    string RKey = @"Software\Microsoft\Office\11.0\PowerPoint\Options";
    Microsoft.Win32.RegistryKey rk =
    rk.SetValue("DisplayMonitor",@<a href="file://\\.\DISPLAY2\Monitor0">\\.\DISPLAY2\Monitor0</a>);


    Hope this can help you reslove your problem.

    Best Regards,

    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Bruce Song Friday, July 8, 2011 12:05 PM
    Monday, June 27, 2011 10:40 AM