open in powerpoint 2007

M

Milo¹ Vukov

Hi,

I open one ppt which was created with early version of powerpint (i don't
know which) in powerpoint 2007
programaticaly in vb6. And document is opened as readonly.

Code:

Private Sub Form_Load()
Dim pp As PowerPoint.Application
Dim p As PowerPoint.Presentation

Set pp = New PowerPoint.Application

Set p = pp.Presentations.Open(FileName:="c.ppt", WithWindow:=False)
Debug.Print p.ReadOnly
pp.Quit

End Sub

When i check property ReadOnly it return me -1 which means that is true (the
ppt is readOnly).

Then i created some new ppt's and are not ReadOnly.

Did anyone meet this problem ?
 
M

Milo¹ Vukov

Solved, the problem...

If ppt is saved in format for PowerPoint 95 and latest version, then this
problem occoours.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top