Home > Archive > Programming with dBASE > December 2005 > Command Pane still there after execution









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Command Pane still there after execution
Pete L.

2005-12-03, 8:23 pm

After executing and exiting a Visual Dbase 5.7 .exe under XP pro the
program does not goes back to the XP desktop, it shows the
dbase command pane, and then, manually I close it and get out.

Never happend in prior versions. Thanks.

Peter L.


Ken Mayer [dBVIPS]

2005-12-05, 9:23 am

Pete L. wrote:
> After executing and exiting a Visual Dbase 5.7 .exe under XP pro the
> program does not goes back to the XP desktop, it shows the
> dbase command pane, and then, manually I close it and get out.
>
> Never happend in prior versions. Thanks.


Are you using the word QUIT to exit the application?

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Peter L.

2005-12-05, 8:24 pm

Ken Mayer [dBVIPS] Wrote:

> Pete L. wrote:
>
> Are you using the word QUIT to exit the application?
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/dbase/dBASEBook.htm
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase



I'm not using -Quit-. The .exe behaves well in ver. 5.5 under NT 4.0.
Now I moved it to XP and recompiled under ver 5.7.

Thanks.
Ken Mayer [dBVIPS]

2005-12-05, 8:24 pm

Peter L. wrote:
> Ken Mayer [dBVIPS] Wrote:
>
>
>
>
> I'm not using -Quit-. The .exe behaves well in ver. 5.5 under NT 4.0.
> Now I moved it to XP and recompiled under ver 5.7.


I believe that using the word QUIT is important here. Try adding it as
the last command executed -- when your user selects the option to exit
the application.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Peter L.

2005-12-06, 3:23 am

Ken Mayer [dBVIPS] Wrote:

> Pete L. wrote:
>
> Are you using the word QUIT to exit the application?
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/dbase/dBASEBook.htm
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase


Works like a charm! Thanks + Thanks + Thanks.

Richard Perryman

2005-12-06, 9:23 am

Ken Mayer [dBVIPS] wrote:
>
> I believe that using the word QUIT is important here. Try adding it as
> the last command executed -- when your user selects the option to exit
> the application.
>


Ken's right. Here's what I do in the "onclose event" for my VDB 5.7 app.

If "RUNTIME" $ Upper(Version(0)) && If in EXE
QUIT
Endif
Shell(.T., .T.) && Turn on VdB shell


Thanks
Richard
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com