vb.net - How to execute code in visual basic weekly -


i wanting know if example wanted ask user update software every week example if today friday next friday msgbox pop saying software out of date up-date?

is possible?????

yes possible.

there many ways this.

one way might check current date , if friday prompt update. once have prompted keep flag know prompted , friday. once saturday hits can clear asked flag , wait until friday again. method require program running time. store asked flag in configuration file (.ini example) when program updated reopened can check .ini flag no longer available since program updated.

another way, many programs , run updater service in background , same thing above except updater updates other program, not (unless update required that).

you run updater via windows task scheduler , set run on fridays. way can avoid need keep program running of time.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -