Sign in to follow this  
Followers 0
skippynz

does _GUICtrlListAddItem have a limit ?

8 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I think biggest ini that can be handled is 32kb. Someone correct me if i'm wrong.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Have a look here to exceed 32k inifile limit

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0