Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
specifying app when opening file in SHDocVw.WebBrowser
#5
Thanks for your help on this tough problem. I am using the SHDocVw.WebBrowser in a dialog to view mostly pdf's but also powerpoint and xls and word docs using setwintext. It works great for PDFs. I can load Powerpoint files as either "Presentations (.ppt) or Shows (like kiosk-mode - free viewer) just by changing file extension of .ppt to .pps. But the only problem is that every time I change slide, a dialog pops up
Quote:This document has been modified. Do you want to save changes?
Yes: Save your chanes
No: Discards your changes
Cancel: Keeps this document open

I have read online and many people describe this problem...mostly with online excel spreadsheets.
One solution I read was to make sure the folder is "read only". THe location I am using IS "read only"
Another suggested this won't work because the WebBrowser control copies it to a temp location which is considered "new".
I can't use a window trigger to
Code:
Copy      Help
clo
the window because it may be in executable.
Any thoughts.
If web browser control doesn't work, is there a different type of dialog window that can be used to show office documents (and pdfs).
Thanks!!
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)