Microsoft KB Archive/248130

= FILE: AutoSave.exe Provides AutoSave for Visual C++ =

Article ID: 248130

Article Last Modified on 8/5/2004

-

APPLIES TO


 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q248130



SUMMARY
AutoSave.exe is a unsupported add-in sample that provides an autosave feature for Visual C++. The AutoSave add-in saves the currently open workspace in Visual C++ after a specified time interval.

The AutoSave add-in is based on the Developer Studio Object Model and Microsoft Foundation Classes (MFC).



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

AutoSave.exe

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.

The self-extracting AutoSave.exe file contains the following files:

Steps to Install the Add-In

 * 1) Run AutoSave.exe to extract the Visual C++ project.
 * 2) Build the project in Visual C++ in Release or Debug configuration.
 * 3) In Visual C++, click Customize from the Tools menu.
 * 4) In the Customize dialog box, click the Add-Ins and Macro Files tab.
 * 5) Click the Browse button and locate the AutoSave.dll file that was built in step 2.
 * 6) Click OK to save the settings. A toolbar with the AutoSave command appears.

Using the AutoSave Add-In
Click on the AutoSave button to launch the AutoSave Configuration dialog box. This dialog has an edit box where you can enter the time in minutes; the default setting is 3 minutes. Click Start to start the timer and Stop to stop it.

The timer setting is stored in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\AutoSaveAddIn

