Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Application Reload

Posted on 1999-07-16
Medium Priority
Last Modified: 2010-08-05
Is there a way to reload an application while it's running through delphi code? Maybe when the user presses a button or something.
Question by:jackjoker
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Accepted Solution

viktornet earned 20 total points
ID: 1389243
what do you mean by reloading??

you can destroy the main form by freeing it.... MyForm.Free; and then recreae it again...

MyForm := TMyForm1.Create(Application);

and at the end..


or whatever...

this will reload the main form...

LVL 10

Expert Comment

ID: 1389244
another thing to try is as follows...



but I don't think that the code after Application.terminate; would even run, so that would not work... buy can give it a try...

LVL 17

Expert Comment

ID: 1389245
ReCreateWnd maybe??

you need to give more info as to why you want to do this..

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question