Wrox Programmer Forums
|
BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
This is the forum to discuss the Wrox book Professional C# 2008 by Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson; ISBN: 9780470191378
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 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
 
Old March 12th, 2009, 11:25 AM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Registry Example (Chapter 25) & Vista

I really like this book!! I am working on my first C# project (after many years with other programming languages)

But I have a problem with the Self-Placing Window example in chapter 25. This sample app writes to the HKLM (Local Machine) part of the Registry. I wrote something similar (to store licensing information) and it works fine on my Windows XP development PC, but when I tried to run it on Windows Vista, Vista doesn't allow writing to HKLM.

So it looks like you left out an important detail, unless I'm missing something - which is always possible.

I have no problems writing to the Current User area of the Registry on Vista.

Prior to this project, for the last several years, I have been writing Windows applications in Delphi and using the Registry extensively, so I am quite used to it.

BTW, one criticism I have of this book is its failure to acknowledge the heavy debt that C# owes to Delphi. They were developed by the same person and have much in common. Delphi was a significant breakthrough when first introduced and I still use it extensively.

Michael Bate





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14 - registry access security geoffers BOOK: Beginning VB.NET Databases 2 August 24th, 2005 04:34 AM
chapter 25 -sample code LouMattera BOOK: Professional C#, 2nd and 3rd Editions 3 February 13th, 2005 06:39 AM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
C# 3rd edition -chapter 25 fjgnena BOOK: Professional C#, 2nd and 3rd Editions 0 September 9th, 2004 03:47 PM





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