Click here to Skip to main content
6,630,289 members and growing! (21,054 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by Brian C. Hart, Ph.D. (21 articles found)

Average article rating: 4.02

Dialogs and Windows

A Better CenterWindow() Function
Last Updated: 3 Oct 2000   Page Views: 68,280   Rating: 4.11/5    Votes: 6   Popularity: 3.20   Bookmark Count: 18
This is a good replacement for CWnd::CenterWindow() that works.
Resize MDI Child Frame Windows to Fit Form Views
Last Updated: 16 Apr 2001   Page Views: 81,326   Rating: 4.30/5    Votes: 26   Popularity: 6.08   Bookmark Count: 23
Make the MDI windows which contain your program's forms snap to match the forms' sizes.

Document / View

Center CMDIChildWnds and Other Tips
Last Updated: 6 Apr 2005   Page Views: 107,276   Rating: 4.12/5    Votes: 22   Popularity: 5.53   Bookmark Count: 35
Center CMDIChildWnds in the client area of the main frame window.

Database

SQL

Walkthrough: Filtering and Updating in an N-Tier Data Application
Last Updated: 15 Jan 2009   Page Views: 8,140   Rating: 4.20/5    Votes: 3   Popularity: 2.00   Bookmark Count: 26
Licence: The Code Project Open License (CPOL)   
Builds on the Microsoft N-Tier Data Application walkthrough to add filtering and updating features.
HowTo: Install the Northwind and Pubs Sample Databases in SQL Server 2008 Express
Last Updated: 4 Oct 2009   Page Views: 2,463   Rating: 3.56/5    Votes: 8   Popularity: 3.22   Bookmark Count: 9
Licence: The Code Project Open License (CPOL)   
To save you from hunting through the docs and locating downloads, we gather both databases here and walk you through installing them using SQL Server Management Studio Express -- updated for SQL Server 2008 Express Edition!
HowTo: Install the Northwind and Pubs Sample Databases
Last Updated: 8 Oct 2009   Page Views: 47,718   Rating: 3.40/5    Votes: 35   Popularity: 5.25   Bookmark Count: 34
Licence: The Code Project Open License (CPOL)   
To save you from hunting through the docs and locating downloads, we gather both databases here and walk you through installing them using SQL Server Management Studio Express.

.NET Framework

The Sleep() Function in .NET
Last Updated: 17 Oct 2007   Page Views: 27,046   Rating: 1.79/5    Votes: 19   Popularity: 2.28   Bookmark Count: 12
Where are your favorite Windows APIs in the .NET Framework? This article points out where the Windows Sleep() function now can be found.

COM / COM+

DCOM D-Mystified: Questions and Answers
Last Updated: 11 Aug 2000   Page Views: 336,306   Rating: 4.17/5    Votes: 34   Popularity: 6.39   Bookmark Count: 39
Brian's detailed answers to your most frequently asked questions about his DCOM tutorial.
DCOM D-Mystified: A DCOM Tutorial, Step 2
Last Updated: 11 Aug 2000   Page Views: 158,512   Rating: 4.30/5    Votes: 29   Popularity: 6.29   Bookmark Count: 45
We modify starter files, provided by the ATL COM AppWizard, to improve the user-friendliness of our server.
DCOM D-Mystified: A DCOM Tutorial, Step 3
Last Updated: 11 Aug 2000   Page Views: 119,658   Rating: 4.56/5    Votes: 18   Popularity: 5.72   Bookmark Count: 39
In this step we add a simple COM object to our server using the New ATL Object Wizard.
DCOM D-Mystified: A DCOM Tutorial, Step 4
Last Updated: 11 Aug 2000   Page Views: 111,492   Rating: 4.65/5    Votes: 16   Popularity: 5.60   Bookmark Count: 36
Here we add a method to our DCOM-remoted object, and start on implementing its functionality.
DCOM D-Mystified: A DCOM Tutorial, Step 5
Last Updated: 11 Aug 2000   Page Views: 203,745   Rating: 4.80/5    Votes: 29   Popularity: 7.02   Bookmark Count: 44
We look at connection points and set up the server's end of one. We'll also finish implementing our SayHello() method.
DCOM D-Mystified: A DCOM Tutorial, Step 7
Last Updated: 21 Dec 2003   Page Views: 453,184   Rating: 4.65/5    Votes: 71   Popularity: 8.61   Bookmark Count: 51
Licence: The GNU General Public License (GPL)   
At last! We finish our tutorial by writing a client with MFC, AppWizard, and ClassWizard, like back in the good ol' days (sighhh...)
DCOM D-Mystified: A DCOM Tutorial, Step 6
Last Updated: 8 May 2005   Page Views: 421,094   Rating: 4.90/5    Votes: 31   Popularity: 7.31   Bookmark Count: 55
We build our new server and install it on the server machine.
DCOM D-Mystified: A DCOM Tutorial, Step 1
Last Updated: 9 Jan 2006   Page Views: 162,320   Rating: 4.60/5    Votes: 69   Popularity: 8.47   Bookmark Count: 137
This tutorial shows you how to write DCOM software, with all the latest features, in a simple, straightforward manner.
DCOM D-Mystified.NET 2003: A DCOM Tutorial, Step 5
Last Updated: 6 Jan 2009   Page Views: 34,617   Rating: 3.41/5    Votes: 12   Popularity: 3.68   Bookmark Count: 27
Licence: The Code Project Open License (CPOL)   
We look at connection points, and set up the server's end of one, for our simple DCOM "Hello, World!" server.
DCOM D-Mystified.NET 2003: A DCOM Tutorial, Step 1
Last Updated: 7 Jan 2009   Page Views: 32,830   Rating: 3.91/5    Votes: 13   Popularity: 4.35   Bookmark Count: 50
Licence: The Code Project Open License (CPOL)   
This tutorial guides you through the step-by-step details of how to use Visual Studio .NET 2003 to develop DCOM client/server applications.
DCOM D-Mystified.NET 2003: A DCOM Tutorial, Step 2
Last Updated: 7 Jan 2009   Page Views: 21,309   Rating: 3.93/5    Votes: 7   Popularity: 3.32   Bookmark Count: 25
Licence: The Code Project Open License (CPOL)   
We modify starter files provided by the ATL project wizard, to improve user-friendliness and provide security for our server. I also show you how to do a Replace/Replace All across the whole project.
DCOM D-Mystified.NET 2003: A DCOM Tutorial, Step 4
Last Updated: 7 Jan 2009   Page Views: 17,417   Rating: 2.64/5    Votes: 5   Popularity: 1.85   Bookmark Count: 23
Licence: The Code Project Open License (CPOL)   
Add a method, SayHello(), to the server, that fires the event which the client handles.
DCOM D-Mystified.NET 2003: A DCOM Tutorial, Step 3
Last Updated: 7 Jan 2009   Page Views: 28,427   Rating: 3.52/5    Votes: 9   Popularity: 3.36   Bookmark Count: 23
Licence: The Code Project Open License (CPOL)   
In this step, we add a simple COM object to our server using the ATL Simple Object wizard. Plus, properly initialize and cleanup your COM objects with FinalConstruct() and FinalRelease().

Win32/64 SDK & OS

Lookup and Display Win32/COM Error Strings With One Line of Code
Last Updated: 31 Dec 2005   Page Views: 56,736   Rating: 4.89/5    Votes: 36   Popularity: 7.61   Bookmark Count: 44
Use compiler COM support (even in non-COM applications) to get a Win32 error code or HRESULT's message in one line of code.

Brian C. Hart, Ph.D.


Member
I have a Ph.D. in Astrophysics from the University of California, Irvine. I work for the US Federal Government as a Physicist.
Occupation: Other
Company: U.S. Federal Government
Location: United States United States


Last Updated 21 Nov 2009
Web21 | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use