M
micah.white
Hello -
I have the following vbs test script which creates a PowerPoint object
and exports jpgs - this does not work with a fresh Office 2007 install
- I get a general 80004005 error. However, once I install Office 2003
on the computer the vbs file works fine. Even after I unistall Office
2003 it works fine. So what is the problem ??
Thanks in advance
Deli
Option Explicit
REM We use "Option Explicit" to help us check for coding mistakes
Dim AppPPT
Dim oPres
Dim I
Set AppPPT = CreateObject("PowerPoint.Application")
Set oPres = AppPPT.Presentations.Open("c:\temp.ppt", , , False)
oPres.Export "c:\zzz","JPG",2048,1546
oPres.Close
Set oPres = Nothing
AppPPT.Quit
Set AppPPT = Nothing
I have the following vbs test script which creates a PowerPoint object
and exports jpgs - this does not work with a fresh Office 2007 install
- I get a general 80004005 error. However, once I install Office 2003
on the computer the vbs file works fine. Even after I unistall Office
2003 it works fine. So what is the problem ??
Thanks in advance
Deli
Option Explicit
REM We use "Option Explicit" to help us check for coding mistakes
Dim AppPPT
Dim oPres
Dim I
Set AppPPT = CreateObject("PowerPoint.Application")
Set oPres = AppPPT.Presentations.Open("c:\temp.ppt", , , False)
oPres.Export "c:\zzz","JPG",2048,1546
oPres.Close
Set oPres = Nothing
AppPPT.Quit
Set AppPPT = Nothing