Thought for the Dazed

I've had to give up that Distance Learning course as I was having trouble seeing the teacher.

Flickr
www.flickr.com
RobMiles' items Go to RobMiles' photostream
Twitter
C# Yellow Book

Search entire site
Thursday
Apr192007

PDF Output from Vista

I'm a happy bunny. The weather is good. The book is written. And I've got a working PDF output program for Vista.

Perhaps I'm setting my sights a bit low; other people might wish for riches or movie star looks whereas I'm happy with a bit of sunshine, a few pages of text and Primo PDF.

Mind you, according to a survey this week the key to happiness is maintaining low expectations...

Tuesday
Apr172007

Threading with Forms

Some of our students have been having fun with threading and forms (there is a lab out there at the moment which can be solved by creating a thread which performs a task).

Threads are great, because you can send them off to do something while you get back to responding to the user, or whatever. Snag is, when another thread tries to dicker with the contents of a form this ends in tears, as the Windows system is very picky about actions like this. There is a way round the problem though, and so I've written a little sample application which shows you how to do it.

It creates a form which has a single button on it. When you press the button it creates a worker thread and fires it off in another class to do something. When the something finishes it then calls back into the form to change the text in a label on that form. You can use this as a model for whatever you fancy doing with threads. You can find the code here.

Tuesday
Apr172007

Early Bird

Did the paper review this morning, which meant getting up bright and early. I don't know how the people at the radio station do it every day.

One of my students told me that they woke up to the sound of my voice on the radio, which is apparently really scary...

Monday
Apr162007

Well, I'm impressed

I think this is very clever. But I've not tried it myself. Yet.
Monday
Apr162007

The Real Rob Miles

The University now has a second Robert Miles working for it. As if one wasn't enough. You can find out more about him here.

What are the chances eh?