
Help on GPF...what am I doing wrong???
I get a GPF when I excute my Application/Program.
My program makes use of two forms which inturn has
textboxes, list boxes,frames, menu,Toolbar, Indextabs etc.
It makes use of MSComm control.
The application is used to dial into a remote computer and
start a communications application like Terminal. I make use
of the Shell command to start the
terminal after my program sets up the connection by running a logon
script.
I get a GPF when I Close my application after launching Terminal. Why
could it be???
I tried to check the memory available on the system after I Start
Executing my program from VB. Using the About command from program
manager's Help menu command I figured out that only about 20-30% of
memory was free during the execution of my application. Even if I Create
a Executable and run it directly after starting Windows the Amount of
free memory available is less than 40%.
Can you suggest me a way of avoiding the memory utilization?
When I Exit the program by using End Statement I Unload my forms.
Should I Unload each control individually?
The Memory configuration on my PC is
Total = Used + Free
Conventional 640K 88K + 552K
Upper 139K 119K + 20K
reserved OK OK OK
Extended(XMS) 15,093K 2,281K 12,812K
TotalMemory 15,872K 2,488K 13,384K
Total Under 1MB 779K 207K 572K
MS-Dos is resident in the high memory area.
Is this OK to run Build Applications with custom controls.
Do I Have to take any prcautions before using a Shell Command to Avoid
GPF??
Please mail me your responses.
Thanks,