Hey, if anyone could help, would appreciate it.
I will try and explain as well as i can.
The problem is that i need to be able to save the font settings, fore color settings and background image/color settings.
User loads image on (Form Appearance)
he loads background color
He clicks button "save all"
(Code for that button)
When i exit the form and reload it i want the settings to automatically load to the form "Screenlock"Code:My.Settings.BackColor = PicBoxBackColour.BackColor 'saving the settings' My.Settings.Font = TxtFont.Font My.Settings.ForeColor = TxtFont.ForeColor ScreenLock.BackColor = Me.PicBoxBackColour.BackColor ScreenLock.ForeColor = Me.TxtFont.ForeColor ScreenLock.Font = Me.TxtFont.Font ScreenLock.BackgroundImage = Me.BackgroundImage
Here is the code for the screenlock load.
If you do not understand please ask and i will try to rephrase it.Code:Me.BackColor = My.Settings.BackColor 'Loading the settings' Me.ForeColor = My.Settings.ForeColor Me.Font = My.Settings.Font ForeColor = My.Settings.ForeColor Font = My.Settings.Font 'Do Backgroundimage' TxtPassbox.Font = Font Me.Height = Screen.PrimaryScreen.Bounds.Height 'Setting screen size' Me.Width = Screen.PrimaryScreen.Bounds.Width
Thanks




Reply With Quote