How can I display a form ONLY when the app is first run, ie: the first time an end user starts the app.
Thanks for any help.
Printable View
How can I display a form ONLY when the app is first run, ie: the first time an end user starts the app.
Thanks for any help.
Add boolean variable to settings. When you open app. then check this variable, and if it's false then open form and make it true. Next time this form won't appear.
never tried but sound like the thing you need
vb Code:
if My.Application.Deployment.IsFirstRun then 'Your code end if
Same as my solution, but buid-in by microsoft ;) But settings give you more flexibility: you can check more things than first run.
true true, but why make something that already exist :D...
used the same method once and it works fine..
For fun :bigyello:Quote:
Originally Posted by gnaver
Thanks gentlemen. So the above method works fine ??Quote:
Originally Posted by gnaver
Yes ;)
Excellent. Thanks again.