Jump to content
Sign in to follow this  
corey822

sorry im a newb but please atleast check

Recommended Posts

CODE
#include <GUIConstants.au3>

$Form1 = GUICreate("test form", 322, 199, 322, 172)

$name = GUICtrlCreateInput("name", 8, 48, 169, 21)

$FORM = GUICtrlCreateLabel("FORM", 152, 24, 35, 17)

$Radio1 = GUICtrlCreateRadio("male", 192, 48, 113, 17)

$Radio2 = GUICtrlCreateRadio("female", 192, 72, 113, 17)

$List1 = GUICtrlCreateList("", 24, 72, 65, 58)

GUICtrlSetData(-1, "ford|holden|saab|bmw|ferarri|subaru|honda|nissan", "ford")

$Group1 = GUICtrlCreateGroup("male/female", 184, 16, 89, 81)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Button1 = GUICtrlCreateButton("send", 128, 128, 129, 25, 0)

$MenuItem1 = GUICtrlCreateMenu("help")

$MenuItem3 = GUICtrlCreateMenuItem("help file", $MenuItem1)

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

ok i need a little help finsihing this first thing first

1. when send button is clicked i wish it to send a email to me with the answers as long as the program has access to the internet

2.

$MenuItem3 = GUICtrlCreateMenuItem("help file", $MenuItem1)

when clicked i wish it to go to a seperate file

ok thats all i want to ask and please dont tell me to search on the forum and in the help file for _inetsmtp or some other thing for the code as i have not found anywhere wat i want to do

sorry for the inconvenience

cheers C.W


C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake

Share this post


Link to post
Share on other sites

1.

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

Case $Button1
_SenEmail()

EndSwitch
WEnd

Func SendEmail()
; ... your code will be here
EndFunc

Search examples forum for InetSmtpMailCom UDF for send emails.

ok thnx m8

cheers C.W


C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake

Share this post


Link to post
Share on other sites

ok im sure u dont understand instead of taking it to a mailer i want it to jsut send in the background with out opening a mail client is there any code to do that even if the subject is preset.

is there a way if so could someone please tell me the code as i ahve seen nobodsy do this as of yet or if u have give me the link it would be muchly appreciated do it as a christmas present thnx

merry xmas to all


C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake

Share this post


Link to post
Share on other sites

ok im sure u dont understand instead of taking it to a mailer i want it to jsut send in the background with out opening a mail client is there any code to do that even if the subject is preset.

is there a way if so could someone please tell me the code as i ahve seen nobodsy do this as of yet or if u have give me the link it would be muchly appreciated do it as a christmas present thnx

merry xmas to all

Link given by Jex is the right one.

Just try it and you will see it's exactly what you want :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...