Simple Notepad Programming 4

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Simple Notepad Programming #4

Crete a new file in Notepad then type:



dim name
x=msgbox("Type your name below.",,"My First Program")
name=inputbox("What do I call you?")
msgbox("Hello," + name)
StrText=("Hello user. Welcome to your computer.")
set ObjVoice = CreateObject("SAPI.SpVoice")
ObjVoice.speak StrText

Click File, then Save, type Ask.vbs, then save or enter.

You might also like