G
Guest
Hi,
I am getting an error saying Application:ActiveWindow- Invalid Request for
the_docWnd=oApp.GetActiveWindow ();
here is the code
if(!oApp.CreateDispatch("Powerpoint.Application", NULL))
{
AfxMessageBox("Cannot start Powerpoint", MB_SETFOREGROUND);
return;
}
the_docWnd=oApp.GetActiveWindow ();
I am using PowerPoint 2003.
Regards
John
I am getting an error saying Application:ActiveWindow- Invalid Request for
the_docWnd=oApp.GetActiveWindow ();
here is the code
if(!oApp.CreateDispatch("Powerpoint.Application", NULL))
{
AfxMessageBox("Cannot start Powerpoint", MB_SETFOREGROUND);
return;
}
the_docWnd=oApp.GetActiveWindow ();
I am using PowerPoint 2003.
Regards
John