dennishea
11-04-2006, 06:26 PM
This is the lastest error.
-- Content of errorlog.txt --
PPL compiler v.1.07 Pro
Filename : c:\program files\ppl\projects\workrelated.ppl
Parsing...
c:\program files\ppl\projects\workrelated.ppl
C:\Program Files\PPL\Runtime\Lib\swapi.ppl
C:\Program Files\PPL\Runtime\Lib\common.ppl
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'EDIT106$' (3,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (3,32)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (3,56)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (3,80)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (3,104)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (3,128)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'EDIT106$' (4,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (5,16)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (5,40)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (6,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (6,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (8,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (8,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (10,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (11,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (11,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (12,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (12,11)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (14,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (14,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (16,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (17,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (17,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (18,3)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (18,9)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (20,3)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (20,18)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (22,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (23,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (23,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (24,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (24,11)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (26,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (26,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (28,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (29,16)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (29,40)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (30,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (30,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (32,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (32,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (34,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (35,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (35,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (36,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (36,11)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (38,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (38,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (40,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (41,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (41,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (42,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (42,11)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (44,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (44,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (46,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (47,7)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (47,22)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (48,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (48,11)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (50,5)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (50,20)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (52,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'EDIT107$' (53,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MX$' (53,21)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'MN$' (53,27)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON115) Variable is not defined as local and might be used as global at 'EDIT107$' (54,15)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'NUMEDIT101$' (3,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'NUMEDIT102$' (4,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'NUMEDIT103$' (5,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'NUMEDIT104$' (6,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'NUMEDIT105$' (7,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'EDIT106$' (8,12)
** warning ** (c:\program files\ppl\projects\WorkRelated.frm#BUTTON116) Variable is not defined as local and might be used as global at 'EDIT107$' (9,12)
Total parsing time (219 ms)
Linking... (62 ms)
Saving ppc file... (16 ms)
Compiling... (15 ms)
Completion time (312 ms)
** 0 error(s), 74 warning(s)
-- Content of debuglog.txt --
11/4/2006 01:09:18 PM : Generated by the PPL interpreter v.1.07 Pro
11/4/2006 01:09:18 PM : Root C:\Program Files\PPL\Runtime\
11/4/2006 01:09:19 PM : Available memory 246,202,368 bytes
11/4/2006 01:09:19 PM : WORKRELATED.PPL started
11/4/2006 01:09:33 PM : ** runtime error ** (swapi.ppl) (EDIT_SET(2,0)) Access violation at 0x77d6c1d1 (155,3)
11/4/2006 01:10:38 PM : WORKRELATED.PPL ended (79,704 ms)
11/4/2006 01:10:38 PM : Available memory 247,189,504 bytes
I downloaded 1.07 and installed it and this is how it responeded to my code. Am I suppose to uninstall the old first or just install over top of it?
dennishea
p.s. sorry about error log I didn't realize that when I copied the line that gave the description of the error that there was a whole log with it. I think I understand what the warnings are saying but don't know the proper way to solve it.
dennishea
11-04-2006, 10:20 PM
Ok I reinstalled 1.07 and still same problems. Here is the code.
// Code auto-generated by PPL version 1.07 Pro
// Do not modify this code directly.
#include "swapi.ppl"
#define FORM100_ID 100
#define NUMEDIT101_ID 101
#define NUMEDIT102_ID 102
#define NUMEDIT103_ID 103
#define NUMEDIT104_ID 104
#define NUMEDIT105_ID 105
#define EDIT106_ID 106
#define EDIT107_ID 107
#define LABEL108_ID 108
#define STATIC109_ID 109
#define STATIC110_ID 110
#define STATIC111_ID 111
#define STATIC112_ID 112
#define LABEL113_ID 113
#define LABEL114_ID 114
#define BUTTON115_ID 115
#define BUTTON116_ID 116
#define BUTTON117_ID 117
#code {WorkRelated.ppl,25}
#code {WorkRelated.frm#FORM100}
func Menu5001_OnClick(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
PostMessage(hWnd$, WM_CLOSE, 0, 0);
return (true);
end;
#code {WorkRelated.frm#BUTTON115}
func BUTTON115_OnClick(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
edit_set(edit106$, (edit_get(numedit101$) + edit_get(numedit102$) + edit_get(numedit103$) + edit_get(numedit104$) + edit_get(numedit105$))/ 5);
if (edit_get(numedit101$) > edit_get(numedit102$))
mx$ = edit_get(numedit101$);
else
mx$ = edit_get(numedit102$);
end;
if (mx$ > edit_get(numedit103$))
mx$ = mx$;
else
mx$ = edit_get(numedit103$);
end;
if (mx$ > edit_get(numedit104$))
mx$ = mx$;
else
mx$ = edit_get(numedit104$);
end;
if (mx$ > edit_get(numedit105$))
mx$ = mx$;
else
mx$ = edit_get(numedit105$);
end;
if (edit_get(numedit101$) < edit_get(numedit102$))
mn$ = edit_get(numedit101$);
else
mn$ = edit_get(numedit102$);
end;
if (mn$ < edit_get(numedit103$))
mn$ = mn$;
else
mn$ = edit_get(numedit103$);
end;
if (mn$ < edit_get(numedit104$))
mn$ = mn$;
else
mn$ = edit_get(numedit104$);
end;
if (mn$ < edit_get(numedit105$))
mn$ = mn$;
else
mn$ = edit_get(numedit105$);
end;
edit_set(edit107$,mx$ - mn$);
return (true);
end;
#code {WorkRelated.frm#BUTTON116}
func BUTTON116_OnClick(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
edit_set(numEdit101$,"");
edit_set(numedit102$,"");
edit_set(numedit103$,"");
edit_set(numedit104$,"");
edit_set(numedit105$,"");
edit_set(edit106$,"");
edit_set(edit107$,"");
return (true);
end;
#code {WorkRelated.frm#BUTTON117}
func BUTTON117_OnClick(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
PostMessage(hWnd$, WM_CLOSE, 0, 0);
return (true);
end;
#code {WorkRelated.ppl,101}
func WinMain
Global(MsgList$, AppPath$, FORM100$, NUMEDIT101$, NUMEDIT102$, NUMEDIT103$, NUMEDIT104$, NUMEDIT105$, EDIT106$, EDIT107$, LABEL108$, STATIC109$, STATIC110$, STATIC111$, STATIC112$, LABEL113$, LABEL114$, BUTTON115$, BUTTON116$, BUTTON117$, m5000$);
Local(fnt$, keys$);
List(MsgList$);
FORM100$ = NewFormEx("My Form100", "PPLForm", 0, WS_BORDER|WS_VISIBLE, 0, 26, 240, 269, NULL);
NUMEDIT101$ = NewControl(101, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_TABSTO P|ES_NUMBER|WS_BORDER, FORM100$, 176, 32, 40, 16);
SetWindowPos(NUMEDIT101$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("NUMEDIT101", NUMEDIT101$);
NUMEDIT102$ = NewControl(102, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_TABSTO P|ES_NUMBER|WS_BORDER, FORM100$, 176, 48, 40, 16);
SetWindowPos(NUMEDIT102$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("NUMEDIT102", NUMEDIT102$);
NUMEDIT103$ = NewControl(103, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_TABSTO P|ES_NUMBER|WS_BORDER, FORM100$, 176, 64, 40, 16);
SetWindowPos(NUMEDIT103$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("NUMEDIT103", NUMEDIT103$);
NUMEDIT104$ = NewControl(104, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_TABSTO P|ES_NUMBER|WS_BORDER, FORM100$, 176, 80, 40, 16);
SetWindowPos(NUMEDIT104$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("NUMEDIT104", NUMEDIT104$);
NUMEDIT105$ = NewControl(105, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_TABSTO P|ES_NUMBER|WS_BORDER, FORM100$, 176, 96, 40, 16);
SetWindowPos(NUMEDIT105$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("NUMEDIT105", NUMEDIT105$);
EDIT106$ = NewControl(106, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_BORDER |WS_TABSTOP, FORM100$, 176, 138, 40, 16);
SetWindowPos(EDIT106$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("EDIT106", EDIT106$);
EDIT107$ = NewControl(107, "EDIT", NULL, "", WS_VISIBLE|ES_AUTOHSCROLL|ES_AUTOVSCROLL|WS_BORDER |WS_TABSTOP, FORM100$, 176, 154, 40, 16);
SetWindowPos(EDIT107$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("EDIT107", EDIT107$);
LABEL108$ = NewControl(108, "STATIC", NULL, "Data", WS_VISIBLE, FORM100$, 136, 32, 32, 16);
SetWindowPos(LABEL108$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("LABEL108", LABEL108$);
STATIC109$ = NewControl(109, "STATIC", NULL, "Data", WS_VISIBLE, FORM100$, 136, 48, 32, 16);
SetWindowPos(STATIC109$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("STATIC109", STATIC109$);
STATIC110$ = NewControl(110, "STATIC", NULL, "Data", WS_VISIBLE, FORM100$, 136, 64, 32, 16);
SetWindowPos(STATIC110$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("STATIC110", STATIC110$);
STATIC111$ = NewControl(111, "STATIC", NULL, "Data", WS_VISIBLE, FORM100$, 136, 79, 32, 16);
SetWindowPos(STATIC111$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("STATIC111", STATIC111$);
STATIC112$ = NewControl(112, "STATIC", NULL, "Data", WS_VISIBLE, FORM100$, 136, 95, 32, 16);
SetWindowPos(STATIC112$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("STATIC112", STATIC112$);
LABEL113$ = NewControl(113, "STATIC", NULL, "Average", WS_VISIBLE, FORM100$, 117, 138, 48, 16);
SetWindowPos(LABEL113$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("LABEL113", LABEL113$);
LABEL114$ = NewControl(114, "STATIC", NULL, "Difference", WS_VISIBLE, FORM100$, 106, 153, 64, 16);
SetWindowPos(LABEL114$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
CreateEvent("LABEL114", LABEL114$);
BUTTON115$ = NewControl(115, "BUTTON", NULL, "Calculate", WS_VISIBLE|WS_TABSTOP, FORM100$, 8, 88, 64, 16);
SetWindowPos(BUTTON115$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
AddEvent(BUTTON115$, BN_CLICKED, 115, &BUTTON115_OnClick);
CreateEvent("BUTTON115", BUTTON115$);
BUTTON116$ = NewControl(116, "BUTTON", NULL, "Clear", WS_VISIBLE|WS_TABSTOP, FORM100$, 8, 105, 64, 16);
SetWindowPos(BUTTON116$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
AddEvent(BUTTON116$, BN_CLICKED, 116, &BUTTON116_OnClick);
CreateEvent("BUTTON116", BUTTON116$);
BUTTON117$ = NewControl(117, "BUTTON", NULL, "Exit", WS_VISIBLE|WS_TABSTOP, FORM100$, 8, 122, 64, 16);
SetWindowPos(BUTTON117$, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
AddEvent(BUTTON117$, BN_CLICKED, 117, &BUTTON117_OnClick);
CreateEvent("BUTTON117", BUTTON117$);
CreateEvent("FORM100", FORM100$);
list(keys$);
if (Count(keys$) > 0)
CreateAccelTable(FORM100$, keys$);
end;
m5000$ = NewMenu(FORM100$, "File", 5000);
NewMenuItem(m5000$, -1, "Exit", 5001);
AddEvent(NULL, WM_COMMAND, 5001, &Menu5001_OnClick);
CenterForm(FORM100$);
ShowWindow(FORM100$, SW_SHOW);
SetForegroundWindow(FORM100$);
Form_Repaint(FORM100$);
#code {WorkRelated.frm#}
return (true);
end;
This isn't much but you have to crawl before you walk. Most of this code as you can see was automaticly created except button115 116 117.
dennishea
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.