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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:54:18+00:00 2026-06-04T16:54:18+00:00

Hello I’ve created a WinForms application that I’m ready to implement on other computers

  • 0

Hello I’ve created a WinForms application that I’m ready to implement on other computers (outside of mine). I’ve having problems running it elsewhere.

In the Program.cs file I’ve got this to see what the problem is:

static void Main()
{
   try
   {
       Application.EnableVisualStyles();
       Application.SetCompatibleTextRenderingDefault(false);
       Application.Run(new mainForm());
    }
    catch(SystemException ex)
    {
       MessageBox.Show("Error: ", ex.ToString());
    }
}

Nothing it edited here besides the addition of the try/catch. I know the problem is in this Program.cs because I’ve got a series of message boxes are set to show in different stages of the MainForm_Load() block. The application reaches none of them.

This probably sounds really vague, but I simply cannot get this application to work anywhere other than my laptop. Would it be one of the Usings I’ve got? I can include those if needed.

Edit 2: As per Marko’s suggestion, I copied all the external DLLs in the same root folder as the EXE I’m trying to run. The 3rd try-catch block is throwing the exception from the Program.cs which is Application.Run(new mainForm()); and I traced this to the 32nd line of my mainForm.cs. On this line I have my background worker:

private BackgroundWorker snBW = new BackgroundWorker();

are we any closer?

  • 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-06-04T16:54:19+00:00Added an answer on June 4, 2026 at 4:54 pm

    Great and cool question.

    Sometimes application fail because of missing, corrupted or turned off target framework version. You can see what framework your application requires, full or client profile and install it before usage.

    Problem with corrupted framework often happens to .Net 2.0 because of broken Microsoft update for that component. It happens on different machines from time to time. Solution is to reinstall framework.

    Issue with deactivated .Net 3.5 feature happens on Windows 7, 2008 Server sometimes. It can be activated in Features of Windows.

    Many .Net 3.5 applications actually requires .Net 3.5SP1.

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

Sidebar

Related Questions

Hello I am trying to implement a wake lock for an application. PowerManager pm
Hello we have an SQL server application running over a low bandwith connection. We
Hello frnds I have windows mobile application, that retrieves location info. Now i want
Hello I am having some problems with the code below. The try and catch
Hello I want to know how to highlight all Words that is inputted in
Hello does any one know that setting I need to ON for connect to
. Hello, I am trying to add a UIButton and other items to my
Hello i'm having some trouble in displaying multiple pushpins on maps. So far i've
Hello I wrote an application and while deploying shows error in line mCamera=Camera.open(); Where
Hello guys I need to pass a string array over to a setter that

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.