Christina_ Posted April 16, 2015 Share Posted April 16, 2015 Hello, Searching for read and write to ini file… and really don’t know how to begin… Maybe someone can help me? What I have : 1 x Button1 for Save 1 x Button2 for Delete or Reset values in ini file 6 x TextBox The user need to fill in textboxes with numbers. Can save the values he wants to keep in ini file. For example the user let only TextBox2 empty, TextBox2 in ini file need to go empty when save. User can delete/reset all values in ini file by Button2 Example value TextBox : Textbox1 value = 10.23 Textbox2 value = 210.22 Textbox3 value = 18 TextBox… Example Ini file : TextBox1 (or another name) 10.23 TextBox2 210.22 TextBox3 18 I use OpenDCL but if need I can convert from DCL to OpenDCL Thank you to read this, Christina Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted April 17, 2015 Share Posted April 17, 2015 If you are open to using the DOSLib extensions, you can use the dos_getini / dos_setini functions. Otherwise, you'll need to roll your own Lee Quote Link to comment Share on other sites More sharing options...
Christina_ Posted April 17, 2015 Author Share Posted April 17, 2015 If you are open to using the DOSLib extensions, you can use the dos_getini / dos_setini functions. Otherwise, you'll need to roll your own Lee Hello Lee Mac, I were little skeptical by using extensions but if you mention it means i can trust it! Thank you for the links Christina Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted April 18, 2015 Share Posted April 18, 2015 You're most welcome Christina. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.