Best way to create options form?

M

m*

Hi all...

I would like to have an options form with my application that the user
can set different settings. I have the form, now to save the
information, is it best to save to a text file? Or the registry?

Any advice would be great
Thanks
M
 
B

Brian Mitchell

Personally, I like to save my options in the HKEY_CURRENT_USER section of
the registry that way each logged on user has his/her own options. But you
can also save them in an XML file if you want.

The only bad thing about the registry is that it can be slow at times to
save the data and your application will drag or hang until the update is
done.
 
C

Cor Ligthert [MVP]

Brian,

Have you ever seen what explorer is adding/changing to/in the register
constantly?

However I agree that it should be decent used. It is not an intermidiate
data store, however only to save certain settings at the begin or end.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top