acidman Posted March 8, 2012 Share Posted March 8, 2012 (edited) expandcollapse popup[ /autoit] #include <Memory.au3> #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <DateTimeConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #include <GuiComboBox.au3> #include <GuiButton.au3> #include <Inet.au3> #include <GuiDateTimePicker.au3> #cs ProgressOn("Student Database (Build 0.4) ", "Please Wait Allocating Memory...", "0%") ; Update the progress value of the progress bar window every second. For $i = 0 To 100 Step 2 Sleep(100) ProgressSet($i, $i & "%") Next $proc = ProcessSetPriority("Student Database - Mogolo Academy", 3) ; Set the "subtext" and "maintext" of the progress bar window. ProgressSet(100, "You may Now Continue", "Thank you...") Sleep(2000) ; Close the progress window. ProgressOff() _MemGlobalUnlock($proc) #ce Opt("GUIResizeMode", $GUI_DOCKAUTO) #region ### START Koda GUI section ### Form=c:documents and settingschrisdesktopproject mogoloformsdesign.kxf $Form1_1 = GUICreate("Student Database - Mogolo Academy", 459, 562, 240, 167, BitOR($GUI_SS_DEFAULT_GUI, $WS_MAXIMIZEBOX, $WS_TABSTOP, $DS_MODALFRAME)) $MenuItem1 = GUICtrlCreateMenu("&File ") $MenuItem4 = GUICtrlCreateMenuItem("Open Student File", $MenuItem1) $MenuItem5 = GUICtrlCreateMenuItem("Close Student File", $MenuItem1) $MenuItem6 = GUICtrlCreateMenuItem("Delete Student File", $MenuItem1) $MenuItem28 = GUICtrlCreateMenuItem("Save Student File", $MenuItem1) $MenuItem7 = GUICtrlCreateMenuItem("", $MenuItem1) $MenuItem8 = GUICtrlCreateMenuItem("Exit", $MenuItem1) $MenuItem2 = GUICtrlCreateMenu("&Tools") $MenuItem9 = GUICtrlCreateMenu("Import", $MenuItem2) $MenuItem12 = GUICtrlCreateMenuItem("Scanned Certificate", $MenuItem9) $MenuItem10 = GUICtrlCreateMenu("Export", $MenuItem2) $MenuItem13 = GUICtrlCreateMenuItem("Student Information File", $MenuItem10) $MenuItem11 = GUICtrlCreateMenuItem("Personal Contact Details", $MenuItem10) $MenuItem14 = GUICtrlCreateMenu("Reports", $MenuItem10) $MenuItem15 = GUICtrlCreateMenu("Print", $MenuItem14) $MenuItem17 = GUICtrlCreateMenuItem("Payment History", $MenuItem15) $MenuItem18 = GUICtrlCreateMenuItem("Screening History", $MenuItem15) $MenuItem19 = GUICtrlCreateMenuItem("History At Mogolo", $MenuItem15) $MenuItem16 = GUICtrlCreateMenu("View", $MenuItem14) $MenuItem20 = GUICtrlCreateMenuItem("Payment History", $MenuItem16) $MenuItem21 = GUICtrlCreateMenuItem("Screening History", $MenuItem16) $MenuItem22 = GUICtrlCreateMenuItem("History At Mogolo", $MenuItem16) $MenuItem3 = GUICtrlCreateMenu("&Help") $MenuItem23 = GUICtrlCreateMenuItem("About...", $MenuItem3) $MenuItem24 = GUICtrlCreateMenuItem("Help File", $MenuItem3) $MenuItem25 = GUICtrlCreateMenuItem("View Tutorial", $MenuItem3) $MenuItem26 = GUICtrlCreateMenuItem("&", $MenuItem3) $MenuItem27 = GUICtrlCreateMenuItem("Report a bug", $MenuItem3) $Pic1 = GUICtrlCreatePic("C:Documents and SettingsChrisDesktopProject MogoloPicturesMogolo Label.jpg", 8, 8, 444, 116, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetResizing(-1, $GUI_DOCKAUTO + $GUI_DOCKLEFT + $GUI_DOCKTOP + $GUI_DOCKVCENTER + $GUI_DOCKWIDTH) $Tab1 = GUICtrlCreateTab(8, 128, 441, 417) GUICtrlSetResizing(-1, $GUI_DOCKAUTO) $TabSheet1 = GUICtrlCreateTabItem("Student Information") $Group1 = GUICtrlCreateGroup("Student Information", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label1 = GUICtrlCreateLabel("Student Number:", 24, 184, 99, 17) $Input1 = GUICtrlCreateInput("", 136, 184, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Student Number:") $Label2 = GUICtrlCreateLabel("First Name:", 24, 216, 68, 17) $Input2 = GUICtrlCreateInput("", 136, 216, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "First Name") $Label3 = GUICtrlCreateLabel("Middle Name:", 24, 248, 81, 17) $Input3 = GUICtrlCreateInput("", 136, 248, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Middle Name") $Label4 = GUICtrlCreateLabel("Surname:", 24, 280, 57, 17) $Input4 = GUICtrlCreateInput("", 136, 280, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Surname") $Label5 = GUICtrlCreateLabel("ID Number:", 24, 312, 68, 17) $Input5 = GUICtrlCreateInput("", 136, 312, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT, $ES_NUMBER), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "ID Number") $Label6 = GUICtrlCreateLabel("Age:", 24, 344, 30, 17) $Input6 = GUICtrlCreateInput("", 136, 344, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Age") $Label7 = GUICtrlCreateLabel("Gender:", 24, 376, 49, 17) $Combo1 = GUICtrlCreateCombo("", 136, 376, 121, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "Male|Female") GUICtrlSetTip(-1, "Select Gender") $Label8 = GUICtrlCreateLabel("Course Attending:", 24, 408, 105, 17) $Input7 = GUICtrlCreateInput("", 136, 408, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Course Attending") $Label9 = GUICtrlCreateLabel("Year:", 24, 440, 30, 17) $Input8 = GUICtrlCreateInput("", 136, 440, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Year attending") $Label10 = GUICtrlCreateLabel("Block:", 24, 472, 36, 17) $Input9 = GUICtrlCreateInput("", 136, 472, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetTip(-1, "Block attending") $Label11 = GUICtrlCreateLabel("Picture", 312, 184, 44, 17) $Pic2 = GUICtrlCreatePic("C:Documents and SettingsChrisDesktopProject MogoloPicturesface.jpg", 272, 216, 145, 241) GUICtrlSetTip(-1, "Student Picture") $Button1 = GUICtrlCreateButton("Browse For Picture", 272, 472, 147, 25) GUICtrlSetTip(-1, "Click me to Browse for a picture") GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet2 = GUICtrlCreateTabItem("Course Information") $Group2 = GUICtrlCreateGroup("Course Information", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label12 = GUICtrlCreateLabel("Date of First Register:", 24, 184, 129, 17) $Date1 = GUICtrlCreateDate("", 24, 208, 178, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetFont(-1, 6, 800, 0, "MS Sans Serif") $Label13 = GUICtrlCreateLabel("# Times In Level:", 208, 184, 103, 17) $Input10 = GUICtrlCreateInput("", 328, 184, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label14 = GUICtrlCreateLabel("1)Level:", 208, 208, 39, 17) $Input11 = GUICtrlCreateInput("", 280, 208, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label15 = GUICtrlCreateLabel("1)Subject:", 208, 232, 51, 17) $Input12 = GUICtrlCreateInput("", 280, 232, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input13 = GUICtrlCreateInput("", 280, 256, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label17 = GUICtrlCreateLabel("2)Level:", 208, 320, 39, 17) $Label16 = GUICtrlCreateLabel("1)Facilitator:", 208, 256, 64, 17) $Label18 = GUICtrlCreateLabel("2)Subject:", 208, 344, 51, 17) $Label19 = GUICtrlCreateLabel("2)Facilitator:", 208, 368, 64, 17) $Label20 = GUICtrlCreateLabel("3)Level:", 208, 432, 39, 17) $Input14 = GUICtrlCreateInput("", 280, 320, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input15 = GUICtrlCreateInput("", 280, 344, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input16 = GUICtrlCreateInput("", 280, 368, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input17 = GUICtrlCreateInput("", 280, 432, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label21 = GUICtrlCreateLabel("3)Subject:", 208, 456, 51, 17) $Input18 = GUICtrlCreateInput("", 280, 456, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label22 = GUICtrlCreateLabel("3)Facilitator:", 208, 480, 60, 17) $Input19 = GUICtrlCreateInput("", 280, 480, 145, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label23 = GUICtrlCreateLabel("Duration:", 24, 320, 56, 17) $Input20 = GUICtrlCreateInput("", 88, 320, 113, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label24 = GUICtrlCreateLabel("Cost:", 24, 344, 33, 17) $Input21 = GUICtrlCreateInput("", 88, 344, 113, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label25 = GUICtrlCreateLabel("Block:", 24, 368, 40, 17) $Input22 = GUICtrlCreateInput("", 88, 368, 113, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label26 = GUICtrlCreateLabel("First Timer:", 24, 432, 63, 17) $Label27 = GUICtrlCreateLabel("Repeater:", 24, 456, 56, 17) $Label28 = GUICtrlCreateLabel("Attendance Per Block:", 24, 480, 128, 17) $Input23 = GUICtrlCreateInput("", 88, 456, 113, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input24 = GUICtrlCreateInput("", 88, 432, 113, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Input25 = GUICtrlCreateInput("", 160, 480, 41, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet3 = GUICtrlCreateTabItem("Personal Details") $Group3 = GUICtrlCreateGroup("Personal Details", 16, 160, 417, 345) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label29 = GUICtrlCreateLabel("Initials:", 24, 184, 41, 17) $Input26 = GUICtrlCreateInput("", 24, 208, 161, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label30 = GUICtrlCreateLabel("Title:", 24, 232, 29, 17) $Combo2 = GUICtrlCreateCombo("", 24, 256, 161, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL), $WS_EX_STATICEDGE) GUICtrlSetData(-1, "Mrs|Ms|Mr") $Label31 = GUICtrlCreateLabel("Equity:", 24, 280, 39, 17) $Input27 = GUICtrlCreateInput("", 24, 304, 161, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label32 = GUICtrlCreateLabel("Gender:", 24, 336, 45, 17) $Combo3 = GUICtrlCreateCombo("", 24, 360, 161, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "Male|Female") $Label33 = GUICtrlCreateLabel("Nationality:", 24, 392, 64, 17) $Input28 = GUICtrlCreateInput("", 24, 416, 161, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label34 = GUICtrlCreateLabel("Citizen Status:", 24, 448, 86, 17) $Input29 = GUICtrlCreateInput("", 24, 472, 161, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label35 = GUICtrlCreateLabel("Date of Birth:", 240, 184, 80, 17) $Date2 = GUICtrlCreateDate("", 240, 208, 186, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label36 = GUICtrlCreateLabel("Disability Description:", 240, 232, 123, 17) $Edit1 = GUICtrlCreateEdit("", 240, 256, 185, 73, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label37 = GUICtrlCreateLabel("Home Language:", 240, 336, 100, 17) $Input30 = GUICtrlCreateInput("", 240, 360, 185, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label38 = GUICtrlCreateLabel("Alternate ID Type:", 240, 392, 112, 17) $Input31 = GUICtrlCreateInput("", 240, 416, 185, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label39 = GUICtrlCreateLabel("ID no:", 240, 448, 39, 17) $Input32 = GUICtrlCreateInput("", 240, 472, 185, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet4 = GUICtrlCreateTabItem("Contact Details") $Group4 = GUICtrlCreateGroup("Contact Details", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label40 = GUICtrlCreateLabel("Phone Number:", 56, 184, 91, 17) $Input33 = GUICtrlCreateInput("", 72, 208, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label41 = GUICtrlCreateLabel("Cell Number:", 48, 240, 76, 17) $Input34 = GUICtrlCreateInput("", 72, 264, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label42 = GUICtrlCreateLabel("Fax Number:", 48, 296, 75, 17) $Input35 = GUICtrlCreateInput("", 72, 320, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label43 = GUICtrlCreateLabel("Home Address:", 48, 352, 89, 17) $Input36 = GUICtrlCreateInput("", 72, 376, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label44 = GUICtrlCreateLabel("E-mail Address:", 48, 416, 91, 17) $Input37 = GUICtrlCreateInput("", 72, 440, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label45 = GUICtrlCreateLabel("Postal Address:", 272, 184, 92, 17) $Edit2 = GUICtrlCreateEdit("", 232, 232, 185, 209, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "") GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet5 = GUICtrlCreateTabItem("Employment Details") $Group5 = GUICtrlCreateGroup("Employment Details", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Radio1 = GUICtrlCreateRadio("Employed ", 24, 184, 113, 17) $Radio2 = GUICtrlCreateRadio("Unemployed", 24, 208, 113, 17) $Label46 = GUICtrlCreateLabel("Employer:", 24, 256, 59, 17) $Input38 = GUICtrlCreateInput("", 104, 256, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label47 = GUICtrlCreateLabel("Manager:", 24, 296, 57, 17) $Input39 = GUICtrlCreateInput("", 104, 296, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label48 = GUICtrlCreateLabel("Job Title:", 24, 336, 57, 17) $Input40 = GUICtrlCreateInput("", 104, 336, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label49 = GUICtrlCreateLabel("Department:", 24, 376, 73, 17) $Input41 = GUICtrlCreateInput("", 104, 376, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label50 = GUICtrlCreateLabel("Province:", 24, 440, 58, 17) $Combo4 = GUICtrlCreateCombo("", 104, 440, 121, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "North-west|Northen-Province|Limpopo|Mpumalanga|Free-State|Kwazulu-Natal|Western-Cape|Northen-Cape|Gauteng") GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet6 = GUICtrlCreateTabItem("Emergency Contact Details") $Group6 = GUICtrlCreateGroup("Emergency Contact Details", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label51 = GUICtrlCreateLabel("Next of Kin:", 24, 192, 71, 17) $Label52 = GUICtrlCreateLabel("Name:", 32, 224, 40, 17) $Input42 = GUICtrlCreateInput("", 40, 248, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label53 = GUICtrlCreateLabel("Relationship:", 32, 272, 78, 17) $Input43 = GUICtrlCreateInput("", 40, 296, 121, 21) $Label54 = GUICtrlCreateLabel("Residential Address:", 32, 320, 120, 17) $Input44 = GUICtrlCreateInput("", 40, 344, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label55 = GUICtrlCreateLabel("Cell #:", 32, 376, 41, 17) $Input45 = GUICtrlCreateInput("", 40, 400, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label56 = GUICtrlCreateLabel("Home #:", 32, 432, 52, 17) $Input46 = GUICtrlCreateInput("", 40, 464, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label57 = GUICtrlCreateLabel("Medical Aid:", 184, 224, 74, 17) $Radio3 = GUICtrlCreateRadio("Yes", 192, 248, 113, 17) $Radio4 = GUICtrlCreateRadio("No", 192, 280, 113, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet7 = GUICtrlCreateTabItem("Guardian Contact Details") $Group7 = GUICtrlCreateGroup("Guardian Contact Details", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label58 = GUICtrlCreateLabel("Name:", 40, 192, 40, 17) $Input47 = GUICtrlCreateInput("", 48, 216, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label59 = GUICtrlCreateLabel("ID #:", 40, 248, 33, 17) $Input48 = GUICtrlCreateInput("", 48, 272, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label60 = GUICtrlCreateLabel("Home Address:", 40, 304, 89, 17) $Input49 = GUICtrlCreateInput("", 48, 328, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label61 = GUICtrlCreateLabel("Home #:", 40, 360, 52, 17) $Input50 = GUICtrlCreateInput("", 48, 384, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label62 = GUICtrlCreateLabel("Cell #:", 40, 416, 41, 17) $Input51 = GUICtrlCreateInput("", 48, 440, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label63 = GUICtrlCreateLabel("Postal Address:", 224, 192, 92, 17) $Edit3 = GUICtrlCreateEdit("", 208, 240, 185, 201) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet8 = GUICtrlCreateTabItem("Educational History") $Group8 = GUICtrlCreateGroup("Educational History", 16, 160, 417, 353) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label64 = GUICtrlCreateLabel("Primary", 24, 184, 45, 17) $Label65 = GUICtrlCreateLabel("Highest Level Passed:", 24, 208, 131, 17) $Input52 = GUICtrlCreateInput("", 24, 232, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label66 = GUICtrlCreateLabel("Institution/School:", 24, 256, 109, 17) $Input53 = GUICtrlCreateInput("", 24, 280, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label67 = GUICtrlCreateLabel("Year Obtained:", 24, 304, 89, 17) $Input54 = GUICtrlCreateInput("", 24, 328, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label68 = GUICtrlCreateLabel("Subjects:", 24, 368, 57, 17) $Button2 = GUICtrlCreateButton("View/Add", 24, 384, 131, 21) $Button3 = GUICtrlCreateButton("View/Add", 24, 480, 131, 21) $Label69 = GUICtrlCreateLabel("Certificates:", 24, 456, 72, 17) $Label71 = GUICtrlCreateLabel("Secondary", 160, 184, 64, 17) $Label70 = GUICtrlCreateLabel("Highest Level Passed", 160, 208, 127, 17) $Input55 = GUICtrlCreateInput("", 160, 232, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label72 = GUICtrlCreateLabel("Institution/School:", 160, 256, 109, 17) $Input56 = GUICtrlCreateInput("", 160, 280, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label73 = GUICtrlCreateLabel("Year Obtained", 160, 304, 85, 17) $Input57 = GUICtrlCreateInput("", 160, 328, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label74 = GUICtrlCreateLabel("Subjects:", 160, 368, 57, 17) $Button4 = GUICtrlCreateButton("View/Add", 160, 384, 131, 21) $Label75 = GUICtrlCreateLabel("Certificates:", 160, 456, 72, 17) $Button5 = GUICtrlCreateButton("View/Add", 160, 480, 131, 21) $Label76 = GUICtrlCreateLabel("Abet", 296, 184, 30, 17) $Label77 = GUICtrlCreateLabel("Previous Abet Level", 296, 208, 118, 17) $Input58 = GUICtrlCreateInput("", 296, 232, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label78 = GUICtrlCreateLabel("Year Attended:", 296, 256, 89, 17) $Input59 = GUICtrlCreateInput("", 296, 280, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label79 = GUICtrlCreateLabel("Block Attended:", 296, 304, 95, 17) $Input60 = GUICtrlCreateInput("", 296, 328, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label80 = GUICtrlCreateLabel("N Levels", 296, 352, 54, 17) $Label81 = GUICtrlCreateLabel("Subjects:", 296, 368, 57, 17) $Button6 = GUICtrlCreateButton("View/Add", 296, 384, 123, 21) $Label82 = GUICtrlCreateLabel("Level Attended:", 296, 408, 94, 17) $Input61 = GUICtrlCreateInput("", 296, 432, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label83 = GUICtrlCreateLabel("Year Attended:", 296, 456, 89, 17) $Input62 = GUICtrlCreateInput("", 296, 480, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet9 = GUICtrlCreateTabItem("Screening History") $Group9 = GUICtrlCreateGroup("Screening History", 16, 160, 417, 377) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label84 = GUICtrlCreateLabel("RESULTS IF APPLICABLE", 24, 184, 154, 17) $Label85 = GUICtrlCreateLabel("Subjects:", 24, 208, 57, 17) $Button7 = GUICtrlCreateButton("View/Add", 24, 232, 75, 25) $Label86 = GUICtrlCreateLabel("Level:", 24, 280, 39, 17) $Input63 = GUICtrlCreateInput("", 24, 304, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label87 = GUICtrlCreateLabel("Date:", 24, 352, 35, 17) $Date3 = GUICtrlCreateDate("2012/02/27 14:57:48", 24, 376, 122, 21) $Button8 = GUICtrlCreateButton("View/Add", 168, 232, 75, 25) $Label88 = GUICtrlCreateLabel("Subjects:", 168, 208, 57, 17) $Label89 = GUICtrlCreateLabel("Level:", 168, 280, 39, 17) $Input64 = GUICtrlCreateInput("", 168, 304, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label90 = GUICtrlCreateLabel("Date:", 168, 352, 35, 17) $Date4 = GUICtrlCreateDate("2012/02/27 15:10:7", 168, 376, 122, 21) $Label91 = GUICtrlCreateLabel("Subjects:", 304, 208, 57, 17) $Button9 = GUICtrlCreateButton("View/Add", 304, 232, 75, 25) $Label92 = GUICtrlCreateLabel("Level:", 304, 280, 39, 17) $Input65 = GUICtrlCreateInput("", 304, 304, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label93 = GUICtrlCreateLabel("Date:", 304, 352, 35, 17) $Date5 = GUICtrlCreateDate("2012/02/27 15:12:50", 304, 376, 122, 21) $Label94 = GUICtrlCreateLabel("Recommended starting level:", 144, 448, 168, 17) $Combo5 = GUICtrlCreateCombo("", 152, 480, 145, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL)) GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10|11|12|13|14|15") GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet10 = GUICtrlCreateTabItem("Payment History") $Group10 = GUICtrlCreateGroup("Payment History", 16, 168, 417, 361) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label95 = GUICtrlCreateLabel("Course:", 24, 192, 47, 17) $Input66 = GUICtrlCreateInput("", 80, 192, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label96 = GUICtrlCreateLabel("Level:", 24, 216, 39, 17) $Input67 = GUICtrlCreateInput("", 80, 216, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label97 = GUICtrlCreateLabel("Block:", 24, 240, 40, 17) $Input68 = GUICtrlCreateInput("", 80, 240, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label98 = GUICtrlCreateLabel("Price:", 24, 264, 37, 17) $Input69 = GUICtrlCreateInput("", 80, 264, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label99 = GUICtrlCreateLabel("Payment Type:", 24, 288, 88, 17) $Combo6 = GUICtrlCreateCombo("", 24, 304, 145, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL)) GUICtrlSetData(-1, "Cash|EFT|Cheque") $Label100 = GUICtrlCreateLabel("Person Responsible For Payment:", 24, 328, 194, 17) $Input70 = GUICtrlCreateInput("", 24, 344, 129, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label101 = GUICtrlCreateLabel("Payment Setup:", 232, 192, 93, 17) $Label102 = GUICtrlCreateLabel("Full Amount:", 232, 216, 74, 17) $Input71 = GUICtrlCreateInput("", 328, 216, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label103 = GUICtrlCreateLabel("Date:", 232, 240, 35, 17) $Date6 = GUICtrlCreateDate("2012/02/27 15:28:44", 272, 240, 154, 21) $Label104 = GUICtrlCreateLabel("Deposit Amount:", 232, 264, 97, 17) $Input72 = GUICtrlCreateInput("", 328, 264, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label105 = GUICtrlCreateLabel("Date:", 232, 288, 35, 17) $Date7 = GUICtrlCreateDate("2012/02/27 15:30:2", 272, 288, 154, 21) $Label106 = GUICtrlCreateLabel("Monthly Amount:", 232, 312, 98, 17) $Input73 = GUICtrlCreateInput("", 328, 312, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label107 = GUICtrlCreateLabel("Date:", 232, 336, 35, 17) $Date8 = GUICtrlCreateDate("2012/02/27 15:31:4", 272, 336, 154, 21) $Label108 = GUICtrlCreateLabel("Receipt #:", 24, 376, 64, 17) $Input74 = GUICtrlCreateInput("", 88, 376, 209, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label109 = GUICtrlCreateLabel("PAYMENT RECORD", 24, 400, 119, 17) $Input75 = GUICtrlCreateInput("", 152, 424, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label110 = GUICtrlCreateLabel("Total Owing:", 24, 424, 76, 17) $Label111 = GUICtrlCreateLabel("Paid to date:", 24, 456, 77, 17) $Input76 = GUICtrlCreateInput("", 152, 456, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Lable112 = GUICtrlCreateLabel("Amount Outstanding:", 24, 488, 122, 17) $Input77 = GUICtrlCreateInput("", 152, 488, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet11 = GUICtrlCreateTabItem("Comments") $Group11 = GUICtrlCreateGroup("Comments", 16, 168, 417, 369) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label112 = GUICtrlCreateLabel("Dropped:", 24, 192, 56, 17) $Input78 = GUICtrlCreateInput("", 88, 192, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label113 = GUICtrlCreateLabel("Reason:", 24, 216, 51, 17) $Input79 = GUICtrlCreateInput("", 88, 216, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label114 = GUICtrlCreateLabel("Year:", 24, 240, 34, 17) $Input80 = GUICtrlCreateInput("", 88, 248, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label115 = GUICtrlCreateLabel("Block:", 24, 264, 40, 17) $Input81 = GUICtrlCreateInput("", 88, 264, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label116 = GUICtrlCreateLabel("Date:", 24, 288, 35, 17) $Date9 = GUICtrlCreateDate("2012/02/27 15:44:0", 88, 288, 122, 21) $Label117 = GUICtrlCreateLabel("Condoned:", 24, 312, 65, 17) $Input82 = GUICtrlCreateInput("", 88, 312, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label118 = GUICtrlCreateLabel("Year:", 24, 336, 34, 17) $Input83 = GUICtrlCreateInput("", 88, 336, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label119 = GUICtrlCreateLabel("Block:", 24, 360, 40, 17) $Input84 = GUICtrlCreateInput("", 88, 360, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label120 = GUICtrlCreateLabel("Date:", 24, 384, 35, 17) $Date10 = GUICtrlCreateDate("2012/02/27 15:45:56", 88, 384, 122, 21) $Label121 = GUICtrlCreateLabel("Passed:", 24, 08, 49, 17) $Input85 = GUICtrlCreateInput("", 88, 408, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label122 = GUICtrlCreateLabel("Year:", 24, 432, 34, 17) $Input86 = GUICtrlCreateInput("", 88, 432, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label123 = GUICtrlCreateLabel("Block:", 24, 456, 40, 17) $Input87 = GUICtrlCreateInput("", 88, 456, 121, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label124 = GUICtrlCreateLabel("Date:", 24, 480, 35, 17) $Date11 = GUICtrlCreateDate("2012/02/27 15:50:55", 88, 480, 122, 21) $Label125 = GUICtrlCreateLabel("Allergies/Chronic Illnes:", 256, 192, 139, 17) $Edit4 = GUICtrlCreateEdit("", 256, 216, 153, 281, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "") GUICtrlCreateGroup("", -99, -99, 1, 1) $TabSheet12 = GUICtrlCreateTabItem("History At Mogolo") $Group12 = GUICtrlCreateGroup("History at Mogolo", 16, 160, 425, 377) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Label126 = GUICtrlCreateLabel("Comment:", 24, 184, 59, 17) $Edit5 = GUICtrlCreateEdit("", 24, 200, 97, 201, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label127 = GUICtrlCreateLabel("Comment:", 336, 184, 59, 17) $Edit6 = GUICtrlCreateEdit("", 128, 200, 97, 201, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "") $Label128 = GUICtrlCreateLabel("Comment:", 128, 184, 59, 17) $Edit7 = GUICtrlCreateEdit("", 232, 200, 97, 201, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label129 = GUICtrlCreateLabel("Comment", 232, 184, 55, 17) $Edit8 = GUICtrlCreateEdit("", 336, 200, 97, 201, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetData(-1, "") $Label130 = GUICtrlCreateLabel("Date:", 24, 408, 35, 17) $Date12 = GUICtrlCreateDate("2012/02/27 16:00:9", 24, 432, 98, 21) $Label131 = GUICtrlCreateLabel("Facilitator:", 24, 472, 64, 17) $Input88 = GUICtrlCreateInput("", 24, 496, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label132 = GUICtrlCreateLabel("Date:", 128, 416, 35, 17) $Date13 = GUICtrlCreateDate("2012/02/27 16:01:45", 128, 432, 98, 21) $Label133 = GUICtrlCreateLabel("Facilitator:", 128, 472, 64, 17) $Input89 = GUICtrlCreateInput("", 128, 496, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label134 = GUICtrlCreateLabel("Date:", 232, 416, 35, 17) $Date14 = GUICtrlCreateDate("2012/02/27 16:02:35", 232, 432, 98, 21) $Label135 = GUICtrlCreateLabel("Facilitator:", 232, 472, 64, 17) $Input90 = GUICtrlCreateInput("", 232, 496, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) $Label136 = GUICtrlCreateLabel("Date:", 336, 416, 35, 17) $Date15 = GUICtrlCreateDate("2012/02/27 16:03:26", 336, 432, 98, 21) $Label137 = GUICtrlCreateLabel("Facilitator:", 336, 472, 64, 17) $Input91 = GUICtrlCreateInput("", 336, 496, 97, 21, -1, BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlCreateGroup("", -99, -99, 1, 1) GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) ;~ PRI Certificates Gui Opt("GUIDataSeparatorChar", "|") $FormC = GUICreate("Primary Certificates", 330, 648, 192, 124) $ButtonC1 = GUICtrlCreateButton("Browse for Certificate", 16, 8, 155, 25) $ComboC1 = GUICtrlCreateCombo("", 16, 40, 153, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL)) $PicC1 = GUICtrlCreatePic("C:Documents and SettingsChrisDesktopNew FolderPicturesCar pics93 Toyota Supra Turbo.jpg", 8, 72, 300, 564) $ButtonC2 = GUICtrlCreateButton("Save", 232, 40, 75, 25) ControlDisable("Certificates", "", $ButtonC2) $ButtonC3 = GUICtrlCreateButton("Open", 232, 8, 75, 25) GUISetState(-1, @SW_HIDE) GUISwitch($Form1_1) ;~ PRIMARY SUBS $FormPS = GUICreate("Primary Sub's", 188, 347, -1, -1) $LabelPS1 = GUICtrlCreateLabel("01", 8, 8, 16, 17) $LabelPS2 = GUICtrlCreateLabel("02", 8, 32, 16, 17) $LabelPS3 = GUICtrlCreateLabel("03", 8, 56, 16, 17) $LabelPS4 = GUICtrlCreateLabel("04", 8, 80, 16, 17) $LabelPS5 = GUICtrlCreateLabel("05", 8, 104, 16, 17) $LabelPS6 = GUICtrlCreateLabel("06", 8, 128, 16, 17) $LabelPS7 = GUICtrlCreateLabel("07", 8, 152, 16, 17) $LabelPS8 = GUICtrlCreateLabel("08", 8, 176, 16, 17) $LabelPS9 = GUICtrlCreateLabel("09", 8, 200, 16, 17) $LabelPS10 = GUICtrlCreateLabel("10", 8, 224, 16, 17) $LabelPS11 = GUICtrlCreateLabel("11", 8, 248, 16, 17) $LabelPS12 = GUICtrlCreateLabel("12", 8, 272, 16, 17) $LabelPS13 = GUICtrlCreateLabel("13", 8, 296, 16, 17) $InputPS1 = GUICtrlCreateInput("", 32, 8, 121, 21) $InputPS2 = GUICtrlCreateInput("", 32, 32, 121, 21) $InputPS3 = GUICtrlCreateInput("", 32, 56, 121, 21) $InputPS4 = GUICtrlCreateInput("", 32, 80, 121, 21) $InputPS5 = GUICtrlCreateInput("", 32, 104, 121, 21) $InputPS6 = GUICtrlCreateInput("", 32, 128, 121, 21) $InputPS7 = GUICtrlCreateInput("", 32, 152, 121, 21) $InputPS8 = GUICtrlCreateInput("", 32, 176, 121, 21) $InputPS9 = GUICtrlCreateInput("", 32, 200, 121, 21) $InputPS10 = GUICtrlCreateInput("", 32, 224, 121, 21) $InputPS11 = GUICtrlCreateInput("", 32, 248, 121, 21) $InputPS12 = GUICtrlCreateInput("", 32, 272, 121, 21) $InputPS13 = GUICtrlCreateInput("", 32, 296, 121, 21) $ButtonPS1 = GUICtrlCreateButton("Save", 32, 320, 123, 17) $ButtonPS2 = GUICtrlCreateButton("X", 160, 8, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUICtrlSetTip(-1, "Delete") $ButtonPS3 = GUICtrlCreateButton("X", 160, 32, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS4 = GUICtrlCreateButton("X", 160, 56, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS5 = GUICtrlCreateButton("X", 160, 80, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS6 = GUICtrlCreateButton("X", 160, 104, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS7 = GUICtrlCreateButton("X", 160, 128, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS8 = GUICtrlCreateButton("X", 160, 152, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS9 = GUICtrlCreateButton("X", 160, 176, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS10 = GUICtrlCreateButton("X", 160, 200, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS11 = GUICtrlCreateButton("X", 160, 224, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS12 = GUICtrlCreateButton("X", 160, 248, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS13 = GUICtrlCreateButton("X", 160, 272, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $ButtonPS14 = GUICtrlCreateButton("X", 160, 296, 19, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUISetState(-1, @SW_HIDE) GUISwitch($Form1_1) $add1 = FileRead(@ProgramFilesDir & "Student DatabaseStudent InfoStudent Certificatesfile.txt", "1000") GUICtrlSetData($ComboC1, $add1) #endregion ### END Koda GUI section ### While 1 $msg = GUIGetMsg(1) Select Case $msg[0] = $MenuItem28 If @error Then MsgBox(4096, "", "No File(s) chosen") Else ;Bug 4 ; If the cancel button on the fileopendialog is clicked and no file was selected The character "1" is inserted into all Controls except ;For Buttons Please help! $Read1 = GUICtrlRead($Label1, 0) $Read2 = GUICtrlRead($Input1, 0) DirCreate(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile") IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read1, $Read2) $Read3 = GUICtrlRead($Label2, 0) $Read4 = GUICtrlRead($Input2, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read3, $Read4) $Read5 = GUICtrlRead($Label3, 0) $Read6 = GUICtrlRead($Input3, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read5, $Read6) $Read7 = GUICtrlRead($Label4, 0) $Read8 = GUICtrlRead($Input4, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read7, $Read8) $Read9 = GUICtrlRead($Label5, 0) $Read10 = GUICtrlRead($Input5, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read9, $Read10) $Read11 = GUICtrlRead($Label6, 0) $Read12 = GUICtrlRead($Input6, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read11, $Read12) $Read13 = GUICtrlRead($Label7, 0) $Read14 = _GUICtrlComboBox_GetEditText($Combo1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read13, $Read14) $Read15 = GUICtrlRead($Label8, 0) $Read16 = GUICtrlRead($Input7, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read15, $Read16) $Read17 = GUICtrlRead($Label9, 0) $Read18 = GUICtrlRead($Input8, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read17, $Read18) $Read19 = GUICtrlRead($Label10, 0) $Read20 = GUICtrlRead($Input9, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Student Info", $Read19, $Read20) ;Tab control no 2-------------------------------------------------------------------------------------------------------------------- $Read21 = GUICtrlRead($Label12, 0) $Read22 = GUICtrlRead($Date1, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read21, $Read22) $Read211 = GUICtrlRead(63, 0) $Read222 = GUICtrlRead(64, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read211, $Read222) $Read23 = GUICtrlRead(65, 0) $Read24 = GUICtrlRead(66, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read23, $Read24) $Read25 = GUICtrlRead(67, 0) $Read26 = GUICtrlRead(68, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read25, $Read26) $Read27 = GUICtrlRead(71, 0) $Read28 = GUICtrlRead(69, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read27, $Read28) $Read29 = GUICtrlRead(70, 0) $Read30 = GUICtrlRead(75, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read29, $Read30) $Read31 = GUICtrlRead(72, 0) $Read32 = GUICtrlRead(76, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read31, $Read32) $Read33 = GUICtrlRead(73, 0) $Read34 = GUICtrlRead(77, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read33, $Read34) $Read35 = GUICtrlRead(74, 0) $Read36 = GUICtrlRead(78, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read35, $Read36) $Read37 = GUICtrlRead(79, 0) $Read38 = GUICtrlRead(80, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read37, $Read38) $Read39 = GUICtrlRead(81, 0) $Read40 = GUICtrlRead(82, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read39, $Read40) $Read41 = GUICtrlRead(83, 0) $Read42 = GUICtrlRead(84, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read41, $Read42) $Read43 = GUICtrlRead(85, 0) $Read44 = GUICtrlRead(86, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read43, $Read44) $Read45 = GUICtrlRead(87, 0) $Read46 = GUICtrlRead(88, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read45, $Read46) $Read47 = GUICtrlRead(89, 0) $Read48 = GUICtrlRead(93, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read47, $Read48) $Read49 = GUICtrlRead(90, 0) $Read50 = GUICtrlRead(92, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read49, $Read50) $Read51 = GUICtrlRead(91, 0) $Read52 = GUICtrlRead(94, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Course Info", $Read51, $Read52) ;~ ------------------------------------------------------------------------------------------------------------- $Read53 = GUICtrlRead(98, 0) $Read54 = GUICtrlRead(99, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read53, $Read54) $Read55 = GUICtrlRead(100, 0) $Read56 = _GUICtrlComboBox_GetEditText($Combo2) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read55, $Read56) $Read57 = GUICtrlRead(102, 0) $Read58 = GUICtrlRead(103, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read57, $Read58) $Read59 = GUICtrlRead(104, 0) $Read60 = _GUICtrlComboBox_GetEditText($Combo3) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read59, $Read60) $Read61 = GUICtrlRead(106, 0) $Read62 = GUICtrlRead(107, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read61, $Read62) $Read63 = GUICtrlRead(108, 0) $Read64 = GUICtrlRead(109, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read63, $Read64) $Read65 = GUICtrlRead(110, 0) $Read66 = GUICtrlRead($Date2, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read65, $Read66) $Read67 = GUICtrlRead(112, 0) $Read68 = GUICtrlRead(113, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read67, $Read68) $Read69 = GUICtrlRead(114, 0) $Read70 = GUICtrlRead(115, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read69, $Read70) $Read71 = GUICtrlRead(116, 0) $Read72 = GUICtrlRead(117, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read71, $Read72) $Read73 = GUICtrlRead(118, 0) $Read74 = GUICtrlRead(119, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Personal Details", $Read73, $Read74) ;~ -------------------------------------------------------------------------------------------------------------------------------------------- $Read75 = GUICtrlRead(123, 0) $Read76 = GUICtrlRead(124, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read75, $Read76) $Read77 = GUICtrlRead(125, 0) $Read78 = GUICtrlRead(126, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read77, $Read78) $Read79 = GUICtrlRead(127, 0) $Read80 = GUICtrlRead(128, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read79, $Read80) $Read81 = GUICtrlRead(129, 0) $Read82 = GUICtrlRead(130, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read81, $Read82) $Read83 = GUICtrlRead(131, 0) $Read84 = GUICtrlRead(132, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read83, $Read84) $Read85 = GUICtrlRead(133, 0) $Read86 = GUICtrlRead(134, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Contact Details", $Read85, $Read86) ;~ -------------------------------------------------------------------------------------------------------------------------------------------- $Read87 = GUICtrlRead(133, 0) $Read88 = GUICtrlRead(134, 0) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read85, $Read86) $Read89 = GUICtrlRead(138, 1) $Read90 = GUICtrlRead(139, 1) If $Read89 = _GUICtrlButton_GetCheck($read89) Then IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", "Employement Status", $Read89) If $Read90 = _GUICtrlButton_GetCheck($read90) Then IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", "Employement Status", $Read90) $Read91 = GUICtrlRead(140, 1) $Read92 = GUICtrlRead(141, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read91, $Read92) $Read93 = GUICtrlRead(142, 1) $Read94 = GUICtrlRead(143, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read93, $Read94) $Read95 = GUICtrlRead(144, 1) $Read96 = GUICtrlRead(145, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read95, $Read96) $Read91 = GUICtrlRead(146, 1) $Read92 = GUICtrlRead(147, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read91, $Read92) $Read93 = GUICtrlRead(148, 0) $Read94 = _GUICtrlComboBox_GetEditText($Combo4) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Employement Details", $Read93, $Read94) ;~ ---------------------------------------------------------------------------------------------------------------------------- $Read95 = GUICtrlRead(154, 1) $Read96 = GUICtrlRead(155, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Emergency Contact Details", $Read95, $Read96) $Read97 = GUICtrlRead(156, 1) $Read98 = GUICtrlRead(157, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Emergency Contact Details", $Read97, $Read98) $Read99 = GUICtrlRead(158, 1) $Read100 = GUICtrlRead(159, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Emergency Contact Details", $Read99, $Read100) $Read101 = GUICtrlRead(160, 1) $Read102 = GUICtrlRead(161, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Emergency Contact Details", $Read101, $Read102) $Read103 = GUICtrlRead(162, 1) $Read104 = GUICtrlRead(163, 1) IniWrite(@ProgramFilesDir & "Student DatabaseStudent InfoIniFile" & $Read2 & ".ini", "Emergency Contact Details", $Read103, $Read104) EndIf Case $msg[0] = $Button3 GUISetState(@SW_SHOW, $FormC) Case $msg[0] = $Button1 $Open = FileOpenDialog("Choose A picture", @MyDocumentsDir, "Images (*.jpg;*.bmp)") If @error Then ContinueLoop GUICtrlSetImage($Pic2, $Open) DirCreate(@ProgramFilesDir & "Student DatabaseStudent InfoStudent Pic") $Open1 = GUICtrlRead($Input1, 0) FileCopy($Open, @ProgramFilesDir & "Student DatabaseStudent InfoStudent Pic" & $Open1 & ".jpg", 8) Case $msg[0] = $MenuItem4 $D1 = FileOpenDialog("Choose A Student File", @ProgramFilesDir & "Student DatabaseStudent InfoIniFile", "Inifiles (*.ini)", 1) $r1 = IniRead($D1, "Student Info", "Student Number:", "") $r2 = IniRead($D1, "Student Info", "First Name:", "") $r3 = IniRead($D1, "Student Info", "Middle Name:", "") $r4 = IniRead($D1, "Student Info", "Surname:", "") $r5 = IniRead($D1, "Student Info", "ID Number:", "") $r6 = IniRead($D1, "Student Info", "Age:", "") $r7 = IniRead($D1, "Student Info", "Gender:", "") $r8 = IniRead($D1, "Student Info", "Course Attending:", "") $r9 = IniRead($D1, "Student Info", "Year:", "") $r10 = IniRead($D1, "Student Info", "Block:", "") ;~ ------------------------------------------------------------------------------------- $r11 = IniRead($D1, "Course Info", "# Times In Level:", "") $r12 = IniRead($D1, "Course Info", "1)Level:", "") $r13 = IniRead($D1, "Course Info", "1)Subject:", "") $r14 = IniRead($D1, "Course Info", "1)Facilitator:", "") $r15 = IniRead($D1, "Course Info", "2)Level:", "") $r16 = IniRead($D1, "Course Info", "2)Subject:", "") $r17 = IniRead($D1, "Course Info", "2)Facilitator:", "") $r18 = IniRead($D1, "Course Info", "3)Level:", "") $r19 = IniRead($D1, "Course Info", "3)Subject:", "") $r20 = IniRead($D1, "Course Info", "3)Facilitator:", "") $r21 = IniRead($D1, "Course Info", "Date of First Register:", "") $r22 = IniRead($D1, "Course Info", "Duration:", "") $r23 = IniRead($D1, "Course Info", "Cost:", "") $r24 = IniRead($D1, "Course Info", "Block:", "") $r25 = IniRead($D1, "Course Info", "First Timer:", "") $r26 = IniRead($D1, "Course Info", "Repeater:", "") $r27 = IniRead($D1, "Course Info", "Attendance Per Block:", "") ;~ ------------------------------------------------------------------------------------- $r28 = IniRead($D1, "Personal Details", "Initials:", "") $r29 = IniRead($D1, "Personal Details", "Title:", "") $r30 = IniRead($D1, "Personal Details", "Equity:", "") $r31 = IniRead($D1, "Personal Details", "Gender:", "") $r32 = IniRead($D1, "Personal Details", "Nationality:", "") $r33 = IniRead($D1, "Personal Details", "Citizen Status:", "") $r34 = IniRead($D1, "Personal Details", "Date of Birth:", "") $r35 = IniRead($D1, "Personal Details", "Disability Description:", "") $r36 = IniRead($D1, "Personal Details", "Home Language:", "") $r37 = IniRead($D1, "Personal Details", "Alternate ID Type:", "") $r38 = IniRead($D1, "Personal Details", " ID no:", "") ;~ ------------------------------------------------------------------------------------- $r39 = IniRead($D1, "Contact Details", "Phone Number:", "") $r40 = IniRead($D1, "Contact Details", "Cell Number:", "") $r41 = IniRead($D1, "Contact Details", "Fax Number:", "") $r42 = IniRead($D1, "Contact Details", "Home Address:", "") $r43 = IniRead($D1, "Contact Details", "E-mail Address:", "") $r44 = IniRead($D1, "Contact Details", "Postal Address:", "") ;~ ------------------------------------------------------------------------------------- $r45 = IniRead($D1, "Contact Details", "Employement Status:", "") $r46 = IniRead($D1, "Contact Details", "Employer:", "") $r47 = IniRead($D1, "Contact Details", "Manager:", "") $r48 = IniRead($D1, "Contact Details", "Job Title", "") $r49 = IniRead($D1, "Contact Details", "Department:", "") $r50 = IniRead($D1, "Contact Details", "Province:", "") ;~ ----------------------------------------------------------------------------------------- GUICtrlSetData($Input1, $r1) GUICtrlSetData($Input2, $r2) GUICtrlSetData($Input3, $r3) GUICtrlSetData($Input4, $r4) GUICtrlSetData($Input5, $r5) GUICtrlSetData($Input6, $r6) GUICtrlSetData($Combo1, $r7) GUICtrlSetData($Input7, $r8) GUICtrlSetData($Input8, $r9) GUICtrlSetData($Input9, $r10) GUICtrlSetData(64, $r11) GUICtrlSetData(66, $r12) GUICtrlSetData(68, $r13) GUICtrlSetData(69, $r14) GUICtrlSetData(75, $r15) GUICtrlSetData(76, $r16) GUICtrlSetData(77, $r17) GUICtrlSetData(78, $r18) GUICtrlSetData(80, $r19) GUICtrlSetData(82, $r20) GUICtrlSetData(62, $r21) ;Bug2 ; I've tried a lot of different functions and statements but none seem to work, when reading a Date Value from an initialization file into a datecontrol so the value from the initialization file should be set as the date in the control!! Please help me!!! GUICtrlSetData(84, $r22) GUICtrlSetData(86, $r23) GUICtrlSetData(88, $r24) GUICtrlSetData(93, $r25) GUICtrlSetData(92, $r26) GUICtrlSetData(94, $r27) GUICtrlSetData(99, $r28) GUICtrlSetData(101, $r29) GUICtrlSetData(103, $r30) GUICtrlSetData(105, $r31) GUICtrlSetData(107, $r32) GUICtrlSetData(109, $r33) GUICtrlSetData(111, $r34) GUICtrlSetData(113, $r35) GUICtrlSetData(115, $r36) GUICtrlSetData(117, $r37) GUICtrlSetData(119, $r38) GUICtrlSetData(124, $r39) GUICtrlSetData(126, $r40) GUICtrlSetData(128, $r41) GUICtrlSetData(130, $r42) GUICtrlSetData(132, $r43) GUICtrlSetData(134, $r44) ;BUG 1 If $r45 = StringInStr($r45, "Unemployed") Then _GUICtrlButton_SetCheck(139, $BST_CHECKED ) ;IT seems like I am having trouble to stream Data from a variable; In this case a value from an Initialization File. If you run the script you'll see all the inforamtion is stored in @programfilesdirStudent DatabaseStudent Info & $read2 ".ini" My the issue is this, I need the Radio Button to be checked that equals the value that has been read from the Initialization file When loading the Data... E.g. if The value "Unemployed" has been read from the ini File I need the radio button($radio2/ Control ID139) to be checked Can someOne please assist me? GUICtrlSetData(141, $r46) GUICtrlSetData(143, $r47) GUICtrlSetData(145, $r48) GUICtrlSetData(147, $r49) GUICtrlSetData($Combo4, $r50) GUICtrlSetImage($Pic2, @ProgramFilesDir & "Student DatabaseStudent InfoStudent Pic" & $r1 & ".jpg") Case $msg[0] = $Radio1 $Read89 = GUICtrlRead(138, 0) If $Read89 = $GUI_CHECKED Then ControlEnable("Student Database - Mogolo Academy", "", 141) If $Read89 = $GUI_CHECKED Then ControlEnable("Student Database - Mogolo Academy", "", 143) If $Read89 = $GUI_CHECKED Then ControlEnable("Student Database - Mogolo Academy", "", 145) If $Read89 = $GUI_CHECKED Then ControlEnable("Student Database - Mogolo Academy", "", 147) If $Read89 = $GUI_CHECKED Then ControlEnable("Student Database - Mogolo Academy", "", 149) Case $msg[0] = $Radio2 $Read90 = GUICtrlRead(139, 0) If $Read90 = $GUI_CHECKED Then ControlDisable("Student Database - Mogolo Academy", "", 141) If $Read90 = $GUI_CHECKED Then ControlDisable("Student Database - Mogolo Academy", "", 143) If $Read90 = $GUI_CHECKED Then ControlDisable("Student Database - Mogolo Academy", "", 145) If $Read90 = $GUI_CHECKED Then ControlDisable("Student Database - Mogolo Academy", "", 147) If $Read90 = $GUI_CHECKED Then ControlDisable("Student Database - Mogolo Academy", "", 149) Case $msg[0] = $MenuItem8 Exit Case $msg[0] = $MenuItem5 MsgBox(0, "1", "1") Case $msg[0] = $MenuItem27 $Address = "info@Lephalale.net" $Subject = "Report a Bug" _INetMail($Address, $Subject, "") Case $msg[0] = $Button3 GUISetState(@SW_SHOW, $FormC) Case $msg[0] = $ButtonC1 $cert = FileOpenDialog("Choose a certificate", @MyDocumentsDir, "(*.jpg;*.bmp)") $im = GUICtrlSetImage($PicC1, $cert) $com1 = GUICtrlRead($ComboC1, 0) ControlEnable("Certificates", "", $ButtonC2) Case $msg[0] = $ComboC1 $readC1 = GUICtrlRead($ComboC1, 0) $c1 = GUICtrlSetImage($PicC1, @ProgramFilesDir & "Student DatabaseStudent InfoStudent Certificates" & $readC1 & ".jpg") Case $msg[0] = $ButtonC2 $com1 = GUICtrlRead($ComboC1, 0) FileCopy($cert, @ProgramFilesDir & "Student DatabaseStudent InfoStudent Certificates" & $com1 & ".jpg", 8) $add = GUICtrlRead($ComboC1, 0) _GUICtrlComboBox_AddString($ComboC1, $add) FileWrite(@ProgramFilesDir & "Student DatabaseStudent InfoStudent Certificatesfile.txt", $add & "|") Case $msg[0] = $Button2 ;Bug 3 ;I have several Gui's to save Information ;If you scroll up to button 3 it Shows the Primary Subs Gui ;Now my problems here is If I click on of the close button any of the New Child Gui's the default or Parent Gui Exits aswell ; The code beneath only works for one Child Gui($formc) and The Parent Gui($form1_1). ; I need all my child Gui's to Close When Opened individually and close Individually without Closing The parent Gui Please help!! Case $msg[0] = $GUI_EVENT_CLOSE ;Check if user clicked on the close button of the child window If $msg[1] = $FormC Then GUISwitch($FormC) GUISetState(@SW_HIDE, $FormC) ElseIf $msg[1] = $Form1_1 Then GUISwitch($Form1_1) GUIDelete() Exit EndIf EndSelect WEnd [/autoit] Edited March 8, 2012 by ac1dm4nner [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 Looks like not many of you folks knows much more Than I do... [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
BrewManNH Posted March 8, 2012 Share Posted March 8, 2012 First off, put your code in autoit tags, add [ autoit] [ /autoit] before and after your code taking out the added space before the tag. Almost no one is going to try and read your code the way it has been presented, it's hard to read that way. Second, don't bump your post in less than 24 hours, it's good forum etiquette to do so, and what ever your problem with your code might be, perhaps the person that can help you with it is still in bed or not online here. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
guinness Posted March 8, 2012 Share Posted March 8, 2012 (edited) Looks like not many of you folks knows much more Than I do...I don't know where you got the impression from that all posts are answered within an hour of posting. Be a little more grateful and respectful that those who post do so during their free time and on a voluntary basis.If you had paid for premium support then this would be a different matter entirely, but you haven't. Edited March 8, 2012 by guinness UDF List:  _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 Yea... Valid Point indeed, sorry... though, I am running on a tight schedule. It's for my Sister's University. Thanks for the tip mate... So can anyone please help me as soon as possible? [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
JohnOne Posted March 8, 2012 Share Posted March 8, 2012 How about you help yourself, and provide some sort of indication of what is wrong. "help, bug, big" is hardly detailed information. AutoIt Absolute Beginners  Require a serial  Pause Script  Video Tutorials by Morthawt  ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 Don't be so grumpy m8, did you Notice the headers "Bug1 to Bug4"? [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
BrewManNH Posted March 8, 2012 Share Posted March 8, 2012 (edited) Your problem is that you've hard coded controlIDs in the script rather than assigning the controls to variables, and using the variables where you mistakenly put the magic numbers for the controls. Unless you never modified this script from the time you got the control IDs, they're not going to stay constant, they'll change as your code changes. BAD programming practice. EDIT: You also don't check for bad input from your INI file reads as it just blanks the tab names instead of putting in default values. Edited March 8, 2012 by BrewManNH If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 (edited) Bug 1 ;IT seems like I am having trouble to stream Data from a variable; In this case a value from an Initialization File. If you run the script you'll see all the inforamtion is stored in @programfilesdirStudent DatabaseStudent Info & $read2 ".ini" My the issue is this, I need the Radio Button to be checked that equals the value that has been read from the Initialization file When loading the Data... E.g. if The value "Unemployed" has been read from the ini File I need the radio button($radio2/ Control ID139) to be checked Can someOne please assist me? If $r45 = StringInStr($r45, "Unemployed") Then _GUICtrlButton_SetCheck(139, $BST_CHECKED ) I want the value read from the ini file to be set as the Radio control e.g IF the key "Unemployed" was read from ini file I want the Unemployed Radio to be Checked This code doesn't seem to work and I've tried other Methods but No Success Bug 2 I have tried Reading a Value/Key from an initialization File Which in this case is a date format Thursday, October 21, 2004 And Inserting it into the date Control via either Control id and Variable returned from Guicreate But Nothing Happens Note: Nah the Gui is completely Designed and yes I was CONFUSED with the gui creation order thats why i started using Control Ids instead of Variables returned from Control Creation. Bug 3: The fileopendialog If the cancel button is pressed "1" is inserted into all my input and Combo Controls AND THE FINAL Bug I have more than one child gui but only one child gui is run at A time, But as soon As i open a new child Gui in the application(previous one is closed) The close Does not work so in other words The code I have only works for one Child Gui and Parent gui I cant open I've duplicating the code and other various IF statements in this case my code only works for Formc And Form1_1 If FormPs is open its close button doesnt work... Case $msg[0] = $GUI_EVENT_CLOSE ;Check if user clicked on the close button of the formC child window If $msg[1] = $FormC Then GUISwitch($FormC) GUISetState(@SW_HIDE, $FormC) ElseIf $msg[1] = $Form1_1 Then GUISwitch($Form1_1) GUIDelete() I hope Ive made it more clear and detailed... Edited March 8, 2012 by ac1dm4nner [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
BrewManNH Posted March 8, 2012 Share Posted March 8, 2012 We can't really do much without a valid INI file that works with this script, and you need to use the correct procedure to get/set information from/to your controls and don't use hard coded numbers in the script. I have no idea what control ID 139 is, for example, because I am not going to put forth the effort required to figure out what control goes to what number. I will assume it belongs to your radio button, but like I said, not worth the effort needed to find out. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 (edited) oi, oi , oi, Cant anyone then Just Give me sample Scripts? But if anyone cant comprehend my script then I understand... Its simple, I just need the code for Closing Multiple Guis, seriously. To stream a key from A file into a date control is it that complex????????????? all the hard coded Control ids are already set, they're not going to change or are you saying I should set all the hard coded ids to the variables Returned from Gui Create? I am incl the ini fileInifile.rar Edited March 8, 2012 by ac1dm4nner [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
BrewManNH Posted March 8, 2012 Share Posted March 8, 2012 http://www.autoitscript.com/wiki/Managing_Multiple_GUIs If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
DW1 Posted March 8, 2012 Share Posted March 8, 2012 I don't know if it is a language barrier or if you are actually trying to come off as rude. Either way, I'm sure this is why most of the usual suspects are not taking time out of their day to look at your simple script (I know it is why I am moving on). I don't intend to start a flame war, just pointing out the obvious. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 8, 2012 Moderators Share Posted March 8, 2012 I would agree, danwilli. Nothing makes me want to help someone more than his intimating that we aren't intelligent enough to understand the script because we're not responding fast enough for his liking. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
BrewManNH Posted March 8, 2012 Share Posted March 8, 2012 Just as I suspected, your hard coded IDs are where 99% of your issues come from. I just ran your script with your ini file, and the Unemployed radio button has a control ID of 137, not 139. DO NOT USE hard coded control IDs because they can and will change as you change your script, you have it assigned to a variable, use the variable to set and get the information from your controls. Once I changed your code to this"If $r45 = StringInStr($r45, "Unemployed") Then _GUICtrlButton_SetCheck($Radio2, $BST_CHECKED)"it worked as expected, the unemployed radio button was checked. I'd go back through your entire script and get rid of every one of your hard coded numbers and replace them with the proper variable for the control ids. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 LMAO JLogan3o13ok anyway thanks Guys I appreciate the help and I wasn't rude Just frustrated...I am redesigning the Gui so that my variable control Flow in The gui Creation of the script doesn't get mixed up, that's why I started using hard-coded Control Id's In the first place... you'll be hearing from me again... [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 Ok I still have a little problem, Now I need the specific string to be read and the radio button prior to the string that has been read, to be checked this code Checks both radio Control If $r45 = StringRegExp($r45, "Employed")Then _GUICtrlButton_SetCheck($radio1, $BST_CHECKED ) EndIf If $r45 = StringRegExp($r45, "Unemployed") Then _GUICtrlButton_SetCheck($radio2, $BST_CHECKED ) EndIf and I visited the wiki for Multiple Guis, I have more than 3 Guis to be handled the code provided only Handles the close Button for 2 Gui's... Here's the code I figured out by myself, I guess I'm getting a bit irritating but I'm new and I've only been using autoit frequently...If $msg[1] = $FormC Then GUISwitch($FormC) GUISetState(@SW_HIDE, $FormC) ElseIf $msg[1] = $Form1_1 Then GUISwitch($Form1_1) GUIDelete() Exit So not all the help I'm asking is expected to be spoon fed, I do infact try it all out on my own. [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
guinness Posted March 8, 2012 Share Posted March 8, 2012 If you're using the AutoIt native functions to create the radio buttons then why not use GUICtrlSetState? UDF List:  _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
acidman Posted March 8, 2012 Author Share Posted March 8, 2012 either way my friend the last radio button is checked, I've tried all sorts of different Methods, any pointers on IF Statements? I just want the radio button corresponding to the value read to be checked... [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
guinness Posted March 8, 2012 Share Posted March 8, 2012 Also I think you're missing GUICtrlRead. Your code is massive and badly formatted still that it's hard to correct without doing a massive re-write. acidman 1 UDF List:  _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now