Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening .pdf or .doc files in Toolbar with WebBrowser
#2
web can connect to web browser control only if it displays html document.

Do like in the hook function - through WebBrowser interface.

Code:
Copy      Help
int h=win("TOOLBAR WITH WEB BROWSER" "QM_toolbar"); if(!h) ret
SHDocVw.WebBrowser b._getcontrol(id(100 h))

b.Navigate(_s.expandpath("$personal$\Book1.xls"))
5
b.Navigate("http://www.quickmacros.com")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)