Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6558851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:15:00+00:00 2026-05-25T13:15:00+00:00

I have a Windows application which if it fails, I would like to default

  • 0

I have a Windows application which if it fails, I would like to default to a “recovery mode”, the first time it is run after failing.

I’m ok on flagging the error and the different things the user could do to recover, it’s the actual launching of the recovery mode utility that is giving me a headache. I have had a couple of ideas, but I was hoping someone else might have come across a better method.

1) When the main app loads the first thing it does if check for a previous error and then launch the recovery mode utility.

The problem with this is that if there is anything wrong with the app, which is likely, then it will not start up at all.

2) Instead of the main app have the user start up a utility that will check for a previous error, then either launch the main app or go into the recovery mode.

This solves the problem with the first idea, however the target machines are very locked down and there could be deployment issues.

Are there any other strategies for implementing a recover mode?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:15:01+00:00Added an answer on May 25, 2026 at 1:15 pm

    We solved some similar situation as follows :

    • make the “recovery mode utility” the one that is always started by the user
    • the “recovery mode utility” check whether any recovery to do (and if so does it)
    • when either no recovery needed or the recovery is completed successfully the utility launches the real app

    With .NET you can even put both into one EXE… for example with ILMerge (free utility) or by embedding the real app as an “embeddable resource” or by some commercial tool…

    This way for the user there is no difference… and the embedded EXE can be started from memory (no need to extract it to the file system) so for the user it doesn’t make any difference until recovery is really needed…

    IF need be for some hints on how to embed and/or start the second EXE from memory let me know – I don’t have the links at hand right now but could look them up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows service application, running under WinXPe, which sometimes fails with an
I have a Windows application which has a browser in it. The Windows application
I have a Windows Service application which uses a Threading.Timer and a TimerCallback to
I have a C# windows application which does the following: 1) the main form
I have a windows service application which works using remoting. It is used to
i have a windows application made in VB.NET which maintains a database, and i
I currently have a functioning in-house Windows Forms application which extensively uses the DataGridView
I have two windows application, one is a windows service which create EventWaitHandle and
Hai every one I am developing an windows application in which i have to
I have an application which was developed under Windows, but for gcc. The code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.