DirtDBaK Posted October 21, 2007 Share Posted October 21, 2007 ini get sections problem also ini read section stops working after a while too but i dont need that to be fixed.... it stops reading them after so many any fixes?? I need it to reutrn the same thing, but actually put every section name into an array, it will be used with this loop $p = ProgressOn( "Starting Key Master", "Step 1 of 3", "Finding Library..." ) If Not FileExists( $ld_val ) Then $ld_Val = FileOpenDialog( "Locate Library...", "Desktop", "All Libraries(*.keylibs)" ) If $ld_val = "" Then Exit Endif Sleep(500) $keys =0 _GUICtrlTreeViewDeleteAllItems( $TreeView1 ) $secs = IniReadSectionNames( $ld_val ) $total = $secs[0] Dim $a[999] ;maximum product names allowed is 999 For $i = 1 to $secs[0] step 1 $a[$i] = GUICtrlCreateTreeViewItem( $secs[$i], $TreeView1 ) $b = IniReadSection( $ld_val, $secs[$i] ) For $c = 1 to $b[0][0] step 1 ;GUICtrlCreateTreeViewItem( $b[$c][0] & "=" & $b[$c][1], $a[$i] ) GUICtrlCreateTreeViewItem( $b[$c][1], $a[$i] ) $keys=$keys+1 Next ProgressSet( (($i/$total)*100)-1, "Reading Library Into Memory...", "Step 2 of 3" ) Next ProgressSet( 100, "Validating Library...", "Step 3 of 3" ) [center][/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 21, 2007 Moderators Share Posted October 21, 2007 An actual working example of it failing or an actual working example that we can run that recreates your issue would be GREAT!Just curious, you've started like 4 threads for help in 10 minutes... are you saving them all up, or posting them as they come along?Anyway... Ini functions generally have a 32kb limit... you could look here for an alternative.http://www.autoitscript.com/forum/index.ph...c=32004&hl= Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
DirtDBaK Posted October 21, 2007 Author Share Posted October 21, 2007 posting problems while i have internet... Ill stop posting so much im probabbly becoming annoying and wasting bandwidth.... [center][/center] 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