skippynz Posted December 4, 2007 Posted December 4, 2007 i ask this because i have a script that exports group names from Active Directory then put these names into a List - but in one OU the list seems to stop at 300 items - i know the data is being exported to ini files ok as i can see them but its just not coming through into my gui.... tia Craig
Generator Posted December 4, 2007 Posted December 4, 2007 i ask this because i have a script that exports group names from Active Directory then put these names into a List - but in one OU the list seems to stop at 300 items - i know the data is being exported to ini files ok as i can see them but its just not coming through into my gui....tiaCraigI saw it somewhere and it was mentioned by Gary, if i still have a good memory the limit is 4000.
skippynz Posted December 4, 2007 Author Posted December 4, 2007 I saw it somewhere and it was mentioned by Gary, if i still have a good memory the limit is 4000.thats where im stumped then - cause mine seems to stop adding in lines after 300 items have been added
skippynz Posted December 4, 2007 Author Posted December 4, 2007 thats where im stumped then - cause mine seems to stop adding in lines after 300 items have been addedor is there a limit of the amount of lines that can be read from an INI file ? cause thats where my data is coming from.cheersCraig
weaponx Posted December 4, 2007 Posted December 4, 2007 I think biggest ini that can be handled is 32kb. Someone correct me if i'm wrong.
skippynz Posted December 4, 2007 Author Posted December 4, 2007 I think biggest ini that can be handled is 32kb. Someone correct me if i'm wrong.your right - i found a post from smoke_n and some others with a udf for the larger ini files - Func _IniReadEx($hFile, $vSection, $vKey, $vDefault = -1)Func _IniReadSectionEx($hFile, $vSection)Func _IniReadSectionNamesEx($hFile)Func _IniWriteEx($hFile, $vSection, $vKey, $vValue)Func _IniDeleteEx($hFile, $vSection, $vKey = '')can someone make these available in the next beta by default please they are really useful for people that use ini's a lot.cheersCraig
weaponx Posted December 4, 2007 Posted December 4, 2007 I think once you reach a certain amount of data, ini files are too inefficient. If you are pushing these limits, its probably time to use xml or a database.
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