Jump to content

Recommended Posts

Posted

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

Posted

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

I saw it somewhere and it was mentioned by Gary, if i still have a good memory the limit is 4000.
Posted

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

Posted

thats where im stumped then - cause mine seems to stop adding in lines after 300 items have been added

or 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.

cheers

Craig

Posted

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.

cheers

Craig

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...