Powerpoint 2007 with VB6

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2007
Posts: 1
Reputation: rutujagore is an unknown quantity at this point 
Solved Threads: 0
rutujagore rutujagore is offline Offline
Newbie Poster

Powerpoint 2007 with VB6

 
0
  #1
May 3rd, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 3100 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC