Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I wrote a simple program. A command prompt window comes up in the background when starting my program. How can I fix it?
Go into your project properties (right click on project)
Properties => Application => Output type
Set it to "Windows Application" instead of "Console Application".
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 days ago.
Improve this question
multiline screen
A user cannot copy these lines and paste them in the same order. all it allows them is copy a line at a time. Please advise a way to achieve this
I am not a web person - i'm looking out for a solution/any advise on how this can be achieved.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I'm trying to make a program, which can open other programs, but I need help, because if I run a program, with
Process.Start(ExePath)
I get errors like 'cannot find 'File.*' file'.
but normally the program works when I start it manually it just works normally
does someone knows how to fix this?
Thanks in advance
You can build a full qualified path starting from your current application directory like this:
string exepath = Path.Combine(Environment.CurrentDirectory, "Games", "Game.exe");
Process.Start(exepath);
adopted from Specifying a relative path
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
All of UWP Samples I have tried to compile and run do not work. They always freeze on splash screen and stay like that. And after shutting them down, I can't run them again because it says System is using the .exe process.
Have you tried to turn off your Anti-Virus?
In my case, Avast sometimes blocks my executable, so I have to disable it.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Today I run into a strange error.
When I start my program without Visual studio 2010 Express, start to running, but the gui not appear, and inpossible do stop it in task managger.
But if I run it in Visual studio, it work without any problem.
It do it with my all c# program,even what I write years before, but not any other program.
Tried to check, if a virus do it, but it can't find anything.
Operting system is Windows 7
It can be antivirus who stops execution of your application. Try to turn off it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to run my .exe file for a console app I made. When I go to /bin/debug/~~~.exe it won't run. However, it still manages to build from inside Visual Studio.
How can I get this to work?
I have experienced the same situation, my exe is just a simple Hello World console. After a lot of trials and errors, I figured out it is just my antivirus (Avast Free Antivirus) pausing it. Whitelisting my exe solves the problem. Hope it is your case too.
Its my antivirus which is blocking my application. After uninstalling everything is working properly.