[RESOLVED] Create System Restore point
Hi :wave:
I'm a bit of a novice when it comes to VB but i'm wondering if it's possible to create a System Restore point from within VB?. The reason why i'm asking is becasue i'm writing a small application which makes some major changes to the system but becasue this program will run on a number of other PC's i would like to have a backup plan incase things go wrong! :cry:
Thanks for your help!
Steve
PS: I'm using Visual Basic 6.0 SP2 on XP Pro SP2
Re: Create System Restore point
If they are running XP then it will automatically create an restore point whenever a program is installed.
Re: Create System Restore point
But can it be done programmatically?
Re: Create System Restore point
Maybe. Perhaps searching for some kind of scripting function that will do it for you on MSDN.
Re: Create System Restore point
Some results from this Google search:
http://www.kellys-korner-xp.com/xp_restore.htm (has a VBS script)
http://www.freevbcode.com/ShowCode.asp?ID=6911 (VB Code)
I have system restore disabled. Didn't tested them.
Re: Create System Restore point
Quote:
Originally Posted by iPrank
Hi Everyone :wave:
Thanks for all your replies, and thanks iPrank for the links, the VB code worked a treat. :thumb: I can't believe such few lines (3 i think) can do something so useful!. I can now write my application in the save knowledge that i can create a Restore Point incase things go wrong! :blush:
Once again, thanks very much for your help - it's very much appriciated ! :thumb:
Steve :wave:
Re: [RESOLVED] Create System Restore point