PDA

Click to See Complete Forum and Search --> : saving data inside your app


Insane Killa
Jan 6th, 2000, 06:03 AM
say if there was a text box on an app and the user made a change to that field how could you store the data inside the app so that it now used that text instead of having to have your app use text files?

LG
Jan 6th, 2000, 06:19 AM
It doesn't worse a try, I would use a Windows Regestry for that.

compuGEEK
Jan 6th, 2000, 06:21 AM
I might work if you use the clipboard:

clipboard.clear
clipboard.SetText txtOne.text
txtTwo.text = clipboard.GetText()




------------------
CompuGEEK

KENNNY
Jan 6th, 2000, 07:06 AM
yes but thats no use cos what if the clipboard is cleared by another app??
say u copy paste a file?
and the clipboard data isnt permanent, so it dies when u shutdown.
use the registry: GetSetting and SaveSetting make it pi$$ easy

------------------
cintel rules :p
www.cintelsoftware.co.uk

MartinLiss
Jan 6th, 2000, 10:06 AM
The registry is a good place to store small amounts of data, but for anything else, use a database.

------------------
Marty