Answered Ending VPF program

  • Thursday, February 25, 2010 7:03 PM
     
     
    Hi,
     
    Is there a way to end a VPF 9 program, (EXE),  at a given moment regardless of what forms, menus or reports are active without receiving any messages or popups.
    Using quit wont work.
     
    Thanks in advance

All Replies

  • Thursday, February 25, 2010 7:11 PM
     
     
    You may try to use ESC key, press more times if neccesary. You may also build a small program to "kill" task or use Windows Task Manager....
    dni
  • Thursday, February 25, 2010 7:14 PM
     
     

    Hi,

    It´s a comercial program, the Esc key is dasbled to avoid that by accident the users abort the program.
    The process needs to be inside the VPF programa and be silent an have no user intervention at all.

  • Thursday, February 25, 2010 7:23 PM
     
     
    Then use Task Manager....What is the purpose to "end"  the program.?
    dni
  • Thursday, February 25, 2010 7:40 PM
    Moderator
     
     Answered
    You need to close all open forms. Check this http://fox.wikis.com/wc.dll?Wiki~ReleasingAllForms 
    Premature optimization is the root of all evil in programming. (c) by Donald Knuth

    Naomi Nosonovsky, Sr. Programmer-Analyst

    My blog
    • Proposed As Answer by tushar kanvinde Monday, March 01, 2010 10:38 AM
    • Marked As Answer by Martin_Xie Friday, March 05, 2010 5:30 AM
    •  
  • Thursday, February 25, 2010 7:48 PM
    Moderator
     
     Answered
    You can also silently kill the exe. Check http://www.berezniker.com/content/pages/visual-foxpro/check-if-exe-running-and-optionally-terminate-it
    Premature optimization is the root of all evil in programming. (c) by Donald Knuth

    Naomi Nosonovsky, Sr. Programmer-Analyst

    My blog
    • Proposed As Answer by tushar kanvinde Monday, March 01, 2010 10:38 AM
    • Marked As Answer by Martin_Xie Friday, March 05, 2010 5:30 AM
    •