bensonsearch
Well-known Member
- Joined
- May 26, 2011
- Messages
- 844
Hi All,
Im stuck again. im sure its simple but cant figure it out.
What I want is to be able for a user to select a color or image that will apply to all forms (so the sake of it form1-5). this is for user uniquness.
I can get the color and image working fine if manually selected but i cant get it to store the preferance and load next time.
it all works as so, user starts program with default style, user changes background to either a color or an image. (now the for some reason hard part) storing what the user has selected perminatley (or until changed again) and applying to all forms.
the way i have tried is storing the info in a txt file (eg: c:/image1.jpg or &H00FF0000&) the coding can load the image part fine but if i try the color code it cant do it (passed by a variable with userform1.backcolor=variable1) plus i have no idea how to code the logic of finding if its an image location or a color. have to code one or the other from what im seeing.
hope this all makes sense and someone can help me out. any way so long as simple
Im stuck again. im sure its simple but cant figure it out.
What I want is to be able for a user to select a color or image that will apply to all forms (so the sake of it form1-5). this is for user uniquness.
I can get the color and image working fine if manually selected but i cant get it to store the preferance and load next time.
it all works as so, user starts program with default style, user changes background to either a color or an image. (now the for some reason hard part) storing what the user has selected perminatley (or until changed again) and applying to all forms.
the way i have tried is storing the info in a txt file (eg: c:/image1.jpg or &H00FF0000&) the coding can load the image part fine but if i try the color code it cant do it (passed by a variable with userform1.backcolor=variable1) plus i have no idea how to code the logic of finding if its an image location or a color. have to code one or the other from what im seeing.
hope this all makes sense and someone can help me out. any way so long as simple