| | |
Powerpoint 2007 with VB6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2007
Posts: 1
Reputation:
Solved Threads: 0
I am trying to open powerpoint slide through webbrowser using vb6
when i use ppt2003 this piece of code works :
WebBrowser1.Navigate2 "D:\Documents and Settings\testers\Desktop\ComparePPT\newgrp.ppt"
WebBrowser1.AddressBar = True
this opens the ppt file in the web browser.
But if i try the same code in powerpoint 2007
WebBrowser1.Navigate2 "D:\Documents and Settings\testers\Desktop\ComparePPT\newgrp.ppt"
WebBrowser1.AddressBar = True
then it opens ppt file instread of opening the ppt file in the web browser.
what i did was tried saving the ppt file as .mhtm and opening the newgrp.mhtm but the problem is if we have internet security medium to high then the mhtm file doesnot open and we cant assume that client will have client security as low every time.
when i use ppt2003 this piece of code works :
WebBrowser1.Navigate2 "D:\Documents and Settings\testers\Desktop\ComparePPT\newgrp.ppt"
WebBrowser1.AddressBar = True
this opens the ppt file in the web browser.
But if i try the same code in powerpoint 2007
WebBrowser1.Navigate2 "D:\Documents and Settings\testers\Desktop\ComparePPT\newgrp.ppt"
WebBrowser1.AddressBar = True
then it opens ppt file instread of opening the ppt file in the web browser.
what i did was tried saving the ppt file as .mhtm and opening the newgrp.mhtm but the problem is if we have internet security medium to high then the mhtm file doesnot open and we cant assume that client will have client security as low every time.
![]() |
Similar Threads
- VB6 Database Program (Visual Basic 4 / 5 / 6)
- VB6 and MS Access 2002 (Visual Basic 4 / 5 / 6)
- "Error in linking List box with the VB6.0 database" (Visual Basic 4 / 5 / 6)
- New key word not recoginized in VB6 connecting to Access (Visual Basic 4 / 5 / 6)
- Deploying VB6 onto different platform (Visual Basic 4 / 5 / 6)
- XP and VB6 (Windows NT / 2000 / XP)
- Vb6 and XP (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Creating Directories
- Next Thread: connecting vb with word ....
Views: 3100 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





