Ok, I got this script which looks into a file and display the welcome message into explorer, I tried adding a picture but i cannot get it to display, if someone could tell me how to display the picture I would be very grateful.
Here is my code, which i need a picture in.
____________________________________________________________
Set objFSO = CreateObject("Scripting.FileSystemObject")
strText = objFSO.OpenTextFile("\\server\logon$\wmessage.txt", 1).ReadAll
Set objExplorer = CreateObject _
("InternetExplorer.Application")
objExplorer.Navigate "about:blank"
objExplorer.width = 300
objExplorer.height = 400
objExplorer.ToolBar = false
objExplorer.StatusBar = false
objExplorer.Fullscreen = false
objExplorer.Left = 50
objExplorer.Top = 50
objExplorer.Visible = true
objExplorer.Document.Body.Style.Cursor = "wait"
Set objDocument = objExplorer.Document
objDocument.Open
objDocument.Writeln "<Body BGColor=#FFFFFF SCROLL=NO>"
objDocument.Writeln "</BODY>"
objDocument.Writeln strText
objDocument.Close
wscript.sleep 11000
objExplorer.Quit
________________________________________________________
Thank you so much.
Have a nice day.
Here is my code, which i need a picture in.
____________________________________________________________
Set objFSO = CreateObject("Scripting.FileSystemObject")
strText = objFSO.OpenTextFile("\\server\logon$\wmessage.txt", 1).ReadAll
Set objExplorer = CreateObject _
("InternetExplorer.Application")
objExplorer.Navigate "about:blank"
objExplorer.width = 300
objExplorer.height = 400
objExplorer.ToolBar = false
objExplorer.StatusBar = false
objExplorer.Fullscreen = false
objExplorer.Left = 50
objExplorer.Top = 50
objExplorer.Visible = true
objExplorer.Document.Body.Style.Cursor = "wait"
Set objDocument = objExplorer.Document
objDocument.Open
objDocument.Writeln "<Body BGColor=#FFFFFF SCROLL=NO>"
objDocument.Writeln "</BODY>"
objDocument.Writeln strText
objDocument.Close
wscript.sleep 11000
objExplorer.Quit
________________________________________________________
Thank you so much.
Have a nice day.