AutoSave Add-In for Visual Studio 6.0


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame


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.


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:


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:


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

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.


    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 AutoSave - 19 Kb
    Download source - 21 Kb


    • Its a doubt not a comment please Its URGENT!!!

      Posted by Legacy on 08/02/2002 07:00am

      Originally posted by: Divya

      Hello Sir,

      Is it saving already saved files? or can we save automatically.. I will explain u suppose i have opened new notepad (anything where I want to work i.e like it will come untitled na)So I didnt saved Iam going on writing...suddenly power goes Iwill loose the data but what I want is when we opened any new win our program should save that in temp folder so..please help me out ..Its very URGENT..please reply me..I will be waiting for your reply.....(divya319@yahoo.com)
      Thanu Divya

    • invoke save from user function

      Posted by Legacy on 02/19/2002 08:00am

      Originally posted by: tim

      hi, please can someone help.

      i really want a simple way of invoking the serialise process from one of my functions, ie save the document via a function, instead of the File menu, and save over the currently opened file.

      So.. all I have to do is call the document classes serialise function? but how do I get the archive related to the CFile i am currently saving?

      Thanks in advance.


      PS. please would you email your responce to me. thx again.

    • Visual Studio Macros

      Posted by Legacy on 02/11/2002 08:00am

      Originally posted by: anon.

      How do you get this addin to work with VS.NET?

    • A Class Hierarchy Visualization Tool

      Posted by Legacy on 05/28/2001 07:00am

      Originally posted by: Steven Zee

      DocBuilder allows developers to quickly visualize and document the class structure of C++?code by generating a color-keyed diagram of a project's class hierarchy. DocBuilder can automatic generate html files with the class information, and even generate a whole html help project file to you . Produce class-level documentation by exporting the class hierarchy for each individual class as a graphics file. You can paste the graphics files into reports, system documentation, and even web pages. for more information about docbuilder,please visit http://www.ucancode.net

    • Updated the add-in with the lockup workaround

      Posted by Legacy on 02/28/2000 08:00am

      Originally posted by: Itay Szekely

      I updated the add-in with Tadeusz's workaround. There's a new checkbox in the add-in's dialog to enable/disable this feature. Personally I don't use auto complete (I can't stand the delays) so why suffer from those blinks.
      This feature is selected by default.

      Download the updated sources and DLL from my website: http://come.to/itay


    • LockUp workaround

      Posted by Legacy on 02/22/2000 08:00am

      Originally posted by: Tadeusz Dracz

      Before saving the documents or the workspace it is necessary to get rid of the IntelliSense Complete Word popup. It can be achieved by simply setting a focus to a different window or make an other window active for a moment. Because the popup is very sensitive to these actions it will dissappear. It can be done for example by adding the following code:

      void TimerWindow::OnTimer(UINT nIDEvent)

      if (m_saveFiles || m_saveWorkspace)
      HWND h = ::GetForegroundWindow();
      HWND h1 = ::GetDesktopWindow();

      // and the rest remains the same

      It isn't however the perfect solution because the main Dev Studio window flickers before saving but it works at least.

    • Changed the name of the add-in

      Posted by Legacy on 11/23/1999 08:00am

      Originally posted by: Itay Szekely

      Hello Again

      Seems like this product's name was in violation of someone's copyrights, so I had to change the name to VsAutoSave. This wasn't good enough so now this add-in has no name at all, and can be refered to as "Itay's auto file save add-in for VS".
      What can I do? Some people's living comes from annoying other people who really work.

      You can download the new add-in (version 1.03.1) from http://www.geocities.com/SiliconValley/Park/2230/autosave/autosave.zip

      Download the source code from http://www.geocities.com/SiliconValley/Park/2230/autosave/autosave_source.zip.

      You can always check for updates at my homepage: http://come.to/itay

    • Minor fixes: it will now compile

      Posted by Legacy on 08/15/1999 07:00am

      Originally posted by: Itay Szekely

      There were two problems with the source I distributed:

      1. A file (resource.hm) was missing from the source.

      2. A line in DllRegisterServer worked only for administrator accounts (thanks to Petr Smilauer (petrsm@jcu.cz) for this remark.

      Download the updated add-in from: www.geocities.com/SiliconValley/Park/2230/autosave/autosave.zip
      Download the new source code from : www.geocities.com/SiliconValley/Park/2230/autosave/autosave_source.zip

      More updates at my homepage: come.to/itay

    • Source code does not compile...

      Posted by Legacy on 07/31/1999 07:00am

      Originally posted by: Mario M.

      The source code does not compile, resource.hm is missing, and the makehelp.bat file (which creates the resource.htm) is also missing...

      Very useful tool, but you should use threads instead of a timer, timers in windows eats a lot of CPU time, and sometimes can hang your computer if the timer cannot execute itself for a long period of time...

      Best Regards,
      Mario M.

      E-Mail: us@us.dnttm.ro

    • You must have javascript enabled in order to post comments.

    Leave a Comment
    • Your email address will not be published. All fields are required.

    Most Popular Programming Stories

    More for Developers

    RSS Feeds

    Thanks for your registration, follow us on our social networks to keep up-to-date