Posted: Sat Feb 14, 2004 8:33 pm Post subject: [Tutorial] Get the user to send you an email, open website
This program asks the user: 'Send me an email' and will repeatedly ask this question until you enter 'y' or 'n'
typing 'y' will spawn a "New Email Message" window using the default mail client on the users computer, i used this in my MSN 6 Emotion Showcase program www.members.shaw.ca/rfolz/msn_emotion_showcase.exe
Try out my program to see what i mean...(my credits at end)
Very useful at the end of your program along with your credits...
You can also modify this program to ask "Visit my website"
and change mailto:firstname.lastname@example.org to your website address
and it will open Internet explorer, on your webpage..
if user enters 'n' then the program exits loop and contines program
var yn : string := ""
%start of program credits or whatever%
locate (6, 1)
put "Send Me An Email (y/n): " ..
if yn = "y" then
if not Sys.Exec ("mailto:email@example.com") then % must have this in an if statement
put "New Email Msg Failed To Create" ..
%Rest of Program Credits or whatever%
if u have any questions or comments dont be affraid to ask
Mod Edit: doesn't seem like a tutorial to me, Moved