AC130 Posted July 16, 2011 Author Share Posted July 16, 2011 How to use INIWRITE in VB6? Save1 = cAutoit.IniWrite(CommonDialog1, "Configuration", "", Text1.Text) That doesn't work. It doesn't save anything. I'm trying to get it to save my input boxes. Text1.Text, Text2.Text, and combo boxes if possible. Thanks! Link to comment Share on other sites More sharing options...
taietel Posted July 17, 2011 Share Posted July 17, 2011 Of course it does not save anything... Now it does: Dim cAutoIt As New AutoItX3 Dim sFile sFile = "c:\file.ini" Open sFile For Output As #1 Close #1 cAutoIt.IniWrite sFile, "Configuration", "SomeKey", Text1.Text Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now