I have an application written in VB6 (Enterprise Edition) with one form and all sorts of code to do all sorts of things.

One piece is to change the default values on startup within the form. I know that there are at least two ways to reset defaults, but I don't know how to perform them.

1. Save the form so that the new defaults will come up on load, automatically. I don't know that this can be done in an exe. At least, I can't find the command to do it.

2. I am perfectly willing to write, read and modify a textfile holding the default values. How do I guarrantee that the file will be findable? I really don't wish to use "C:\Windows.... unless absolutely necessary.

Thank You
DerFarm