1111) 3/26/2002 Q105497Q105497 Q105497.html">Directory Picker Sample Using Modified CFileDialog (Q105497) The default implementation of CFileDialog allows the user to select a specific file from any drive/directory on the computer. It is possible to derive a class from CFileDialog, creating a new class that allows the user to select only a dire
1112) 3/24/2002 Q254009Q254009 Q254009.html">INFO: PowerPoint 2000 Event Demonstration Available for Download (Q254009) The PowerPoint 2000 Event Demonstration is a sample MFC Automation client for Microsoft PowerPoint 2000. With Microsoft Office 2000, PowerPoint now enables Automation clients to sink events; this feature was not available with earlier versions.
1113) 3/24/2002 Q224925Q224925 Q224925.html">INFO: Type Libraries for Office May Change with New Release (Q224925) Microsoft Office products may change from one release to the next. Typically, the type library for an Office product will have the same functions that were present in the earlier product version, but some functions may have additions to the number of
1114) 3/22/2002 Q266387Q266387 Q266387.html">HOWTO: Find and List Access VBA Procedures by Using MFC (Q266387) The utility program described in this article provides the developer with a tool to list the Visual Basic for Automation (VBA) routines stored in a Microsoft Access database (*.mdb). This tool provides a means for auditing databases and for locating
1115) 3/20/2002 Q220600Q220600 Q220600.html">HOWTO: Automate Outlook Using Visual C++/MFC (Q220600) You can programmatically control Microsoft Outlook using Microsoft Visual C++. This article demonstrates how to create contacts, create appointments, and send messages using Microsoft Outlook's object-model from Visual C++.
1116) 3/19/2002 Q253235Q253235 Q253235.html">FILE: OFFAUTMN.EXE Discusses Office 97 and 2000 Automation and Provides Sample Code (Q253235) Offautmn.exe is a self-extracting executable that contains a white paper supplemented with sample projects that provide the fundamentals for understanding how to Automate Microsoft Office 97 and Microsoft Office 2000 applications. The white
1117) 3/8/2002 Q318677Q318677 Q318677.html">PRB: Cannot Create More Child Windows and Other Problems When You Reach the Maximum Number of Allowable Child Windows in an MDI Application (Q318677) When a multiple-document interface (MDI) application runs and creates many child windows, the following problems may occur:
1118) 2/26/2002 Q261997Q261997 Q261997.html">HOWTO: Obtain the Window Handle for an Office Automation Server with MFC (Q261997) This article demonstrates how to obtain the window handle of an Office application with Microsoft Foundation Classes (MFC) while automating that application from Visual C++.
1119) 2/26/2002 Q274680Q274680 Q274680.html">HOWTO: Use MFC to Retrieve a List of Macro Names in an Office Document (Q274680) This article illustrates by example how you can create an MFC Automation client to retrieve a list of Visual Basic for Automation (VBA) macros ( Sub and Function procedures) from a Microsoft Office document.
1120) 2/23/2002 Q135109Q135109 Q135109.html">HOWTO: Use Updatable Joins in an MFC ODBC Application (Q135109) One way to use updatable joins with MFC ODBC applications utilizing the Microsoft Desktop ODBC Drivers is to use dynaset recordsets based on a predefined query stored in the database. In order to use this approach, your application must do
1121) 2/16/2002 Q119765Q119765 Q119765.html">INFO: Example DDX Routine for Access Memo Fields (Q119765) An application, using the ODBC database classes of the Microsoft Foundation Classes, can create a CRecordset derived class object which associates a CString or a CLongBinary member variable with a memo field within an Access database.
1122) 2/15/2002 Q119064Q119064 Q119064.html">HOWTO: Retrieving a List of All ODBC Data Sources (Q119064) The Open Database Connectivity (ODBC) API contains a function called SQLDataSources() which can be used to retrieve information about data sources which are available to an application. Below is a sample function which fills a CStringList w
1123) 2/14/2002 Q117778Q117778 Q117778.html">HOWTO: Change the Background Color of an MFC Edit Control (Q117778) To change the background color of an edit control in an MFC application, you must override the OnCtlColor() message-handling function of the window containing the edit control.
1124) 2/14/2002 Q117565Q117565 Q117565.html">HOWTO: Getting the Current Printer Settings in MFC (Q117565) MFC provides a great deal of information on the current printer in the framework printing functions. However, information on the current printer is limited outside of these functions.
1125) 2/14/2002 Q117500Q117500 Q117500.html">INFO: Using Accelerators with an MFC Modeless Dialog Box (Q117500) To use accelerators with a modeless dialog box, override the PreTranslateMessage()function in your derived CDialog class.