open in powerpoint 2007

  • Thread starter Thread starter Milo¹ Vukov
  • Start date Start date
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 ?
 
Solved, the problem...

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