Microsoft KB Archive/141445

= DLGDB32 CDialog Sharing a CRecordset Object =

Article ID: 141445

Article Last Modified on 11/21/2006

-

APPLIES TO

 Microsoft Foundation Class Library 4.2, when used with:  Microsoft Visual C++ 4.0 Standard Edition

 Microsoft Visual C++ 4.1 Subscription

 Microsoft Visual C++ 4.2 Professional Edition

 Microsoft Visual C++ 5.0 Standard Edition</li></ul>

 Microsoft Visual C++ 6.0 Service Pack 5</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q141445

<div class="summary_section">

SUMMARY
This is the 32-bit version of this sample.

The Dlgdb32 code sample demonstrates how to have a CDialog derived class share a CRecordset object that a CRecordView is already using. In addition, when used by itself, the code sample also demonstrates how to select CRecordset object from a CDocument without having a CRecordView.

Note This sample assumes that ODBC has been installed and that the Student Registration data source has been configured.

The following files are available for download from the Microsoft Download Center:

Download the Dlgdb32.exe package now. For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. Note The file must be decompressed by typing DLGDB32 -d.

Additional query words: kbvc400 kbvc410 kbvc420 kbvc500 kbvc600

Keywords: kbdownload kbdatabase kbfile kbprogramming kbsample KB141445

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.