 |
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
 | This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

June 23rd, 2011, 04:39 PM
|
Authorized User
|
|
Join Date: May 2011
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 24 Tryit objects not showing up
When I run Debug on the Chapter 24 Tryit, I don't see any of the objects, here are the last couple lines of the Output.
The thread 'vshost.LoadReference' (0xcf0) has exited with code 0 (0x0).
'Parameter.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Documents and Settings\Orchard\My Documents\Visual Studio 2010\Projects\Parameter\Parameter\bin\Debug\Parame ter.exe', Symbols loaded.
The thread '<No Name>' (0x190) has exited with code 0 (0x0).
The program '[2024] Parameter.vshost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
I compared the code to the downloaded copy of
Form1.cs, and it looks fine. Any ideas?
|

June 23rd, 2011, 05:26 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
|
|
Do you mean you don't see any of the constructors' messages in the output window? Be sure you're looking at the Output window and not some other window.
A lot of the interesting code for this Try It is in the classes not the main form. You might look there to make sure it looks okay, but the main form should display some text, too, so if you're not seeing anything, I'm not sure what's wrong.
If that doesn't help, you can zip up the project and send it to me at RodStephens@CSharpHelper.com and I'll take a look.
|

June 23rd, 2011, 05:30 PM
|
Authorized User
|
|
Join Date: May 2011
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I should be seeing the Console.WriteLine information. The window says Show output from Debug, which I assume is the correct display.
|

June 23rd, 2011, 05:43 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
|
|
You should see it in a window named "Output." Usually it's one of the tabs at the bottom of the IDE.
You can find it by opening the Debug menu, selecting the Windows submenu, and picking Output.
I think the text you're looking for should be in the same window as the "exited code (0)" message you saw. It would be higher up so perhaps it scrolled off the top?
I'm not sure why else you wouldn't see the messages. Why don't you send me the project and I'll take a look.
|

June 23rd, 2011, 06:22 PM
|
Authorized User
|
|
Join Date: May 2011
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
While zipping it up, I discovered that the classes are not showing up in the Project folder. When I open the project in VS 2010 they show up in the GUI, but are not there is I try and access them through File, Open File. wierd.
|

June 24th, 2011, 01:06 AM
|
 |
Wrox Author
|
|
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
|
|
That is weird.
You should be able to see them in the Solution Explorer. If you click on one there, the Properties window should show you where the file actually is. It doesn't necessarily need to be in the project directory, although that's customary because it's less confusing.
Wherever the files are, you should be able to double-click them in the Solution Explorer to edit them. Perhaps you were editing the wrong versions of the class files?
|

June 24th, 2011, 02:15 AM
|
Registered User
|
|
Join Date: Jun 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Hi Everyone
I'm new to This forum
it is great to join this Forum, hope i'm welcome in ;) http://freeimagestocks.com/content/69/grey.png
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
Chapter 10 Tryit |
Mark P. |
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer |
3 |
June 20th, 2011 08:20 PM |
Chapter 24: Using ITC |
mparquette |
BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2 |
0 |
February 11th, 2010 08:55 PM |
Chapter 24 Setup Application |
sirmilt |
BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 |
0 |
September 4th, 2009 11:23 AM |
Chapter 24 Remoting code is missing |
eschmidt |
BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 |
3 |
February 16th, 2008 09:37 PM |
Code of Chapter 24 |
qazi_nomi |
BOOK: Beginning ASP 3.0 |
0 |
June 23rd, 2004 11:48 PM |
|
 |
|