Message box with yes or no

March 3, 2012 at 06:20:39
Specs: Windows 7
I need a message box to pop up asking: Do you want to add me to startup? if the user clicks no obviously it ends and does nothing but if yes is chosen it creates an empty txt file in %temp% named 25435.

See More: Message box with yes or no

Report •


#1
April 9, 2012 at 11:33:50
Hi, let me explain.. First if u want to ask question, u must use the choice command. in cmd prompt. when clicking the y for yes, the coding for the file named in temp directory is like this....

echo on
echo..
...
...
...
echo off>%temp%\25435.txt
echo File save successfully
pause


Report •

#2
April 9, 2012 at 23:20:54
Use the MsgBox() function. http://www.vbtutor.net/lesson10.html

Report •

Related Solutions


Ask Question