Hello world!
12/14/2017

Test

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

opt(“GuiOnEventMode”, 1)

HotKeySet(“{ESC}”, “quit”)

$R44 = “”
$R45 = “”
$R46 = “”
$R47 = “”
$R48 = “”
$R49 = “”
Global $EDD2
Global $RN = “”
Global $RT = “”
$RNAMEPROFILE = “”
$RTELEPHONEPROFILE = “”
$REMAILPROFILE = “”

If FileExists(@DESKTOPDIR & “\ABXFiles\Fill\”) = False then
_FileCreate(@DESKTOPDIR & “\ABXFiles\Fill\”)
EndIf
sleep(100)

FileInstall(“C:\Users\PC Gamer\Desktop\edit.jpg”, @TEMPDIR & “\edit.jpg”)
FileInstall(“C:\Users\PC Gamer\Desktop\delete.jpg”, @TEMPDIR & “\delete.jpg”)
FileInstall(“C:\Users\PC Gamer\Desktop\cc.png”, @TEMPDIR & “\cc.png”)
FileInstall(“C:\Users\PC Gamer\Desktop\333.jpg”, @TEMPDIR & “\333.jpg”)
FileInstall(“C:\Users\PC Gamer\Desktop\addd.jpg”, @TEMPDIR & “\addd.jpg”)
FileInstall(“C:\Users\PC Gamer\Desktop\sec.jpg”, @TEMPDIR & “\sec.jpg”)
FileInstall(“C:\Users\PC Gamer\Desktop\fillable.pdf”, @DESKTOPDIR & “\ABXFiles\fillable.pdf”)
FileInstall(“C:\Users\PC Gamer\Desktop\fillable.fdf”, @DESKTOPDIR & “\ABXFiles\Fill\fillable.fdf”)

;CHECKING PROFILE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If FileExists(@TEMPDIR & “\” & “ProfileIHC” & “.txt”) = TRUE then
$op = fileopen(@TEMPDIR & “\” & “ProfileIHC” & “.txt”)
$r = FileRead($op)
$sp = StringSplit($r, “=”)
$1a = $sp[1]
$1b = $sp[2]

$1c = $sp[3]
$1d = $sp[4]
fileclose($op)
else
$1a = “”
$1b = “”
$1c = “”
$1d = “”
endif

;GUI PROFILE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$GUIPROFILE = GuiCreate(“Profile”, 300, 300)
GuiSetBKCOLOR($COLOR_GRAY)
GuiSetOnEvent($GUI_EVENT_CLOSE, “hidee”)

GuiCtrlCreateLabel(“Profile”, 120, 10, 80)
GuiCtrlSetColor(-1, $COLOR_BLACK)
GuiCtrlSetFont(-1, 12, “”, “”, “MV boli”)

GuiCtrlCreateLabel(“Name”, 10, 70, 50, 20)
GuiCtrlSetColor(-1, 0xe2231a)
GuiCtrlSetFont(-1, 12, “”, “”, “MV boli”)

GuiCtrlCreateLabel(“Address”, 10, 100, 60, 20)
GuiCtrlSetColor(-1, 0xe2231a)
GuiCtrlSetFont(-1, 12, “”, “”, “MV boli”)

GuiCtrlCreateLabel(“Telephone”, 10, 130, 75, 20)
GuiCtrlSetColor(-1, 0xe2231a)
GuiCtrlSetFont(-1, 12, “”, “”, “MV boli”)

GuiCtrlCreateLabel(“Email”, 10, 160, 50, 20)
GuiCtrlSetColor(-1, 0xe2231a)
GuiCtrlSetFont(-1, 12, “”, “”, “MV boli”)

$NAMEPROFILE = GuiCtrlCreateInput($1a, 90, 74, 180, 18)

$ADDRESSPROFILE = GuiCtrlCreateInput($1b, 90, 104, 180, 18)

$TELEPHONEPROFILE = GuiCtrlCreateInput($1d, 90, 134, 180, 18, $ES_NUMBER)

$EMAILPROFILE = GuiCtrlCreateInput($1c, 90, 164, 180, 18)

$CONFIRMPROFILE = GuiCtrlCreateButton(“OK”, 121, 222, 80, 40)

GuiCtrlSetOnEvent($CONFIRMPROFILE, “ConfirmP”)

;MAIN GUI !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$GUIP = GuiCreate(“American Benefits Exchange”, 800, 610)
GuiSetBkColor($COLOR_WHITE)
GuiSetOnEvent($GUI_EVENT_CLOSE, “hideeP”)

$PROF = GuiCtrlCreateButton(“Edit Agent Profile”, 337, 153,120, 60)
GuiCtrlSetBkColor(-1, 0x81A2B1)
GuiCtrlSetColor(-1, $COLOR_WHITE)

$label2 = GuiCtrlCreateLabel(“”, 316, 541, 150, 60)
GuiCtrlCreateButton(“Edit Case”, 316, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

$label1 = GuiCtrlCreateLabel(“”, 93, 541, 150, 60)
GuiCtrlCreateButton(“New Case”, 93, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

$label3 = GuiCtrlCreateLabel(“”, 547, 541, 150, 60)
GuiCtrlCreateButton(“Delete Case”, 547, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

_GDIPlus_Startup()
$hImage = _GDIPlus_ImageLoadFromFile(@TEMPDIR & “\cc.png”)
$hGraphic = _GDIPlus_GraphicsCreateFromHWND($GUIP)

GUIRegisterMsg($WM_PAINT, “MY_WM_PAINT”)

GuiCtrlSetOnEvent($PROF, “prof”)

$listt = GuiCtrlCreateListView(“Title |Date Created |Date Modified |Remarks “, 95, 240, 600, 300)
GuiCtrlSetBkColor(-1, 0x778899)

$pp = GuiCtrlCreatePic(@TEMPDIR & “\333.jpg”, 0, 0, 800, 610)
GuiCtrlCreateButton(“Edit Agent Profile”, 337, 153,120, 60)
GuiCtrlSetBkColor(-1, 0x81A2B1)
GuiCtrlSetColor(-1, $COLOR_WHITE)

If fileExists(@TEMPDIR & “\NamesABC.txt”) = True then

$Count = _FileCountLines(@TEMPDIR & “\NamesABC.txt”)
$oppp = FileOpen(@TEMPDIR & “\NamesABC.txt”, 0)
for $iiii = 1 to $Count
$ReadLine = FileReadLine($oppp, $iiii)
$sprrr = StringSplit($ReadLine, “+”)
$u = ubound($sprrr)

if $u > 4 then
GuiCtrlCreateListViewItem($sprrr[1] & “|” & $sprrr[2] & “|” & $sprrr[3], $listt)
Else
GuiCtrlCreateListViewItem($sprrr[1] & “|” & $sprrr[2], $listt)
EndIf
next
endif

GuiCtrlCreateLabel(“”, 93, 541, 150, 60)
GuiCtrlCreateButton(” New Case”, 93, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

GuiCtrlCreateLabel(“”, 547, 541, 150, 60)
GuiCtrlCreateButton(” Delete Case”, 547, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

GuiCtrlCreateLabel(“”, 316, 541, 150, 60)
GuiCtrlCreateButton(” Edit Case”, 316, 541, 150, 60)
GuiCtrlSetBkColor(-1, $COLOR_WHITE)
GuiCtrlSetFont(-1, “”, $FW_EXTRABOLD)
GuiCtrlSetState(-1, $GUI_DISABLE)

GuiCtrlCreatePic(@TEMPDIR & “\addd.jpg”, 97, 556, 50, 40)

GuiCtrlCreatePic(@TEMPDIR & “\delete.jpg”, 552, 556, 31, 35)

GuiCtrlCreatePic(@TEMPDIR & “\edit.jpg”, 320, 556, 39, 35)

GuiCtrlSetOnEvent($label1, “label1”)
GuiCtrlSetOnEvent($label2, “label2”)
GuiCtrlSetOnEvent($label3, “label3”)

;GUI 2 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Global $RNAMEPROFILE = GuiCtrlREad($NAMEPROFILE)
Global $RTELEPHONEPROFILE = GuiCtrlRead($TELEPHONEPROFILE)
Global $REmailPROFILE = GuiCtrlRead($EMAILPROFILE)
$gui2 = GUICreate(“American Benefits Exchange”, 800, 580)
GUICtrlCreatePic(@TempDir & “\333.jpg”, 0, 0, 800, 580)
GUICtrlSetState(-1, $gui_disable)
GUISetOnEvent($gui_event_close, “fermer”)
GUICtrlCreateLabel(“Married”, 650, 348)
GUICtrlSetColor(-1, $color_black)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)

GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreatePic(@TempDir & “\sec.jpg”, 290, 0, 230, 61)
GUIStartGroup()
$yes = GUICtrlCreateRadio(“YES”, 704, 346)
GUICtrlSetBkColor(-1, $color_white)
$no = GUICtrlCreateRadio(“NO”, 747, 346)
GUICtrlSetBkColor(-1, $color_white)
$name = GUICtrlCreateInput(“”, 110, 70, 210, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Employee Name”, 19, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
$employer = GUICtrlCreateInput(“”, 408, 70, 150, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Employer”, 352, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$age = GUICtrlCreateCombo(“”, 680, 70, 50, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Age”, 650, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
For $i = 1 To 120
GUICtrlSetData($age, $i)
Next
$salary = GUICtrlCreateInput(“”, 110, 120, 210, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Base Salary”, 19, 123)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$years = GUICtrlCreateCombo(“”, 408, 120, 80, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $p = 0 To 50
GUICtrlSetData($years, $p)
Next
GUICtrlCreateLabel(“Years of service”, 352, 118, 60, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreateLabel(“Retirement system”, 19, 348, 140)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUIStartGroup()
$18a = GUICtrlCreateRadio(“CSRS”, 166, 345)
GUICtrlSetBkColor(-1, $color_white)
$18b = GUICtrlCreateRadio(“FERS”, 230, 345)
GUICtrlSetBkColor(-1, $color_white)
$contribution = GUICtrlCreateInput(“”, 110, 170, 210, 20)
GUICtrlSetBkColor(-1, $color_white)
GUICtrlCreateLabel(“TSP Contribution”, 19, 173)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
$balance = GUICtrlCreateInput(“”, 408, 170, 150, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“TSP Balance”, 352, 168, 50, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreateLabel(“FEGLI”, 19, 298, 50, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUIStartGroup()
GUICtrlCreateLabel(“Basic : “, 131, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$14 = GUICtrlCreateCombo(“”, 166, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetData(-1, “Yes|No”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Opt A : “, 230, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$15 = GUICtrlCreateCombo(“”, 270, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetData(-1, “Yes|No”)
GUICtrlCreateLabel(“Opt B : “, 333, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$16 = GUICtrlCreateCombo(“”, 372, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $fsdfs = 1 To 5
GUICtrlSetData(-1, $fsdfs)
Next
GuiCtrlSetData(-1, “No”)
GUICtrlCreateLabel(“Opt C : “, 436, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$17 = GUICtrlCreateCombo(“”, 476, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $kfsdfs = 1 To 5
GUICtrlSetData(-1, $kfsdfs)
Next
GuiCtrlSetData(-1, “No”)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 280)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 323)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 371)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 55)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;For $i = 0 To 48 Step 8
; GUICtrlCreateLabel(“|”, 288, $i)
; GUICtrlSetColor(-1, $color_black)
; GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;Next
;For $i = 0 To 48 Step 8
; GUICtrlCreateLabel(“|”, 520, $i)
; GUICtrlSetColor(-1, $color_black)
; GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;Next
$repname = GUICtrlCreateInput($RNAMEPROFILE, 110, 240, 210, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Representative name”, 19, 237, 85, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$retirementage = GUICtrlCreateCombo(“”, 680, 120, 50)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $z = 1 To 120
GUICtrlSetData($retirementage, $z)
Next
GUICtrlCreateLabel(“Retirement Age”, 589, 124)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
$phone = GUICtrlCreateInput($RTELEPHONEPROFILE, 680, 240, 115, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Representative phone”, 595, 237, 100, 30)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
$save = GUICtrlCreateButton(“Save =>”, 650, 514, 90, 58)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $color_white)
GUICtrlSetColor(-1, $color_black)
$back1 = GUICtrlCreateButton(“<= Back", 58, 514, 90, 58) GUICtrlSetFont(-1, 10, $fw_extrabold, "", "CALIBRI") GUICtrlSetBkColor(-1, $color_white) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("Option B Alternative 1", 19, 425) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 8, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $44 = GUICtrlCreateInput("", 133, 420, 120) GUICtrlCreateLabel("Alternative", 171, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $45 = GUICtrlCreateInput("", 260, 420, 120) GUICtrlCreateLabel("Rate", 307, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $46 = GUICtrlCreateInput("", 387, 420, 120) GUICtrlCreateLabel("Savings", 426, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $47 = GUICtrlCreateInput("", 133, 458, 120) $48 = GUICtrlCreateInput("", 260, 458, 120) $49 = GUICtrlCreateInput("", 387, 458, 120) For $i = 412 To 472 GUICtrlCreateLabel("|", 13, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, 12374) Next GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 476) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 407) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("Option B Alternative 2", 19, 462) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 8, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 443) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) For $i = 412 To 472 GUICtrlCreateLabel("|", 255, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 382, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 513, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 127, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next $specialgroup = GUICtrlCreateCheckbox("Special Group", 550, 434) GUICtrlSetBkColor(-1, $color_white) GUIStartGroup() $law = GUICtrlCreateRadio("Law Enforcement", 642, 400) $fir = GUICtrlCreateRadio("FireFighter", 642, 425) $air = GUICtrlCreateRadio("Air Traffic Controller", 642, 450) $tech = GUICtrlCreateRadio("Military Reserve Technicians", 642, 475) GUICtrlSetState($law, $gui_hide) GUICtrlSetState($fir, $gui_hide) GUICtrlSetState($air, $gui_hide) GUICtrlSetState($tech, $gui_hide) $print = GUICtrlCreateButton("Print", 348, 514, 90, 58) GUICtrlSetFont(-1, 10, $fw_extrabold, "", "CALIBRI") GUICtrlSetBkColor(-1, $color_white) GUICtrlSetColor(-1, $color_black) GUICtrlSetOnEvent($specialgroup, "Special") GUICtrlSetOnEvent($back1, "back1") GUICtrlSetOnEvent($save, "save") GUICtrlSetOnEvent($print, "Print") GUISetState(@SW_SHOW, $guip) GUISetState(@SW_HIDE, $gui2) GUISetState(@SW_HIDE, $guiprofile) While 1 Sleep(200) Wend Do Until GUIGetMsg() = $GUI_EVENT_CLOSE ; Clean up resources _GDIPlus_GraphicsDispose($hGraphic) _GDIPlus_ImageDispose($hImage) _GDIPlus_Shutdown() Func MY_WM_PAINT($hWnd, $msg, $wParam, $lParam) #forceref $hWnd, $Msg, $wParam, $lParam _WinAPI_RedrawWindow($GUIP, 0, 0, $RDW_UPDATENOW) _GDIPlus_GraphicsDrawImage($hGraphic, $hImage, 233, 25) _WinAPI_RedrawWindow($GUIP, 50, 50, $RDW_VALIDATE) Return $GUI_RUNDEFMSG EndFunc ;==>MY_WM_PAINT

Func fermer()
Exit
EndFunc

Func quit()
Exit
EndFunc

Func label1()
GuiSetState(@SW_HIDE, $GUIP)
GuiDelete($Gui2)
$RNAMEPROFILE = GuiCtrlRead($NAMEPROFILE)
$RTELEPHONEPROFILE = GuiCtrlRead($TELEPHONEPROFILE)
$gui2 = GUICreate(“American Benefits Exchange”, 800, 580)
GUICtrlCreatePic(@TempDir & “\333.jpg”, 0, 0, 800, 580)
GUICtrlSetState(-1, $gui_disable)
GUISetOnEvent($gui_event_close, “fermer”)
GUICtrlCreateLabel(“Married”, 650, 348)
GUICtrlSetColor(-1, $color_black)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreatePic(@TempDir & “\sec.jpg”, 290, 0, 230, 61)
GUIStartGroup()
$yes = GUICtrlCreateRadio(“YES”, 704, 346)
GUICtrlSetBkColor(-1, $color_white)
$no = GUICtrlCreateRadio(“NO”, 747, 346)
GUICtrlSetBkColor(-1, $color_white)
$name = GUICtrlCreateInput(“”, 110, 70, 210, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Employee Name”, 19, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
$employer = GUICtrlCreateInput(“”, 408, 70, 150, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Employer”, 352, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$age = GUICtrlCreateCombo(“”, 680, 70, 50, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Age”, 650, 73)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
For $i = 1 To 120
GUICtrlSetData($age, $i)
Next
$salary = GUICtrlCreateInput(“”, 110, 120, 210, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Base Salary”, 19, 123)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$years = GUICtrlCreateCombo(“”, 408, 120, 80, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $p = 0 To 50
GUICtrlSetData($years, $p)
Next
GUICtrlCreateLabel(“Years of service”, 352, 118, 60, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreateLabel(“Retirement system”, 19, 348, 140)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUIStartGroup()
$18a = GUICtrlCreateRadio(“CSRS”, 166, 345)
GUICtrlSetBkColor(-1, $color_white)
$18b = GUICtrlCreateRadio(“FERS”, 230, 345)
GUICtrlSetBkColor(-1, $color_white)
$contribution = GUICtrlCreateInput(“”, 110, 170, 210, 20)
GUICtrlSetBkColor(-1, $color_white)
GUICtrlCreateLabel(“TSP Contribution”, 19, 173)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
$balance = GUICtrlCreateInput(“”, 408, 170, 150, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“TSP Balance”, 352, 168, 50, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlCreateLabel(“FEGLI”, 19, 298, 50, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUIStartGroup()
GUICtrlCreateLabel(“Basic : “, 131, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$14 = GUICtrlCreateCombo(“”, 166, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetData(-1, “Yes|No”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Opt A : “, 230, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$15 = GUICtrlCreateCombo(“”, 270, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetData(-1, “Yes|No”)
GUICtrlCreateLabel(“Opt B : “, 333, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$16 = GUICtrlCreateCombo(“”, 372, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $fsdfs = 1 To 5
GUICtrlSetData(-1, $fsdfs)
Next
GuiCtrlSetData(-1, “No”)
GUICtrlCreateLabel(“Opt C : “, 436, 300)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$17 = GUICtrlCreateCombo(“”, 476, 298)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $kfsdfs = 1 To 5
GUICtrlSetData(-1, $kfsdfs)
Next
GuiCtrlSetData(-1, “No”)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 280)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 323)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 371)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“————————————————————————————————————————————————————————————————————————————————————————–“, 0, 55)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;For $i = 0 To 48 Step 8
; GUICtrlCreateLabel(“|”, 288, $i)
; GUICtrlSetColor(-1, $color_black)
; GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;Next
;For $i = 0 To 48 Step 8
; GUICtrlCreateLabel(“|”, 520, $i)
; GUICtrlSetColor(-1, $color_black)
; GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
;Next
$repname = GUICtrlCreateInput($RNAMEPROFILE, 110, 240, 210, 20)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Representative name”, 19, 237, 85, 30)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
$retirementage = GUICtrlCreateCombo(“”, 680, 120, 50)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
For $z = 1 To 120
GUICtrlSetData($retirementage, $z)
Next
GUICtrlCreateLabel(“Retirement Age”, 589, 124)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
$phone = GUICtrlCreateInput($RTELEPHONEPROFILE, 680, 240, 115, 20, $ES_NUMBER)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
GUICtrlCreateLabel(“Representative phone”, 595, 237, 100, 30)
GUICtrlSetFont(-1, 9, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $gui_bkcolor_transparent)
$save = GUICtrlCreateButton(“Save =>”, 650, 514, 90, 58)
GUICtrlSetFont(-1, 10, $fw_extrabold, “”, “CALIBRI”)
GUICtrlSetBkColor(-1, $color_white)
GUICtrlSetColor(-1, $color_black)
$back1 = GUICtrlCreateButton(“<= Back", 58, 514, 90, 58) GUICtrlSetFont(-1, 10, $fw_extrabold, "", "CALIBRI") GUICtrlSetBkColor(-1, $color_white) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("Option B Alternative 1", 19, 425) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 8, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $44 = GUICtrlCreateInput("", 133, 420, 120) GUICtrlCreateLabel("Alternative", 171, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $45 = GUICtrlCreateInput("", 260, 420, 120) GUICtrlCreateLabel("Rate", 307, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $46 = GUICtrlCreateInput("", 387, 420, 120) GUICtrlCreateLabel("Savings", 426, 398) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 9, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) $47 = GUICtrlCreateInput("", 133, 458, 120) $48 = GUICtrlCreateInput("", 260, 458, 120) $49 = GUICtrlCreateInput("", 387, 458, 120) For $i = 412 To 472 GUICtrlCreateLabel("|", 13, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, 12374) Next GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 476) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 407) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("Option B Alternative 2", 19, 462) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetFont(-1, 8, $fw_extrabold, "", "CALIBRI") GUICtrlSetColor(-1, $color_black) GUICtrlCreateLabel("-----------------------------------------------------------------------------------------------------------------------------------------------------------------------", 13, 443) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) For $i = 412 To 472 GUICtrlCreateLabel("|", 255, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 382, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 513, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next For $i = 412 To 472 GUICtrlCreateLabel("|", 127, $i) GUICtrlSetBkColor(-1, $gui_bkcolor_transparent) GUICtrlSetColor(-1, $color_black) Next $specialgroup = GUICtrlCreateCheckbox("Special Group", 550, 434) GUICtrlSetBkColor(-1, $color_white) GUIStartGroup() $law = GUICtrlCreateRadio("Law Enforcement", 642, 400) $fir = GUICtrlCreateRadio("Firefighter", 642, 425) $air = GUICtrlCreateRadio("Air Traffic Controller", 642, 450) $tech = GUICtrlCreateRadio("Military Reserve Technicians", 642, 475) GUICtrlSetState($law, $gui_hide) GUICtrlSetState($fir, $gui_hide) GUICtrlSetState($air, $gui_hide) GUICtrlSetState($tech, $gui_hide) $print = GUICtrlCreateButton("Print", 348, 514, 90, 58) GUICtrlSetFont(-1, 10, $fw_extrabold, "", "CALIBRI") GUICtrlSetBkColor(-1, $color_white) GUICtrlSetColor(-1, $color_black) GUICtrlSetOnEvent($specialgroup, "Special") GUICtrlSetOnEvent($back1, "back1") GUICtrlSetOnEvent($save, "save") GUICtrlSetOnEvent($print, "Print") GUISetState(@SW_HIDE, $guip) GUISetState(@SW_SHOW, $gui2) Endfunc Func label2() Global $edd2 = True For $x = 1 To 100 If _guictrllistview_getitemselected($listt, $x - 1) Then $textt2 = _guictrllistview_getitemtext($listt, $x - 1) $oppa = FileOpen(@TempDir & "\" & $textt2 & ".txt") $readoppa = FileRead($oppa) $stroppa = StringSplit($readoppa, "=") GUICtrlSetData($retirementage, $stroppa[1]) GUICtrlSetData($name, $stroppa[2]) GUICtrlSetData($employer, $stroppa[3]) GUICtrlSetData($age, $stroppa[4]) GUICtrlSetData($salary, $stroppa[5]) GUICtrlSetData($years, $stroppa[6]) GUICtrlSetData($contribution, $stroppa[7]) GUICtrlSetData($balance, $stroppa[8]) GUICtrlSetData($repname, $stroppa[9]) GUICtrlSetData($phone, $stroppa[10]) If $stroppa[11] = "TRUE" Then GUICtrlSetState($18a, $gui_checked) Else GUICtrlSetState($18b, $gui_checked) EndIf If $stroppa[12] = "TRUE" Then GUICtrlSetState($yes, $gui_checked) Else GUICtrlSetState($no, $gui_checked) EndIf GUICtrlSetData($14, $stroppa[13]) GUICtrlSetData($15, $stroppa[14]) GUICtrlSetData($16, $stroppa[15]) GUICtrlSetData($17, $stroppa[16]) GUICtrlSetData($44, $stroppa[17]) GUICtrlSetData($45, $stroppa[18]) GUICtrlSetData($46, $stroppa[19]) GUICtrlSetData($47, $stroppa[20]) GUICtrlSetData($48, $stroppa[21]) GUICtrlSetData($49, $stroppa[22]) If $stroppa[23] = "fchecked" Then GUICtrlSetState($specialgroup, $gui_checked) GUICtrlSetState($law, $gui_show) GUICtrlSetState($fir, $gui_show) GUICtrlSetState($air, $gui_show) GUICtrlSetState($tech, $gui_show) GUICtrlSetState($fir, $gui_checked) EndIf If $stroppa[23] = "achecked" Then GUICtrlSetState($specialgroup, $gui_checked) GUICtrlSetState($law, $gui_show) GUICtrlSetState($fir, $gui_show) GUICtrlSetState($air, $gui_show) GUICtrlSetState($tech, $gui_show) GUICtrlSetState($air, $gui_checked) EndIf If $stroppa[23] = "tchecked" Then GUICtrlSetState($specialgroup, $gui_checked) GUICtrlSetState($law, $gui_show) GUICtrlSetState($fir, $gui_show) GUICtrlSetState($air, $gui_show) GUICtrlSetState($tech, $gui_show) GUICtrlSetState($tech, $gui_checked) EndIf If $stroppa[23] = "lchecked" Then GUICtrlSetState($specialgroup, $gui_checked) GUICtrlSetState($law, $gui_show) GUICtrlSetState($fir, $gui_show) GUICtrlSetState($air, $gui_show) GUICtrlSetState($tech, $gui_show) GUICtrlSetState($law, $gui_checked) EndIf EndIf Next GUISetState(@SW_HIDE, $guip) GUISetState(@SW_SHOW, $gui2) EndFunc Func label3() for $x = 1 to 100 if _GuiCtrlListView_GetItemSelected($listt, $x - 1) then $textt = _GUICtrlListView_GetItemText($listt, $x - 1) FileDelete(@TEMPDIR & "\"& $textt & ".txt") $oha = FileOpen(@TEMPDIR & "\NamesABC.txt") for $ohaha = 1 to 50 $OHAL = FileReadLine($oha, $ohaha) $STROH = StringRegExp($Ohal, $textt) If $STROH = TRUE then _FileWriteToline(@TEMPDIR & "\NamesABC.txt", $ohaha, "", TRUE) EndIf Next endif next _GUICtrlListView_DeleteItemsSelected($listt) Endfunc Func print() Global $RRetirementAge = GuiCtrlRead($RetirementAge) Global $Rname = GuiCtrlRead($NAME) Global $REmployer = GuiCtrlRead($Employer) Global $RAge = GuiCtrlRead($Age) Global $RSalary = GuiCtrlRead($Salary) Global $RYears = GuiCtrlRead($Years) Global $RContribution = GuiCtrlRead($Contribution) Global $RBalance = GuiCtrlRead($Balance) Global $RRepName = GuiCtrlRead($RepName) Global $RPhone = GuiCtrlRead($Phone) Global $R15 = GuiCtrlRead($15) Global $R16 = GuiCtrlRead($16) Global $R17 = GuiCtrlRead($17) Global $R14 = GuiCtrlRead($14) Global $R18a = GuiCtrlRead($18a) Global $R18b = GuiCtrlRead($18b) Global $65 = $Rage Global $66 = $RYears Global $67 = $RRetirementAge Global $68 = $RYears + $RRetirementAge - $RAge Global $59 = $68 Global $RYES = GuiCtrlRead($YES) Global $RNO = GuiCtrlRead($No) Global $R44 = GuiCtrlRead($44) Global $R45 = GuiCtrlRead($45) Global $R46 = GuiCtrlRead($46) Global $R47 = GuiCtrlRead($47) Global $R48 = GuiCtrlRead($48) Global $R49 = GuiCtrlRead($49) Global $RNAMEPROFILE = GuiCtrlREad($NAMEPROFILE) Global $RTELEPHONEPROFILE = GuiCtrlRead($TELEPHONEPROFILE) Global $REmailPROFILE = GuiCtrlRead($EMAILPROFILE) Global $RSpecialGroup = GuiCtrlRead($SpecialGroup) Global $RAir = GuiCtrlRead($air) Global $RTech = GuiCtrlRead($Tech) Global $RLaw = GuiCtrlRead($Law) Global $RFir = GuiCtrlRead($Fir) If $68 < 5 then $Our = 0 If $68 = 5 then $Our = 7.50 If $68 = 6 then $Our = 9.25 If $68 = 7 then $Our = 11 If $68 = 8 then $Our = 12.75 If $68 = 9 then $Our = 14.50 If $68 = 10 then $Our = 16.25 If $68 = 11 then $Our = 18.25 If $68 = 12 then $Our = 20.25 If $68 = 13 then $Our = 22.25 If $68 = 14 then $Our = 24.25 If $68 = 15 then $Our = 26.25 If $68 = 16 then $Our = 28.25 If $68 = 17 then $Our = 30.25 If $68 = 18 then $Our = 32.25 If $68 = 19 then $Our = 34.25 If $68 = 20 then $Our = 36.25 If $68 = 21 then $Our = 38.25 If $68 = 22 then $Our = 40.25 If $68 = 23 then $Our = 42.25 If $68 = 24 then $Our = 44.25 If $68 = 25 then $Our = 46.25 If $68 = 26 then $Our = 48.25 If $68 = 27 then $Our = 50.25 If $68 = 28 then $Our = 52.25 If $68 = 29 then $Our = 54.25 If $68 = 30 then $Our = 56.25 If $68 = 31 then $Our = 58.25 If $68 = 32 then $Our = 60.25 If $68 = 33 then $Our = 62.25 If $68 = 34 then $Our = 64.25 If $68 = 35 then $Our = 66.25 If $68 = 36 then $Our = 68.25 If $68 = 37 then $Our = 70.25 If $68 = 38 then $Our = 72.25 If $68 = 39 then $Our = 74.25 If $68 = 40 then $Our = 76.25 If $68 = 41 then $Our = 78.25 If $68 = 42 then $Our = 80 If $68 = 43 then $Our = 80 If $68 > 43 then $Our = “” ;//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

;19 = TSP CONTRIBUTION
;20 = TSP BALANCE
;21 = ESTIMATED TSP BALANCE AT RETIREMENT AGE
;22 = ESTIMATED TSP RETIREMENT CHECK

; if $RName = “” or $REmployer = “” or $RAge = “” or $RSalary = “” or $RYears = “” or $RContribution = “” or $RBalance = “” or $RRepName = “” or $RPhone = “” or $RRetirementAge = “” then
; msgbox(0, “Incomplete”, “Please complete all your informations then continue”)
; Else

;////////////////////////////////////26////////////////////////////////////////////////
$input1 = $Rsalary & ” ”
if $Rsalary < 1000 then $26 = $Rsalary Else $str = STRINGREGEXP($input1, "([0123456789]{1,40})000 ") if $str = TRUE then ;msgbox(0, "", "your number is : " & @CRLF & $input1) $26 = $input1 + 2000 Else $JJJJJ = StringRegExp($input1, "([0123456789]{1,40})([0123456789]{3})", $STR_REGEXPARRAYMATCH) $26 = ( $JJJJJ[0] & "000" ) + 1000 + 2000 EndIf endif ;//////////////////////////////////27//////////////////////////////////////// if $Rage < 45 then if $Rage <= 35 then $FACTOR = 1 else if $Rage = 36 then $FACTOR = 0.9 Else If $Rage = 37 Then $FACTOR = 0.8 Else If $Rage = 38 then $FACTOR = 0.7 Else If $Rage = 39 then $FACTOR = 0.6 Else If $Rage = 40 then $FACTOR = 0.5 Else If $Rage = 41 then $FACTOR = 0.4 Else If $Rage = 42 then $FACTOR = 0.3 Else If $Rage = 43 then $FACTOR = 0.2 Else If $Rage = 44 then $FACTOR = 0.1 EndIf EndIf EndIf EndIf EndIf EndIf EndIf EndIf EndIf EndIf $27 = $26 * $FACTOR Else $27 = "" EndIf ;///////////////////////////////28//////////////////////////////////////// $28 = 45 - $RAge if $28 <= 0 then $28 = "" ;/////////////////////////////29///////////////////////////////////////// $A = 1.01*1.01 for $aa = 1 to ( $RretirementAge - $Rage ) - 2 $A = 1.01* $A Next $B = $A * $RSalary If $B > 1000 then
$str2 = STRINGREGEXP($B, “([0123456789]{1,40})000 “)
if $str2 = TRUE then
$29 = ($B + 2000) / 1000
else
$JJ2 = StringRegExp($B, “([0123456789]{1,40})([0123456789]{3})”, $STR_REGEXPARRAYMATCH)
$29 = ((( $JJ2[0] & “000” ) + 1000 + 2000 ) / 1000 )
EndIf
Else
$29 =( $B + 2000 ) / 1000
EndIf

$Rfir = GuiCtrlRead($fir)
$Rlaw = GuiCtrlRead($law)
If $Rfir = $GUI_CHECKED OR $Rlaw = $GUI_CHECKED THEN
If ( $RYears + $RRetirementAge – $RAge) < 21 then $52 = (($29 * 1000) - 2000) * ( 2.5 / 100 ) * ( $RYears + $RRetirementAge - $RAge) else $52 = ((($29 * 1000) - 2000) * ( 2.5 / 100 ) * 20) + ((($29 * 1000) - 2000) * (2 / 100) * ($RYears + $RRetirementAge - $RAge - 20)) endif else $52 = $B * ( $Our /100 ) endif $69 = ( $29 * 1000 ) - 2000 if $67 < 62 or $68 < 20 then $70 = $69 * 0.01 Else $70 = $69 * 0.011 endif $71 = $68 $72 = $70 * $71 $73 = $72 / 12 $74 = $68 $75 = $69 / 12 $76 = $73 $77 = $75 - $76 $78 = $76 / 2 $79 = $76 * 0.10 $30 = 0.325 * $29 $31 = $29 * 1000 * 0.25 $32 = 0.965 * $29 $33 = 1000 * $29 $34 = 0.64 * $29 $35 = $29 * 1000 * 0.50 $36 = 2.265 * $29 $37 = $29 * 1000 $38 = 1.94 * $29 $39 = $29 * 1000 If $R15 = "Yes" then $40 = 10000 If $R15 = "No" then $40 = "" If $R16 <> “No” Then
$41 = ( $26 – 2000 ) * $R16
If $rage < 35 Then $factor1 = ($41 / 1000) * 0.02 $factor1a = ($41 / 1000) * 0.043 Else $factor1 = "" $factor1a = "" EndIf If $rage < 40 Then $factor2a = ($41 / 1000) * 0.065 $factor2 = ($41 / 1000) * 0.03 Else $factor2a = "" $factor2 = "" EndIf If $rage < 45 Then $factor3a = ($41 / 1000) * 0.087 $factor3 = ($41 / 1000) * 0.04 Else $factor3a = "" $factor3 = "" EndIf If $rage < 50 Then $factor4a = ($41 / 1000) * 0.152 $factor4 = ($41 / 1000) * 0.07 Else $factor4a = "" $factor4 = "" EndIf If $rage < 55 Then $factor5a = ($41 / 1000) * 0.238 $factor5 = ($41 / 1000) * 0.11 Else $factor5a = "" $factor5 = "" EndIf If $rage < 60 Then $factor6a = ($41 / 1000) * 0.433 $factor6 = ($41 / 1000) * 0.2 Else $factor6a = "" $factor6 = "" EndIf If $rage < 65 Then $factor7a = ($41 / 1000) * 0.953 $factor7 = ($41 / 1000) * 0.44 Else $factor7a = "" $factor7 = "" EndIf If $rage < 70 Then $factor8a = ($41 / 1000) * 1.17 $factor8 = ($41 / 1000) * 0.54 Else $factor8a = "" $factor8 = "" EndIf If $rage < 75 Then $factor9a = ($41 / 1000) * 2.08 $factor9 = ($41 / 1000) * 0.96 Else $factor9a = "" $factor9 = "" EndIf If $rage < 80 Then $factor10a = ($41 / 1000) * 3.9 $factor10 = ($41 / 1000) * 1.8 Else $factor10a = "" $factor10 = "" EndIf $factor11a = ($41 / 1000) * 5.72 $factor11 = ($41 / 1000) * 2.64 Else $41 = "" endif $over = 20 $i = 0 $set = $rage $42 = 0 While $i < 21 $multiply = 0 If $set < 35 Then $fac = 0.043 $max = 34 EndIf If $set >= 35 AND $set <= 39 Then $fac = 0.065 $max = 39 + 1 EndIf If $set >= 40 AND $set <= 44 Then $fac = 0.087 $max = 44 + 1 EndIf If $set >= 45 AND $set <= 49 Then $fac = 0.152 $max = 49 + 1 EndIf If $set >= 50 AND $set <= 54 Then $fac = 0.238 $max = 54 + 1 EndIf If $set >= 55 AND $set <= 59 Then $fac = 0.433 $max = 59 + 1 EndIf If $set >= 60 AND $set <= 64 Then $fac = 0.953 $max = 64 + 1 EndIf If $set >= 65 AND $set <= 69 Then $fac = 1.17 $max = 69 + 1 EndIf If $set >= 70 AND $set <= 74 Then $fac = 2.08 $max = 74 + 1 EndIf If $set >= 75 AND $set <= 79 Then $fac = 3.9 $max = 79 EndIf If $set >= 80 Then
$fac = 5.72
$max = 80 + $over + 1 – $i
EndIf
Do
$set = $set + 1
$multiply = ($41 / 1000) * $fac + $multiply
$i = $i + 1
If $i >= 20 Then ExitLoop
Until $set >= $max
If $i >= 21 Then ExitLoop
$42 = $multiply * 12 + $42
WEnd
$over = 30
$i = 0
$set = $rage
$43 = 0
While $i < 31 $multiply = 0 If $set < 35 Then $fac = 0.043 $max = 34 EndIf If $set >= 35 AND $set <= 39 Then $fac = 0.065 $max = 39 + 1 EndIf If $set >= 40 AND $set <= 44 Then $fac = 0.087 $max = 44 + 1 EndIf If $set >= 45 AND $set <= 49 Then $fac = 0.152 $max = 49 + 1 EndIf If $set >= 50 AND $set <= 54 Then $fac = 0.238 $max = 54 + 1 EndIf If $set >= 55 AND $set <= 59 Then $fac = 0.433 $max = 59 + 1 EndIf If $set >= 60 AND $set <= 64 Then $fac = 0.953 $max = 64 + 1 EndIf If $set >= 65 AND $set <= 69 Then $fac = 1.17 $max = 69 + 1 EndIf If $set >= 70 AND $set <= 74 Then $fac = 2.08 $max = 74 + 1 EndIf If $set >= 75 AND $set <= 79 Then $fac = 3.9 $max = 79 EndIf If $set >= 80 Then
$fac = 5.72
$max = 80 + $over + 1 – $i
EndIf
Do
$set = $set + 1
$multiply = ($41 / 1000) * $fac + $multiply
$i = $i + 1
If $i >= 30 Then ExitLoop
Until $set >= $max
If $i >= 31 Then ExitLoop
$43 = $multiply * 12 + $43
WEnd
If $r17 = 1 OR $r17 = 2 OR $r17 = 3 OR $r17 = 4 OR $r17 = 5 Then
$50 = 5000 * $r17
Else
$50 = “”
EndIf
If $r17 = 1 OR $r17 = 2 OR $r17 = 3 OR $r17 = 4 OR $r17 = 5 Then
$51 = 2500 * $r17
Else
$51 = “”
EndIf

;42 !
$42A = $41 / 1000
; MAYBE A PROBLEM HERE IN THOSE CALCULATIONS 42 AND 43 !!!!!!!!!!!!!!!!!!!! __________________ !!!!!!!!!!!!!!!!!!!!!! _________________________ !!!!!!!!!!!!!! ___________________

If $r18a = $gui_checked Then
$rfir = GUICtrlRead($fir)
$rlaw = GUICtrlRead($law)
If $rfir = $gui_checked OR $rlaw = $gui_checked Then
If ( $RYears + $RRetirementAge – $RAge) < 21 then $52 = (($29 * 1000) - 2000) * ( 2.5 / 100 ) * ( $RYears + $RRetirementAge - $RAge) else $52 = ((($29 * 1000) - 2000) * ( 2.5 / 100 ) * 20) + ((($29 * 1000) - 2000) * (2 / 100) * ($RYears + $RRetirementAge - $RAge - 20)) endif else $52 = $B * ( $Our /100 ) endif $53 = "55" $54 = $52 * (55 / 100) $55 = $52 - 3600 $56 = $55 * (10 / 100) $57 = $56 + 90 $58 = $57 / 12 $60 = $b / 12 $61 = $52 / 12 $62 = $60 - $61 $63 = $54 / 12 $64 = $58 $65 = "" $66 = "" $67 = "" $68 = "" $69 = "" $70 = "" $71 = "" $72 = "" $73 = "" $74 = "" $75 = "" $76 = "" $77 = "" $78 = "" $79 = "" EndIf If $r18b = $gui_checked Then $52 = "" $53 = "" $54 = "" $55 = "" $56 = "" $57 = "" $58 = "" $59 = "" $60 = "" $61 = "" $62 = "" $63 = "" $64 = "" $65 = $rage $66 = $ryears $67 = $rretirementage $68 = $ryears + $rretirementage - $rage $69 = ($29 * 1000) - 2000 If $rlaw = $gui_checked OR $rair = $gui_checked OR $rfir = $gui_checked or $rtech = $gui_checked Then $70 = "" $71 = "" If $ryears + $rretirementage - $rage < 21 Then $72 = (($29 * 1000) - 2000) * 0.017 * ($ryears + $rretirementage - $rage) Else $72 = ((($29 * 1000) - 2000) * 0.017 * 20) + ((($29 * 1000) - 2000) * 0.01 * ($ryears + $rretirementage - $rage - 20)) EndIf Else If $67 < 62 OR $68 < 20 Then $70 = $69 * 0.01 Else $70 = $69 * 0.011 EndIf $71 = $68 $72 = $70 * $71 EndIf $73 = $72 / 12 $74 = $68 $75 = $69 / 12 $76 = $73 $77 = $75 - $76 $78 = $76 / 2 $79 = $76 * 0.1 EndIf if $R17 = 1 or $R17 = 2 or $R17 = 3 or $R17 = 4 or $R17 = 5 then $50 = 5000 * $R17 Else $50 = "" endif if $R17 = 1 or $R17 = 2 or $R17 = 3 or $R17 = 4 or $R17 = 5 then $51 = 2500 * $R17 Else $51 = "" endif FileDelete(@DESKTOPDIR & "\ABXFiles\fillable.fdf") sleep(50) FileCopy(@DESKTOPDIR & "\ABXFiles\Fill\fillable.fdf", @DESKTOPDIR & "\ABXFiles\fillable.fdf") sleep(50) FileCopy(@DESKTOPDIR & "\ABXFiles\fillable.pdf", @DESKTOPDIR & "\ABXFiles\" & $rname & ".pdf") sleep(200) ;REPLACE NAMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "F(fillable.pdf)", "F(" & $rname & ".pdf)") $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) ;REPLACE NAMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(EmployeeName", "V(" & $rname) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Employer", "V(" & $remployer) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Age", "V(" & $rage) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Salary", "V(" & $rsalary) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Years", "V(" & $ryears) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Contribution", "V(" & $rcontribution) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(Balance", "V(" & $rbalance) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $OpI = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf") $CDDD = FileRead($OpI) FileClose($OpI) $REO = StringReplace($CDDD, "V(RepName", "V(" & $rrepname) $OpI2 = FileOpen(@DESKTOPDIR & "\ABXFiles\fillable.fdf", 2) FileWrite($OpI2, $REO) FileClose($OPI2) $StrPhone1 = StringRegExp($RTELEPHONEPROFILE, "([0123456789]{3})([0123456789]{3})([0123456789]{1,9})", $STR_REGEXPARRAYMATCH) $uuX = Ubound($StrPhone1) If $uuX > 2 then
$TEL1 = $StrPhone1[0] & “-” & $StrPhone1[1] & “-” & $StrPhone1[2]
Else
$TEL1 = “”
EndIf
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(RepPhone”, “V(” & $TEL1)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

If $r14 = “Yes” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Basic”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r15 = “Yes” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(optA”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r16 <> “” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(optB”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

EndIf

If $r17 <> “No” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(optC”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r18a = $gui_checked Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(KRACH”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf
If $r18b = $gui_checked Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(FERS”, “V(” & “Yes”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIF
If $r14 = “Yes” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes1”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No1”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

Else
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No1”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes1”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Coverage”, “V(” & $26)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Extra”, “V(” & $27)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Remaining”, “V(” & $28)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(PreRetirement”,”V(” & $29)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Total1”, “V(” & $30)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Benefit1”, “V(” & $31)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Cost2”, “V(” & $32)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Benefit2”, “V(” & $33)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Cost3”, “V(” & $34)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Benefit3”, “V(” & $35)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Cost4”, “V(” & $36)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Benefit4”, “V(” & $37)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Cost5”, “V(” & $38)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Benefit5”, “V(” & $39)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

;$factor1a = _winapi_getnumberformat(0, $factor1a, _winapi_createnumberformatinfo(0, 1, 3, “”, “,”, 1) & @CRLF)

;$factor2 = _winapi_getnumberformat(0, $factor2a, _winapi_createnumberformatinfo(0, 1, 3, “”, “,”, 1) & @CRLF)

;$factor7 = _winapi_getnumberformat(0, $factor7, _winapi_createnumberformatinfo(0, 1, 3, “”, “,”, 1) & @CRLF)

If $r15 = “Yes” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes2”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No2”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
Else
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No2”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes2”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r15 = “No” Then

Else
Sleep(20)
EndIf

If $r16 <> “No” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes3”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No3”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
Else
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No3”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes3”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r16 = “No” Then
$factor1 = “”
$factor2 = “”
$factor3 = “”
$factor4 = “”
$factor5 = “”
$factor6 = “”
$factor7 = “”
$factor8 = “”
$factor9 = “”
$factor10 = “”
$factor11 = “”
$factor1a = “”
$factor2a = “”
$factor3a = “”
$factor4a = “”
$factor5a = “”
$factor6a = “”
$factor7a = “”
$factor8a = “”
$factor9a = “”
$factor10a = “”
$factor11a = “”
$41 = “”
$42 = “”
$43 = “”
endif

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week1”, “V(” & $factor1)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week2”, “V(” & $factor2)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week3”, “V(” & $factor3)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week4”, “V(” & $factor4)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week5”, “V(” & $factor5)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week6”, “V(” & $factor6)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week7”, “V(” & $factor7)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week8”, “V(” & $factor8)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(week9”, “V(” & $factor9)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Simana”,”V(” & $factor10)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(bertal”, “V(” & $factor11)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
;msgbox(0, “”, $factor11 & @CRLF & $factor11a & @CRLF & $factor10)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month1”, “V(” & $factor1a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month2”, “V(” & $factor2a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month3”, “V(” & $factor3a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month4”, “V(” & $factor4a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month5”, “V(” & $factor5a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month6”, “V(” & $factor6a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month7”, “V(” & $factor7a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month8”, “V(” & $factor8a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(month9”, “V(” & $factor9a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(3oud”, “V(” & $factor10a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(mous”, “V(” & $factor11a)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO =StringReplace($CDDD, “V(Over20”, “V(” & $42)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(CurrentBenefit”,”V(” & $41)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Over30”, “V(” & $43)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(BLOPBenefit”, “V(” & $40)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt1”, “V(” & $r44)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt2”, “V(” & $r45)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt3”, “V(” & $r46)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt4”, “V(” & $r47)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt5”, “V(” & $r48)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Alt6″,”V(” & $r49)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

If $r17 <> “No” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes4”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No4”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

If $r17 = “No” Then
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(No4”, “V(” & “X”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Yes4”, “V(” & “”)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
EndIf

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Spouse”,”V(” & $50)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(Child”, “V(” & $51)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(AA”, “V(” & $54)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(ASA”, “V(” & $55)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(ResultBB”, “V(” & $56)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(CAA”, “V(” & $52)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(AnnualSCost”,”V(” & $57)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(MonthlySCost”,”V(” & $58)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C1”, “V(” & $59)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C2”, “V(” & $60)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C3”, “V(” & $61)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C4”, “V(” & $62)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C5”, “V(” & $63)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(C6”, “V(” & $64)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7a”, “V(” & $65)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7b”,”V(” & $66)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7c”, “V(” & $67)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7d”, “V(” & $68)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7e”, “V(” & $69)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

;$72 = $70 * $71
;$73 = $72 / 12 ; THIS IS NOT IN ITS PLACE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7g”, “V(” & $72)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7f”, “V(” & $70)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)
;ed to heamsgbox(0, “”, $70 & @CRLF & $71 & @CRLF & $72)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7h”, “V(” & $71)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(7i”, “V(” & $73)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(8a”, “V(” & $74)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(8b”, “V(” & $75)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(8c”, “V(” & $77)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(8d”, “V(” & $78)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(8e”, “V(” & $79)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(RepName”, “V(” & $rnameprofile)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(RepPhone”, “V(” & $TEL1)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

$OpI = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)
$CDDD = FileRead($OpI)
FileClose($OpI)
$REO = StringReplace($CDDD, “V(RepEmail”,”V(” & $remailprofile)
$OpI2 = FileOpen(@DESKTOPDIR & “\ABXFiles\fillable.fdf”, 2)
FileWrite($OpI2, $REO)
FileClose($OPI2)

Shellexecute(@DESKTOPDIR & “\ABXFiles\fillable.fdf”)

EndFunc

Func hidee()
GuiSetState(@SW_HIDE, $GUIPROFILE)
EndFunc

Func hideeP()
Exit
EndFunc

func prof()
GuiSetState(@SW_SHOW, $GUIPROFILE)
endfunc

Func save()
Global $rretirementage = GUICtrlRead($retirementage)
Global $rname = GUICtrlRead($name)
Global $remployer = GUICtrlRead($employer)
Global $rage = GUICtrlRead($age)
Global $rsalary = GUICtrlRead($salary)
Global $ryears = GUICtrlRead($years)
Global $rcontribution = GUICtrlRead($contribution)
Global $rbalance = GUICtrlRead($balance)
Global $rrepname = GUICtrlRead($repname)
Global $rphone = GUICtrlRead($phone)
Global $r15 = GUICtrlRead($15)
Global $r16 = GUICtrlRead($16)
Global $r17 = GUICtrlRead($17)
Global $r14 = GUICtrlRead($14)
Global $r18a = GUICtrlRead($18a)
Global $r18b = GUICtrlRead($18b)
Global $65 = $rage
Global $66 = $ryears
Global $67 = $rretirementage
Global $68 = $ryears + $rretirementage – $rage
Global $59 = $68
Global $ryes = GUICtrlRead($yes)
Global $rno = GUICtrlRead($no)
Global $r44 = GUICtrlRead($44)
Global $r45 = GUICtrlRead($45)
Global $r46 = GUICtrlRead($46)
Global $r47 = GUICtrlRead($47)
Global $r48 = GUICtrlRead($48)
Global $r49 = GUICtrlRead($49)
Global $rnameprofile = GUICtrlRead($nameprofile)
Global $rtelephoneprofile = GUICtrlRead($telephoneprofile)
Global $remailprofile = GUICtrlRead($emailprofile)
Global $rspecialgroup = GUICtrlRead($specialgroup)
Global $rfir = GUICtrlRead($fir)
Global $rair = GUICtrlRead($air)
Global $rtech = GUICtrlRead($tech)
Global $rlaw = GUICtrlRead($law)
If $rfir = $gui_checked Then
$spe = “fchecked”
ElseIf $rair = $gui_checked Then
$spe = “achecked”
ElseIf $rtech = $gui_checked Then
$spe = “tchecked”
ElseIf $rlaw = $gui_checked Then
$spe = “lchecked”
Else
$spe = “nonechecked”
EndIf
If $r18a = 1 Then
$xx18 = “TRUE”
Else
$xx18 = “FALSE”
EndIf
If $ryes = 1 Then
$xxyes = “TRUE”
Else
$xxyes = “FALSE”
EndIf
$fdfd = Random(1, 9999, 1)
_filecreate(@TempDir & $rname & “.txt”)
$opp11 = FileOpen(@TempDir & “\” & $rname & “.txt”, 2)
FileWrite($opp11, $rretirementage & “=” & $rname & “=” & $remployer & “=” & $rage & “=” & $rsalary & “=” & $ryears & “=” & $rcontribution & “=” & $rbalance & “=” & $rrepname & “=” & $rphone & “=” & $xx18 & “=” & $xxyes & “=” & $r14 & “=” & $r15 & “=” & $r16 & “=” & $r17 & “=” & $r44 & “=” & $r45 & “=” & $r46 & “=” & $r47 & “=” & $r48 & “=” & $r49 & “=” & $spe)
FileClose($opp11)
If FileExists(@TempDir & “\NamesABC.txt”) = False Then
_filecreate(@TempDir & “\NamesABC.txt”)
EndIf
$array = _guictrllistview_getitemtextarray($listt, -1)
$day = _nowdate() & ” ” & @HOUR & “:” & @MIN
If $edd2 = True Then
GUICtrlCreateListViewItem($rname & “|” & $array[2] & “|” & $day, $listt)
For $x = 1 To 100
If _guictrllistview_getitemselected($listt, $x) Then
$textt = _guictrllistview_getitemtext($listt, $x)
$oha = FileOpen(@TempDir & “\NamesABC.txt”)
For $ohaha = 1 To 50
$ohal = FileReadLine($oha, $ohaha)
$stroh = StringRegExp($ohal, $textt)
If $stroh = True Then
FileClose($oha)
_filewritetoline(@TempDir & “\NamesABC.txt”, $ohaha, $rname & “+” & $array[2] & “+” & $day & “+”, True)
EndIf
Next
EndIf
Next
_guictrllistview_deleteitemsselected($listt)
Else
GUICtrlCreateListViewItem($rname & “|” & $day, $listt)
$opp2 = FileOpen(@TempDir & “\NamesABC.txt”, 1)
FileWrite($opp2, $rname & “+” & $day & “+” & @CRLF)
FileClose($opp2)
EndIf
MsgBox(0, “Save”, “Saved”)
GUISetState(@SW_SHOW, $guip)
GUISetState(@SW_HIDE, $gui2)
EndFunc

Func EXXX()
Exit
EndFunc

Func special()
$RSPP = GuiCtrlRead($SpecialGroup)
If $RSPP = $Gui_CHECKED then
GuiCtrlSetState($law, $GUI_SHOW)
GuiCtrlSetState($fir, $GUI_SHOW)
GuiCtrlSetState($air, $GUI_SHOW)
GuiCtrlSetState($tech, $GUI_SHOW)
Else
GuiCtrlSetState($law, $GUI_HIDE)
GuiCtrlSetState($fir, $GUI_UNCHECKED)
guiCtrlSetState($air, $GUI_UNCHECKED)
GuiCtrlSetState($tech, $GUI_UNCHECKED)
GuiCtrlSetState($law, $GUI_UNCHECKED)
GuiCtrlSetState($fir, $GUI_HIDE)
GuiCtrlSetState($air, $GUI_HIDE)
GuiCtrlSetState($tech, $GUI_HIDE)
endif
endfunc

Func ReturnX()
GuiSetState(@SW_HIDE, $GUILAST)
GuiSetState(@SW_SHOW, $GuiP)
EndFunc

Func back00()
GuiSetState(@SW_SHOW, $gui2)
GuiSetState(@SW_HIDE, $Gui00)
EndFunc

Func confirmP()
$RN = GuiCtrlRead($NAMEPROFILE)
$RA = GuiCtrlRead($ADDRESSPROFILE)
$RE = GuiCtrlRead($EMAILPROFILE)
$RT = GuiCtrlRead($TELEPHONEPROFILE)
If $RN <> “” and $RA <> “” and $RE <> “” and $RT <> “” Then
_FileCreate(@TEMPDIR & “\” & “profileIHC” & “.txt”)
$op = FileOpen(@TEMPDIR & “\” & “profileIHC” & “.txt”, 2)
FileWrite($op, $RN & “=” & $RA & “=” & $RE & “=” & $RT)
FileClose($op)
GuiSetState(@SW_SHOW, $guiP)
GuiSetState(@SW_HIDE, $guiprofile)
Else
msgbox(0, “Error”, “Please fill all blank spaces”)
endif
EndFunc

Func back1()
GuiSetState(@SW_HIDE, $Gui2)
GuiSetState(@SW_SHOW, $GuiP)
EndFunc