Microsoft KB Archive/248130

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:14, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

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:

Commands.cpp 3KB
Commands.h 2KB
DSAddIn.cpp 4KB
DSAddIn.h 2KB
AutoSave.cpp 5KB
AutoSave.def 1KB
AutoSave.dsp 5KB
AutoSave.dsw 1KB
AutoSave.h 1KB
AutoSave.odl 2KB
AutoSave.rc 6KB
AutoSave.clw 4KB
AutoSave_i.c 2KB
AutoSaveConfig.cpp 4KB
AutoSaveConfig.h 2KB
AutoSaveTypes.h 6KB
Resource.h 1KB
StdAfx.cpp 1KB
StdAfx.h 3KB
AutoSave.rc2 1KB
TBarLrge.bmp 2KB
TBarMedm.bmp 1KB


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
                    

REFERENCES

See the following topics in the MSDN Library for Visual C++ 6.0 for documentation on Visual C++ Automation:

MSDN Library; Visual Studio Documentation; Visual C++ Documentation; Using Visual C++; Visual C++ User's Guide; Automating Tasks in Visual C++



Additional query words: AutoSave

Keywords: kbhowto kbdownload kbide kbfile kbautomation kbdevstudio kbsample KB248130