This code works fine for me:
oppt = create('powerpoint.application')
oppt.presentations.open(getfile('ppt'))
Can you provide more specific infomation about the error (eg an error number or the extact text of the error message).
Cheers,
Andrew
>>>This code worked with PPT98 but does not with PPT2000:
>>>oPpt = CreateObject('PowerPoint.Application')
>>>oPpt.Presentations.Open('d:\republic\documents\ADMINISTRATOR.PPT')
>>>What's wrong?
>>>Thanks Mark
>>
>>What's the error?
>Something about PowerPoint frame which does not exist. Same in VB6.
>Mark
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.