CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 05 Aug 2025 13:27:43 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090530213944
location: https://web.archive.org/web/20090530213944/https://forums.oreilly.com/user/1339/AndrewStellman/
server-timing: captures_list;dur=1.418887, exclusion.robots;dur=0.044899, exclusion.robots.policy;dur=0.018731, esindex;dur=0.020199, cdx.remote;dur=413.372528, LoadShardBlock;dur=1287.729992, PetaboxLoader3.resolve;dur=889.541406, PetaboxLoader3.datanode;dur=335.186999
x-app-server: wwwb-app224
x-ts: 302
x-tr: 1795
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app224; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 05 Aug 2025 13:27:44 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Sat, 30 May 2009 21:39:45 GMT
x-archive-orig-server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
x-archive-orig-x-powered-by: PHP/5.2.8
x-archive-orig-cache-control: no-cache, must-revalidate, max-age=0
x-archive-orig-expires: 0
x-archive-orig-pragma: no-cache
x-archive-orig-connection: close
x-archive-orig-transfer-encoding: chunked
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 30 May 2009 21:39:44 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 31 Mar 2009 00:18:40 GMT", ; rel="prev memento"; datetime="Tue, 31 Mar 2009 00:18:40 GMT", ; rel="memento"; datetime="Sat, 30 May 2009 21:39:44 GMT", ; rel="next memento"; datetime="Tue, 04 Aug 2009 13:30:37 GMT", ; rel="last memento"; datetime="Mon, 11 Apr 2011 09:38:00 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_9_20090530182217_crawl101-c/52_9_20090530213844_crawl100.arc.gz
server-timing: captures_list;dur=0.534447, exclusion.robots;dur=0.017324, exclusion.robots.policy;dur=0.007179, esindex;dur=0.009468, cdx.remote;dur=19.422852, LoadShardBlock;dur=243.153876, PetaboxLoader3.datanode;dur=246.902922, PetaboxLoader3.resolve;dur=334.014280, load_resource;dur=433.271827
x-app-server: wwwb-app224
x-ts: 200
x-tr: 762
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
AndrewStellman - Viewing Profile
O'Reilly Forums > Viewing Profile

Profile
Personal Photo
Rating
Options
Options
Personal Statement
AndrewStellman doesn't have a personal statement currently.
Personal Info
AndrewStellman
Veteran Member
Age Unknown years old
![]()
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 8-October 08
Profile Views: 457*
Last Seen: 8th October 2008 - 07:58 AM
471 posts (2 per day)
Contact Information
![]() ![]() ![]() ![]() * Profile views updated each hour
![]() |
Topics
Posts
Gallery
Comments
Friends
My Content
7 Sep 2008
I've gotten a few private messages from forum posters asking where I've gone. Well, Jenny and I are finishing up our fourth book, Beautiful Teams.
As you can probably guess, writing a book is pretty time-consuming, especially when you've got a full-time job on top of that. So you probably won't see nearly as much of me in the forum over the next few months, while we put the finishing touches on the book. But you'll be able to keep up with our progress and get in touch with us on our Building Better Software website. But I'll definitely try to poke my head in here once in a while if I can! Andrew
11 Jul 2008
If you've got an early printing of the book and you want an easy way to look through the errata for it, check out Corey White's automatic Head First C# errata parser. Great job, Corey!
23 Jun 2008
Are you having a little trouble with the loops in chapter 2 -- especially loop #5 on page 71? It's worth taking the time to understand what's going on. There's been a lot of discussion about it on the form so far:
https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=4680 https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=6506 https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=6387 https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=6352 https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=5869 So read through those threads and see if they help. But if you're still a little lost -- especially with loop #5 -- don't worry! Your brain sometimes needs a little time for a new concept to sink in. Go ahead and finish the chapter. Then come back to the loops and see if they make a little more sense. Good luck!
11 May 2008
One of our readers just posted a question about adding a search button to the project in chapter 1. I've gotten that question a few times, and while we don't really cover it in the book, I thought it was time to sit down and come up with an answer.
Here are step-by-step instructions for adding a button to your form to filter the results based on search criteria. It does this by setting the RowFilter for the dataset that holds the data retrieved from the SQL Server Express database, and then updating the binding source's DataSource to tell it to reload the data from the dataset. Note that this is a "quick and dirty" solution, but it should work just fine for a straightforward application. You can find the details here: https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=6356
8 Mar 2008
Warning -- spoiler!
This is a solution to a problem on another thread: https://www.headfirstlabs.com/phpBB2/viewtopic.php?t=5973 It's a nice little puzzle for readers -- you definitely have all the tools you need to solve it, but it's a good brain exercise... Take a minute and try to solve the problem. Can you figure out what's going on? Here's a recap of what went wrong. They symptom of the problem was that when the form tried to set the Greyhound objects' MyPictureBox fields in its constructor, it got the error NullReferenceException was unhandled. Object reference not set to an instance of an object.. Here's the code (assume that Greyhound has a public field called MyPictureBox and that the form has four PictureBox controls called imgDog1, imgDog2, imgDog3 and imgDog4): public partial class frmRace : Form { Greyhound[] dog; Guy[] player; public frmRace() { InitializeComponent(); dog[0] = new Greyhound() { MyPictureBox = this.imgDog1 }; dog[1] = new Greyhound() { MyPictureBox = this.imgDog2 }; dog[2] = new Greyhound() { MyPictureBox = this.imgDog3 }; dog[3] = new Greyhound() { MyPictureBox = this.imgDog4 }; and it throws the exception as soon as it gets to this line: dog[0] = new Greyhound() { MyPictureBox = this.imgDog1 }; But if you hover over imgDog1 in the IDE, it's clearly an object! What gives? ----- Here's the solution ----- The problem becomes a little clearer if you replace that one line of code with this: dog[0] = new Greyhound(); dog[0].MyPictureBox = imgDog1; Now run the program. It breaks on the first line -- when it's setting dog[0] to a new instance of Greyhound. Aha! So it's not imgDog1 that's the problem, it's the dog array. The problem is that the dog array never got initialized. So make sure you do that at the top of the form code: public partial class Form1 : Form { Greyhound[] dog = new Greyhound[4]; Now the code should run! (It's a good puzzle because it's easy to overlook the problem at the top of the form and spin your wheels trying to figure out what's wrong with the PictureBox. And that's a good lesson to learn -- sometimes when your code breaks on one line, the solution requires you to change something else in an entirely different part of the project.) |
Last Visitors
Comments
Other users have left no comments for AndrewStellman.
Friends
There are no friends to display.
![]() |
![]() |
Lo-Fi Version | Time is now: 30th May 2009 - 01:39 PM |