Restarting Program (Borland C++ Builder)

This is a discussion on Restarting Program (Borland C++ Builder) within the Windows Programming forums, part of the Platform Specific Boards category; This question may be completely far-fetched i dont know. Is there anyway you can make it when you click a ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    21

    Restarting Program (Borland C++ Builder)

    This question may be completely far-fetched i dont know.

    Is there anyway you can make it when you click a button the exe you have created restarts itself or closes and reopens?

    I'm trying to make my program restart and to code it all would take ages as i have quite a few counters under diffrent buttons and alot of captions etc to clear.

    thanx for any help,
    Jason

  2. #2
    Dev
    Dev is offline
    Registered User Dev's Avatar
    Join Date
    Mar 2003
    Posts
    59
    See ShellExecute() if that is what you are looking for.

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    21
    Yep thats was it, hav it working now,

    Thanx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  2. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  3. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  4. Restarting a program
    By learning110 in forum C Programming
    Replies: 5
    Last Post: 05-08-2003, 05:49 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21