Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VS2005 -VB Debug Problem 1

Status
Not open for further replies.

AndrewForrest

Programmer
Jan 27, 2004
43
AU
Setup
I am running VS2005 on a vista box with the projects & published app saved to a directory on a server I have full rights to.

Problem:- when I try to debug a program at first it runs ok then after closing and reopening the program it displays "The Operation Could not Be Completed" if I try again it displays
"VS could not copy a support file to this location 'r:\.....\vshost.exe' please verify path exists & is writable"
It does and is!

If I publish the program it runs (or not depending on how good my code is).
There was a post about killing Vshost.exe but this happens after rebooting the PC.

Just starting with Vs2005 to convert programs from vb5 so any help appreciated.
Thanks Andrew


 
I have run into this myself and never found a good answer. What I have found is that when debugging, I have to use Task Manager to kill the vshost.exe of the application I am working with. I have to do this every time I make changes to the application and debug it.....Really stinks but I have just become used to it now.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Sorry I have to ask, but why don't you turn off the Visual Studio Hosting in the Debug Properties Tab of the Project Properties?

Or am I missing something here!
--

woogoo
 
No reason not to ask woogoo. I have not encountered that solution before but it seems to work on a couple tests I did. You deserve a star for that one.

Do you know if there is anyway to default this for all projects??? I can't seem to find a setting for that.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Thanks mstrmage1768 & woogoo,

The only stupid question is the one not asked....I just don't know enough about the enviroment yet.

Regards
 
Thanks for that, I've checked the settings and like you, I can't see a default option for this setting. You'll just have to pop it on to your own internal memory stack. :)
--


woogoo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top