I am creating a new Internet Explorer window using VBScripta and displaying a form. I want to add images to the IE window but I'm unable to add any image. A box with a small cross appears instead. I found a similar query here at "Displaying an image in a VBScript MsgBox", but the solution provided loads the image from the net(its working) but I want it from a local folder(not working). Can some help me out with this? Thanks a lot :)
Set objIE = CreateObject("InternetExplorer.Application")
With objIE
.Navigate "C:\Users\NA34242\Documents\SAP\Pages\GetTRs.html"
.ToolBar = False
.StatusBar = False
.Left = 100
.Top = 100
.Width = 200
.Height = 200
.Visible = True
.Document.Title = "Form"
.Document.Body.InnerHTML = "<img src=""C:\images.png"" height=100 width=100>"
End With