Program written in C# will not run on a specific Windows PC

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lacole
    New Member
    • Jul 2010
    • 2

    #1

    Program written in C# will not run on a specific Windows PC

    I have an .exe program written in C# that will not run on a specific PC that has Windows XP on it. That same .exe program will run on other Windows XP PCs though. So it's something specific to that PC.

    The program itself will launch without error. The program basically reads a file and outputs information based on the file contents. So nothing is supposed to happen until the user selects a file. Once the user selects a files, there is a background worker that is supposed to start up and do all the processing. However, it doesn't look like that background worker is starting up.

    It can't be a problem with the code since it works on other PCs. This PC is new, so is there a certain setting or missing dll that could cause this problem?
  • Joseph Martell
    Recognized Expert New Member
    • Jan 2010
    • 198

    #2
    Are you getting any exceptions or is the program just sitting there, not doing anything?

    Comment

    • lacole
      New Member
      • Jul 2010
      • 2

      #3
      No exceptions. It's just sitting there as if I never opened a file. Putting in breakpoints in the code, it hits the BackgroundWorke rFileReader.Run WorkerAsync() as it should, but it never hits a breakpoint in the BackgroundWorke rFileReader_DoW ork routine. I installed Visual C# 2010 Express Edition on that PC, so it has the .NET framework version 4 on it.

      Comment

      Working...