7659Views3Replies

Author Options:

how do you make a picture pop up using notepad and saving it as a .vbs file? Answered

i am trying to figure out how to make a picture pop up using notepad and saving it as a .vbs file?
how do you make it pop up after this script code:



dim answer
answer=MsgBox("hello",16,"hello")
answer=MsgBox("how are you", 16,"hello")

*selected picture*

answer=MsgBox("yes", 16,"hello")


using notepad and saved as a .vbs file.
Your help will be greatly appreciated.

Tags:notepad

3 Replies

user
Atul009 (author)2013-03-03

well as far as i remember my days of .bat & .vbs fun this code should do it.
CreateObject("WScript.Shell").Run "image directory/imagename.imageextention"
example to open image img.jpg in directory E:\images
CreateObject("WScript.Shell").Run "E:\images\img.jpg"

Select as Best AnswerUndo Best Answer

user
Atul009 (author)2013-03-03

well as far as i remember my days of .bat & .vbs fun this code should do it.
CreateObject("WScript.Shell").Run "image directory/imagename.imageextention"
example to open image img.jpg in directory E:\images
CreateObject("WScript.Shell").Run "E:\images\img.jpg"

Select as Best AnswerUndo Best Answer

user
cuteblondchick (author)2011-02-20

you could use picnik its a free online software.

Select as Best AnswerUndo Best Answer