Hi, I have been fiddling around with VS2008 and VB.Net for a little while now. Usually just taking samples and modifying to suit my needs. I have noticed that when using the �??Run�?? button from within VS, sometimes ArcMap will launch, for other projects the VS �??Test Container�?? will launch. I have a project which uses ArcObjects I wish to have launch in ArcMap when debugging.
You need to put that value in the "Start extrenal program:" textbox instead. "Command line arguments:" passes whatever you have typed in the box to your application, so in this case is passing the application path.
I was about to reply and ask where I would find the 'Start external program' setting... ...I then discovered that should be under Debug tab in the projects properties, but wasn't. I'm running the Express edition of VS 2008 which by all reports should have this functionality but doesn't. http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/e81a20c3-ebc5-4b53-b8cf-34cbca... Given that some of the samples I have been working with debug in ArcMap and others don't, I suspect that the projects were probably initially created in the full version of VS and had the Start External Program pointing to ArcMap. I can only assume that the Express edition honors such a setting but does not itself allow the stetting to be set or changed.
The outcome may not be favorable for me, but a least I now have a better understanding of what's going on. Thanks for the tip.