Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3
This is the forum to discuss the Wrox book Beginning C# 3.0 : An Introduction to Object Oriented Programming by Jack Purdum; ISBN: 9780470261293
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 20th, 2009, 08:57 PM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using C# 2008 Express Edition

Greetings. My first post. By way of introduction, I was a career mainframe programmer (23 years) and find this new technology more than a little baffling. I'm on Chapter 10 of the book, and at my advanced age, I find myself struggling to capture the essence of C# & OOP as it has absolutely no similarities to COBOL or CICS, or anything else I've done all these years. None whatsoever. I'm truly a duck out of water. To start I have only one quick question: When I press f5 to run a program and get errors, the error list gives me the line numbers which are in error, but the "programName.cs" display has no line numbers. Is there a way to turn on the display of the line numbers in C# 2008 Express Edition? I've searched the menus and have come up empty. I'm sure this will be the first of many questions. Thanks a lot for the help, I'm going to need it.
  #2 (permalink)  
Old November 20th, 2009, 09:13 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Tools -> Options -> Text Editor -> C# -> General -> in the 'Display' group check 'Line numbers'.

C# Express rocks!

Bob ("hardcore amateur/hobbyist")
  #3 (permalink)  
Old January 18th, 2010, 03:07 PM
Registered User
 
Join Date: Nov 2009
Location: Silicon Valley
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Smile Just wondering?

Quote:
Originally Posted by Bob Bedell View Post
Tools -> Options -> Text Editor -> C# -> General -> in the 'Display' group check 'Line numbers'.

C# Express rocks!

Bob ("hardcore amateur/hobbyist")
Bob;

I have C# 2008 Express and there is no 'Line Number' available as you suggested on my set up. However, I have Visual Studio 2005 and that option exists as you described. Are you using the Express edition of C# 2008, or Visual Studio 2008? I am about to purchase Visual Studio 2008 as there are some limitations with the Express edition that make life more difficult! Like reports!

Tom
  #4 (permalink)  
Old January 18th, 2010, 04:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

RTM of Visual Studio 2010 will be available March 22, if you can hold off for a month. A little late in the day to drop the bucks on 2008.

The menu selections I posted above are valid on Visual C# 2008 Express Edition, Version 3.5 SP1. I don't know. Maybe you don't have SP1 installed?
  #5 (permalink)  
Old January 18th, 2010, 06:38 PM
Registered User
 
Join Date: Nov 2009
Location: Silicon Valley
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Software version installed

Bob;

Thank you for the reply.

It is always nice to have the latest – greatest version of software. I intend to go back into consulting and the 2008 version of Visual Studio will be used for some time. Visual Studio 2010 like any new product will not be used for many months at least here in Silicon Valley, where I live. The companies that I am familiar with do not use new software and often wait until Service Pack 1 is available!

My copy of C# Express 2008 is 9.0.30729.1 SP and version 3.5 SP1 is installed, downloaded about two weeks ago. I “love software and computers”! Well, not really! I just use them to support my family and myself.

You never know what Microsoft has in store for you. After using computers since 1981, and programming professionally since 1990, I can truly say that I wish that I were back in electronics engineering. But then I would have to be working in China or India.

But wait, Microsoft promises that the next release of its software (any product) will solve all previous problems. If that does not work then the next service pack will do it. I have been hearing this since my CP/M S-100 computer days. It seems to get more complex and becomes a pain you know where!


Tom
  #6 (permalink)  
Old January 21st, 2010, 10:05 AM
Friend of Wrox
Points: 1,166, Level: 13
Points: 1,166, Level: 13 Points: 1,166, Level: 13 Points: 1,166, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2008
Location: Indianapolis, IN, USA.
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Line Numbers

Thomas is correct...the Express version does not have line numbers. However, if you move the cursor in the code window to a given line, the row-column coordinates appear near the bottom right of the display. It's a fairly simple process to slide the cursor up and down with the arrow keys to get to a given line number. NOTE: if you have "collapsed" a section of code (i.e., the "+" is showing in the source window), the line count reflects all lines, including those in the hidden code section. This makes sense if you think about it.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
  #7 (permalink)  
Old January 21st, 2010, 04:56 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Dr. Purdum is not correct...the Express version does have line numbers.

But a picture is worth a thousand words:

http://img707.imageshack.us/i/cexpress.png/

Last edited by Bob Bedell; January 21st, 2010 at 05:40 PM..
  #8 (permalink)  
Old January 21st, 2010, 05:02 PM
Friend of Wrox
Points: 1,166, Level: 13
Points: 1,166, Level: 13 Points: 1,166, Level: 13 Points: 1,166, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2008
Location: Indianapolis, IN, USA.
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Line Numbers on C# Express

My version didn't have it either, but I don't have the latest edition on my laptop. (I'm on vacation.) Anyway, even without the service pack mods, what I said earlier is a work-around that works until they get the service packs.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
  #9 (permalink)  
Old January 21st, 2010, 05:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

http://blog.stormwild.net/2009/12/20...-2008-express/

and dozens of other links.
  #10 (permalink)  
Old January 21st, 2010, 11:20 PM
Registered User
 
Join Date: Nov 2009
Location: Silicon Valley
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Bingo!

Quote:
Originally Posted by Bob Bedell View Post
Bob;

Per your link:

"If you do not see the All Languages subfolder or the Display section, make sure that the Show all settings checkbox at the bottom of the window is checked".

I just selected "Show all settings", and then "life is good", which is an expression a number of us use when things go well! As you said I was able to select the desired choice.

So we are both correct. If you do not select the proper choice you get nothing!

I wonder if bobhsnhp2wfkk4tbck has been following all of this? It is all his fault!



Tom
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone got this working with VWDE 2008 / SQL Express 2008? john77 BOOK: ASP.NET 3.5 Website Programming Problem Design Solution 4 January 18th, 2010 01:16 PM
Installing SQL Server 2008 Express Edition with Tools Kevin7777 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 8th, 2009 05:14 AM
VB.NET 2003 Appendix B convert to VB 2008 Express Edition brucechess BOOK: Beginning VB.NET Databases 10 February 5th, 2009 12:52 PM
Visual Web Developer 2008.. Express Edition Neamat .NET Framework 3.5 14 August 3rd, 2008 09:47 AM
Downloading VB 2008 Express Kiddi Visual Basic 2008 Essentials 1 June 11th, 2008 12:29 PM



All times are GMT -4. The time now is 03:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.