VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



AutoSave

by Daniel Vandersluis (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (20 Votes)

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 https://www.vbcoders.com/vb/scripts/showcode.asp?txtCodeId=12825 and be sure to vote!

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.
Assumes
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
Code 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

Rate AutoSave

Download AutoSave

Download AutoSave (13 KB)

AutoSave Comments

No comments have been posted about AutoSave. Why not be the first to post a comment about AutoSave.

Post your comment

Subject:
Message:
0/1000 characters