|
-
Feb 24th, 2000, 05:59 AM
#1
Thread Starter
Member
HOw do you open powerpoint from VB?
not inside a form!
just open the application
anyone ?
please!!!
-
Feb 24th, 2000, 06:05 AM
#2
Addicted Member
Use the shell command
x = shell(""C:\Program Files\MicrosoftOffice\Office\POWERPNT.EXE"")
Of course you will have to change the path to point to were powerpoint is located.
-
Feb 24th, 2000, 06:14 AM
#3
Or, better yet, you can instatiate a PowerPoint object. Add a reference to Microsoft PowerPoint 8.0 (or select the highest version you have installed) Object Library, then use something like this:
Code:
Private Sub Command1_Click()
Dim objPowerPoint As New PowerPoint.Application
objPowerPoint.Visible = msoCTrue
End Sub
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
|