I have a program of mine writen in VB4. It is a simple calendar program and works fine all these years. But when it is installed (from its setup file) in a computer with windows vista or 7, then the first time that the user tries to run it, he receives the message: "Error accessing the system registry" and then: "Unexpected error; quitting". I know the solution. Right click and select "Run as administrator". But some computer users do not know that (to select the first time this selection - Run as administrator).
So my question has 2 brunches.
1. Is it possible to add something in the program's code to inform or warn the user, just before or just after these messages above, (and before the program closes), as a promptness or instruction, to select the next time "Run as administrator"? (like a msg box for example).
2. Or anything else in the program's source code or in setup building to bypass this problem?