Hi everyone
I have a problem
when I run the vb.net program on VS2010 the following error appears:

Error while trying to run project:
Unable to start program 'G:\TREEVIEW_uc_cr\bin\debug\Treeview_UC.exe'

Please help in solving this problem.
Thank for advance

Recommended Answers

All 3 Replies

  1. While it's odd to see that old a version of VS2010, does the app work while you are in VS2010?
  2. I see no code and telling me so little does not give up many clues. Do other projects work?
  3. Create a very small project such as Hello World to see if your install and permissions are correct.

to @rproffitt

I just tried to copy the ..\bin\debug folder from the backup program
and I overwrite it in the original folder of the original program
then I open the program and it runs normally
but only for a moment the error is gone

if i try to make a small project like making
"Hello World" is running normally

However, if my project is fully opened from the "backup file" intact
until now the error has not appeared again

The question is what is the main cause of the error?
"Error while trying to run project:Unable to start program "

Since you fixed it, you'll have to wait to see what causes it again. That's a very old version of Visual Studio so bugs are expected. The clues are not here as to what happened but rather than leave it here as-is, next time try a full compile. I didn't run VS2010 long enough for long term memories but as you use it a lot, look around for an option to clean the project then fully recompile.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.