karen021897
asked on
Store Combobox.Items Into Windows Registry
I want to store all items in combobox into registry.
read from the registry when the app loads and write to registry all the items into registry when the app close
thanx
I'm afraid I would have to disagree with kifah. It _is_ recommened to use the Registry instead of local files, that is what the Registry is all about. It's here to replace the use of the old .ini files. The fact that it is getting too big and disturbs the work-flow of Windows is another matter.
The .SaveToxxxx methods are Streams. You can find many freeware components adding stream capabilities including the Registry, thus allowing SaveToRegistry for components. Check out one of the many Delphi components pages.
The .SaveToxxxx methods are Streams. You can find many freeware components adding stream capabilities including the Registry, thus allowing SaveToRegistry for components. Check out one of the many Delphi components pages.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Inthe, thanks
kifah : do you have any code?
kifah : do you have any code?
ASKER
Thanks
by using ComboBox.Items.SaveToFile(
Sure you can use registry for that, but is not recomended (in my openion).
Tell me if you still need to use the registry, so I can give a simple code, which will make your job.