first load
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
5 posts
Page 1 of 1
how can you make it load a form the first time the program is run and then not show from then on
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

you can use My.Settings
in your project double click your project name
click the TAB that say Settings
make a new one call something like "FirstRun"
set the value to 0
on your form load do something like
If My.Settings = 0 then
Form1.Show
Else
Form2.show
My.Settings.FirstRun = 1
My.Settings.Save
Then whenever your form runs again, it wont show form1, it will show form2
in your project double click your project name
click the TAB that say Settings
make a new one call something like "FirstRun"
set the value to 0
on your form load do something like
If My.Settings = 0 then
Form1.Show
Else
Form2.show
My.Settings.FirstRun = 1
My.Settings.Save
Then whenever your form runs again, it wont show form1, it will show form2
CodenStuff has posted this in my request, but looks like its already been answered here.
can you link your request
also im going to test it in it
also im going to test it in it
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

5 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023