|
-
Feb 15th, 2001, 01:46 PM
#1
Thread Starter
Lively Member
Can I use a module to load registry settings and have them available at all times? I took a guess at this and did the following:
Dim Y As Variant
Y = GetSetting("Savetest", "Startup", "LastEntry", "0")
That's what's in my module right now. With the intent on using "y" in the forms in my program to do equations.
Obviously this guess was wrong 'cause I get the following error on load:
Compile error:
Invalid outside Procedure
and it highlights the "Savetest" part of my module code.
Is there a way to do this. I'd like to have the user set the "x" "y" "z" factors that can be used throughout the program without having to use getsetting procedures on all my forms.
Please Help!
Thanks in advance!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|