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 3315606
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:22:12+00:00 2026-05-17T22:22:12+00:00

I have one EXE (built in .Net) running on windows. When it runs, it’d

  • 0

I have one EXE (built in .Net) running on windows. When it runs, it’d get another EXE from server and execute under that same process.
Using Process.Start I can execute the server EXE after dowloading but that’d start a new process with an extra step of downloading the EXE residing on the server. But I wanted a better solution.

  • 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-17T22:22:12+00:00Added an answer on May 17, 2026 at 10:22 pm

    If the downloaded executable is a .NET application, see AppDomain.ExecuteAssembly.

    1. Do not use a second appdomain. Just use AppDomain.Current.ExecuteAssembly.
    2. Do not call any WinForm functions before launching the second application. For example, don’t create any windows.

    If you need to create windows, create them after the executed application is running by attaching an event handler to the Application.Idle event. When the app is loaded and starts the WinForms message loop, this event will be raised. Here you can create windows or access the application’s windows via Form.OpenForms.

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

Sidebar

Related Questions

OS: Vista Business 64-BIT Coding: .NET and 3-rd party EXE Issue: Security I have
I have a project built with .NET 4.0. I have a lot of code
I'm building a traditional ASP.NET Web Service -- the style built using asmx. It's
I just recently upgraded a VS2008/.NET 3.5 SP1 project to VS2010 and .NET 4.
I have two VS2008 solutions. Both contain a web application. For both web apps
This is a question for a WSS/SharePoint guru. Consider this scenario: I have an
Related: How to force delete a file? I have a NAnt script that does
We're using CruiseControl.NET which invokes an MSBuild script. While debugging the build script, we
As a long-time lurker on SO, I'm popping my question cherry with a tricky
To an earlier question of mine, invovling VBC and NAnt with WinForms , I

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.