Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

images missing in Internet Control?

Status
Not open for further replies.

gabster

Programmer
Oct 23, 2001
192
0
0
US
Hi all,

I use Microsoft Internet Control to show a generated html im my VB app.
However everything works perfectly fine but the images from my html page are mising. When I right-click and check the properties of an missing image, I get "about:sample.gif"... It looks like there is a path problem. However, the xml/xsl (html) works good as stand alone files so it is not an html error.

This is the code I am using in my app:

Set xml = New DOMDocument
Set xsl = New DOMDocument

xml.async = False
xml.loadXML retMsg 'retMsg is the XML string I am getting from the server

xsl.async = False
xsl.Load (App.Path & "\tt.xsl") 'load stylesheet (xsl)


Final = xml.transformNode(xsl) 'mix them together and output as html - Final is a string variable

WebBrowser1.Navigate "about:blank"
WebBrowser1.Document.Open
WebBrowser1.Document.Write Final
WebBrowser1.Document.Close
WebBrowser1.Refresh


Thanks a lot,
Gabi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top