I need to know how to save!!! To set up a save button with code in my application, I don't know how to do this can you help???
Thanks
Printable View
I need to know how to save!!! To set up a save button with code in my application, I don't know how to do this can you help???
Thanks
What and where you want to save? You can save some data in a file, in a database, registry and so on. With file you can do something like this:
Dim intFileNumber as Integer
Open "C:\...\Test.txt for input lock Read Write as #FileNumber
input #FileNumber, "My Testing Data"
Close #FileNumber
With database there is a lot of methods: Data Control, DAO, ADO ...
With registry use SaveSetting statement or use API.
Vlad