Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SHDocVw.WebBrowser - Load from string
#5
Probably there is a size limit. For example, this code works with a small page but does not work with bigger pages of similar structure.

Code:
Copy      Help
str controls = "3"
str ax3SHD

IntGetFile "http://www.quickmacros.com/support.html" ax3SHD
ax3SHD.replacerx("(?si).+?<html>(.+)</html>.*" "$1")
ax3SHD-"about:"
out
out ax3SHD

if(!ShowDialog("Dialog31" &Dialog31 &controls)) ret

Save the html to a temporary file...

Code:
Copy      Help
ax3SHD.expandpath("$temp$\temp.htm")
str html=...
html.setfile(ax3SHD)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)