VB Program for message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All

I wanted to write a little executable VB program that
would produce a pop-up text box saying " I Love You" to my
girlfriend as a nice surprise for her Thursday.

Does anyone have any thoughts or even the best way to do
the code!

Thanks

David
 
David,

Using a text editor, such as Notepad, enter this code.


MsgBox "xxxxxxxxxxxxxxxxxxxx" & vbcrlf & vbcrlf & _
" I Love You" & vbcrlf & vbcrlf & _
"xxxxxxxxxxxxxxxxxxxx", _
vbExclamation, "Hey!"

Save it as a VBScript file, say "Luv.vbs", and then schedule a new task in
Windows for Thursday on switch-on.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top