|
-
May 2nd, 2006, 12:52 PM
#1
Thread Starter
New Member
Open Powerpoint [password]
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
-
May 2nd, 2006, 07:25 PM
#2
Re: Open Powerpoint [password]
What version of PowerPoint and what code are your trying to use?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 2nd, 2006, 11:06 PM
#3
Thread Starter
New Member
Re: Open Powerpoint [password]
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.
-
May 3rd, 2006, 04:24 AM
#4
Re: Open Powerpoint [password]
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 14th, 2009, 02:27 AM
#5
New Member
Re: Open Powerpoint [password]
 Originally Posted by mohit_5783
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
-
Apr 14th, 2009, 02:35 AM
#6
New Member
Re: Open Powerpoint [password]
can you help me to open this file
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|