Search Tools Links Login

AutoSave


Visual Basic 6, or VB Classic

AutoSave is a program that automatically saves the file you are working on in the program you specify as often as you want. It is a very useful program especially if you work in a program that has crashing tendecies, and you are worried that your work might be lost. AutoSave demonstrates use of Registry, Menu and Window API calls, and is commented pretty fully.
***Autosave v1.2 is now out!*** Bugs found in the first version have been fixed, so it now works well in both VB5 and VB6! Check it out at http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=12825 and be sure to vote!

Original Author: Daniel Vandersluis

Inputs

There are no actual input parameters, but in the program you have to set up what program to save in, after how long, and other variables like this.

Assumptions

This code uses lots of APIs including Registry APIs. The program does add some registry keys. As well, editing/modifying this program might be difficult if you do not understand APIs

Returns

Nothing, other than a new saved file.

Side Effects

All Advantage creates many procs (windows) and therefore has a lot of listings in my program as "MenuEventCatcher". Just try do either disregard this, or don't use AutoSave with AA. I will fix this for the next release.

API Declarations

Check out the code; It uses a ton of APIs:
* Registry APIs
* Menu APIs
* Window APIs

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 147 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1076710182000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 13,079 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.