Click to See Complete Forum and Search --> : Open Powerpoint [password]
mohit_5783
May 2nd, 2006, 12:52 PM
Dear Friends,
I want to open a powerpoint which is password protected with my visual basic program and password will be passed by our program.
I had tried so many ways and already open word document with password protection but here i need u people
Thnx for valuable suggestions
RobDog888
May 2nd, 2006, 07:25 PM
What version of PowerPoint and what code are your trying to use?
mohit_5783
May 2nd, 2006, 11:06 PM
Office Xp
Code is:
Dim PowerPoint As PowerPoint.Application
Dim oFile As PowerPoint.Presentation
Dim oShape As PowerPoint.Shape
Dim oSlide As PowerPoint.Slide
Dim lngSlideCounter As Long
'Set variables.
lngSlideCounter = 1
Set PowerPoint = New PowerPoint.Application
PowerPoint.Visible = msoTrue
PowerPoint.WindowState = ppWindowMinimized
PowerPoint.ShowWindowsInTaskbar = msoFalse
Set oFile = PowerPoint.Presentations.Open(strSourcePPTpath)
Now what to do for password this code will open the presentation.
RobDog888
May 3rd, 2006, 04:24 AM
There are no commandline switches for passing a password in PP or .Open parameters but you may be able to with the PP Viewer utility. Once the presentation is open you can reset the password using the presentation.password property but the point is mute.
mohamad
Apr 14th, 2009, 02:27 AM
Dear Friends,
I want to open a powerpoint which is password protected with my visual basic program and password will be passed by our program.
I had tried so many ways and already open word document with password protection but here i need u people
Thnx for valuable suggestions plz can you help me
mohamad
Apr 14th, 2009, 02:35 AM
can you help me to open this file
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.