Hi the project is just stored there. -- Chris Hallsworth E-mail: christopherh40@xxxxxxxxxxxxxx MSN: ch9675@xxxxxxxxxxx Skype: chrishallsworth7266 Klango: chrishallsworth -------------------------------------------------- From: "RicksPlace" <ofbgmail@xxxxxxxxx> Sent: Tuesday, August 04, 2009 11:51 PM To: <programmingblind@xxxxxxxxxxxxx> Subject: Re: More help with assignment
Hi Chris: I thought that would have done the trick, it was one problem. I notice your file path is off the d drive. did you download the CSharp Express onto the d drive or is your project just stored there. ----- Original Message ----- From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Tuesday, August 04, 2009 6:01 PM Subject: Re: More help with assignmentOk, I'll give you the exact error message. I've this time created a new project with the title having absolutely no spaces. Here's the message:"Microsoft Visual C# 2008 Express EditionVisual Studio cannot start debugging because the debug target graphic 775 'D:\Downloads\Documents\DockingPort\DockingPort\DockingPort\bin\Debug\DockingPort.exe' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly. OK " Hope this helps, and thanks in advance for looking into it further. -- Chris Hallsworth E-mail: christopherh40@xxxxxxxxxxxxxx MSN: ch9675@xxxxxxxxxxx Skype: chrishallsworth7266 Klango: chrishallsworth -------------------------------------------------- From: "RicksPlace" <ofbgmail@xxxxxxxxx> Sent: Tuesday, August 04, 2009 5:17 PM To: <programmingblind@xxxxxxxxxxxxx> Subject: Re: More help with assignmentI was thinking about tthis last night. I was wondering how you named the project when you created it. You were likely asked for a path and a name for the project. If you had a space embedded in the name when you created the project the project name when compiled might contain a space and your concatenated name would not match up with what the build is working with. The problem would also be that if you left the space in then the name of the executable would be invalid since a filename can not contain spaces. Check out the name of the project. If it has spaces you might have to ReCreate the project, you might be able to copy some of the stuff from this project to the new one but perhaps not if they reference the project name. I don't know your project but this is just a guess as to how you got a space in the executable file name in the first place when the project was built. If the project is really large let me know and I will see if I can come up with something if you find out that this is the problem. If you have an instructor ask him if having a space in the Project Name would make a diference and how to fix it if that is the problem. He might have a better idea.Rick USA----- Original Message ----- From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Tuesday, August 04, 2009 10:48 AM Subject: More help with assignmentHello all, I'm still having problems with my assignment in Visual C# 2008 ExpressEdition. First of all, please look at the code below and see why, when I run it, nothing but "Press any key to continue" is displayed. Also, When I debug the program, I'm now told that the version of DockingPort.exe that should be in the debug folder is missing. Please advise on what I should do next. Nowhere is the code: -- start of code-- using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DockingPort { class Program { static void Main(string[] args) { char CostAgent(int){ Console.WriteLine("enter the vessel type and press enter"); Char VesselType=Console.ReadLine(); If(VesselType=="o"){ Return 1;} else If(VesselType=="c"){ Return 4;} else If(VesselType=="r"){ Return 2;} else If(VesselType=="b"){ Return 1;} else If(VesselType=="p"){ Return 2;} else If(VesselType=="f"){ Return 1;} else{ Console.WriteLine("Invalid vessel type, please try again"); Console.ReadLine(); } } char FreightAgent(int){ Console.WriteLine("enter the vessel type and press enter"); Char VesselType=Console.ReadLine(); If(VesselType=="o"){ Return 1;} else If(VesselType=="c"){ Return 6;} else If(VesselType=="r"|"b"){ Return 2;} else If(VesselType=="p"|"f"|){ Return 1;} else{ Console.WriteLine("Invalid vessel type, please try again"); Console.ReadLine();} } char MarineSafetyInspector(int){ Console.WriteLine("enter the vessel type and press enter"); Char VesselType=Console.ReadLine(); If(VesselType=="o"){ Return 3;} else If(VesselType=="c"){ Return 2;} Else If(VesselType=="r"|"b"){ Return 1;} else If(VesselType=="p"){ Return 2;} else If(VesselType=="f"){ Return 1;} else{ Console.WriteLine("Invalid vessel type, please try again"); Console.ReadLine();} } Void StaffAttendance(){ Console.WriteLine("Enter the vessel type and press enter"); Char VesselType=Console.ReadLine(); If(VesselType=="o"|"c"|"r"|"b"|"p"|"f"){ Console.WriteLine("Cost agents ="+CostAgent()); Console.WriteLine("Freight Agents="+FreightAgent()); Console.WriteLine("Marine Safety Inspectors="+MarineSafetyInspector());} else{ Console.WriteLine("Invalid vessel type, please try again"); Console.ReadLine();} } } } } --End of code-- Thanks for the help in this matter. -- Chris Hallsworth E-mail: christopherh40@xxxxxxxxxxxxxx MSN: ch9675@xxxxxxxxxxx Skype: chrishallsworth7266 Klango: chrishallsworth __________View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind