Application error without installing Visual Studio

The code needs to be big to post here, and I don't know which parts are important. I tried on every computer that I have, and it does not work with any of them. VS2010 compiles the code without any warnings or errors and works fine with the application, also works fine if I run the application just from the OS. When I put it on another computer, it does not work (I always have Framework 4.0, my other applications work fine).

On my laptop (win xp) it says: "The program has encountered a problem and needs to close ...". The standard send / not send error windows do not say anything specific about the problem.

On my PC (win xp), he said the same thing as on a laptop, than I installed Visual Studio there, and it started working fine. When I remove VS10, it crashed again with the help of massage, as the "unhandled exception" Just-in-Time debugger "was not found ...", again nothing concrete about the problem.

My friend brings his laptop (win 7), and not a single message appeared, but not a single application either. He did nothing, no messages, no applications, even the process did not start. When I clicked on the wait icon, a cursor appeared for 2 seconds, and all that.

Every time the same thing is not displayed, even it is shown that it works instantly. Only the PC where the application works is the PC (win 7) where I create it, with Visual Studio 2010 installed, of course. I believe that other PCs skip some files or .dll and other unwanted files that are installed with VS2010. Any ideas what to look for? I can’t install VS in all its big and, as I say, “you need a preliminary bonus to watch the video”.

EDIT: Windows Events:

Application: Floorball.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
   at Floorball.Interface.InitializeComponent()
   at Floorball.Interface..ctor()
   at Floorball.Program.Main()

[SOLUTION] I definitely didn’t decide, but I was able to find the GUI component in InitializeCoponent (), which causes a crash. Its stupid LineShape !! I do not understand why it does not work correctly everywhere! Therefore, if every body has a similar problem, try this solution!

+5
6

, dll. Release , .

:

, ( ) - 64/32- . , , P/Invoke, . Any CPU, 64- 64- 32- 32- . x86 , .

+4

, :

  • .NET . .NET 4, "" . .
  • ++: ++, ++ redist .NET.
  • /: , .NET( ++), . Release .
+2

.net4

0

, , . "" " Visual Studio" , Debug Release .

0

. .

Krypton.Toolkit, Visual Studio. , dll , CopyLocal = false

, DLL (, DLL ).

copylocal = true, , .

0

2 . , Target Framework .NET 4.0 .NET 4.0 CP DLL , .NET 4.5, DLL Visual Basic.

InstallShield, , .

Visual Basic (VB6), Visual Basic.NET(VB.net), - DLL Microsoft.VisualBasic.PowerPacks.Vs.dll,

C:\Program Files\Reference Assemblies\Microsoft\VBPowerPacks\v10.0

, , Visual Studio, , "System.IOException.FileNotFound" . Object Explorer Visual Studio DLL, InstallShield LE, , , ( ) .

, - .

0

All Articles