AutoSave Add-In for Visual Studio 6.0 | CodeGuru

AutoSave Add-In for Visual Studio 6.0

(http://come.to/itay). Environment: Visual C++ 6, Windows NT and Windows 9x This add-in adds an auto-save feature to Visual Studio. When invoked, a dialog box is opened in which the user can set a periodic save interval, and enable/disable automatic saving. Setup Copy AutoSave.dll to any place you want. A good place would be under the […]

Written By
CodeGuru Staff
CodeGuru Staff
Jul 29, 1999
3 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

(http://come.to/itay).

Environment: Visual C++ 6, Windows NT and Windows 9x


This add-in adds an auto-save feature to Visual Studio.
When invoked, a dialog box is opened in which the user
can set a periodic save interval, and enable/disable
automatic saving.

Setup


Copy AutoSave.dll to any place you want. A good place
would be under the Microsoft Visual Studio folder at
Common\MSDev98\AddIns



Open Visual Studio and select: Tools | Customize…



Go to the Add-ins and Macro files tab and click on
the Browse button.



Go to the folder to which you copied AutoSave.dll and
select it. Make sure the Files of type listbox is on
Add-ins (.dll).



When closing the dialog, a toolbar will appear with
the Auto File Save button. Using the customize dialog you
can move this button to any other toolbar (if you
want to).



Press the button to setup the auto-save period and
make sure you enable auto-save by selecting the
checkbox.

Possible problems


These is a bug in Visual Studio which causes it to lock up
when the add-in starts saving while an IntelliSense Complete Word
popup is being displayed. I don’t have a workaround at this
time. I’d appreciate any help with this problem.


There is another known “feature”:

When working with source-safe IDE integration while the project
(dsp and/or dsw files) is not checked out, but you have changed
the project settings, the add-in will ask you to check out the
project when it is attempting to save it. You can just cancel
the request if you don’t want to check out, but this will happen
periodically with the save. You can also disable saving the
workspace and save only the files.


This add-in was built with Visual C++ 6.0 with service
pack 3. I haven’t tested it with other versions, so
you can take your chance. I heard from people that it
works fine with DevStudio/Visual C++ 5.



If the add-in doesn’t “remember” its previous settings
between Visual Studio sessions, check the registry for
the following key:



HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0



This is where Visual Studio saves its data and where
the add-in creates its sub-keys. If it doesn’t exist
you may have a Visual Studio setup problems.
If the key exists, it should have the following sub-key:



AddIns\AutoSave.DSAddIn.1



This is where the add-in saves its data. If the key
doesn’t exist, create it manually and see if it works.

Advertisement

Version History

  • Version 1.03.1


  • Copyrights again. Someone is really threatened by this little
    freeware open source add-in. So now it has no name at all.


  • Version 1.03.0


  • Nothing serious. Someone claimed I violated his copyrights so I
    changed the name of this add-in from AutoSave to VsAutoSave.


  • Version 1.02.1


  • DllRegisterServer worked only when logged in as administrator.
    Now it will work in any case (thanks to
    Petr Smilauer).


  • Version 1.02.0


  • Separated saving the files and the workspace to two options.
    You can now configure the add-in to save only the files and
    leace the wrokspace or vice-versa.
    The URL and e-mail fields in the about dialog are now active.


  • Version 1.01.0


  • Added about dialog with version and contact information.


  • Version 1.00.4


  • After installing, the auto saving is enabled by default.


  • Version 1.00.3


  • Fixed a big bug that prevented Visual Studio from

    terminating successfully.


  • Version 1.00.2


  • First release outside my small beta tester comunity.

    Freeware


    This software is free. It is distributed with the
    source code and you are encouraged to do anything you
    want with it. If you do anything interesting, I’d be
    happy to hear about it.


    For comments, suggestions, improvements, bug reports,
    etc. please contact at the address given above.

    Download


    Download AutoSave – 19 Kb
    Download source – 21 Kb
    CodeGuru Logo

    CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

    Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

    Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.