Our company have the upstairs downstairs, there are a lot of people, including a program that may be updated, I want to implement such a feature: client when open the program is running, when a new version of the program will prompt "there is a new version of" window, and automatically link to the program download path sharing (LAN), and the old version can't normal open and use!
Be urgent!!!!!! thank you
CodePudding user response:
Before the company's practice:Has two procedures, one is the update. Exe, one is the main. Exe,
Running is the update. Exe, the purpose of this program is to determine the main. Exe whether this file on the local and server (mainly files to date), if not the same, just copy the file on the server to overwrite a local file, final implementation main. Exe,
CodePudding user response:
Then way upstairs, if you want to download user manual, is to run check function, if the function to False (not the latest version), will pop up a custom Form (similar to that in showmessage, the purpose is to do a hyperlink) click on the determination of dialog button to close the program (can also after the hyperlinks to click to open the link address is also close the program)CodePudding user response:
In the configuration file written to old files reading configuration files can't be used if it is 0 if it is 1 ~ will be usedCodePudding user response:
Database to add the version number, the local ini Settings version number, landed figure out whether the version number in the database as well as the local version number, is not the same as updateCodePudding user response: