J
Joost
Hi,
I've got the following Ini file example
[Company]
Person=Joost Verdaasdonk
Adress=Nieuwe Huizen 115
Postal=4813 TM Breda
Tel=076-567800
What I'm trying to achieve is to call a section by:
Declare Function GetPrivateProfileString
(or something like that)
This Call should fill a two dimensional array (option
Base 1) with all the Keywords (eg; Person) and Entries
(eg; Joost Verdaasdonk) of that Section.
I've achieved that by looping through the keywords and
getting out one entry at a time.
This seams a lot off work and is slowing down the
procedure.
A while a go I saw an API that could retrieve all the
Keywords in a one dimensional Array.
But I cannot find that one. And if there is one, is there
also one that can retrieve all the Entries in a simular
array? (Two one dimenisionals also would be faster but
Two dimenisonal is preffered)
Does anybody has the code to fill lets say the variable:
sAnwer (Variant) with values of the example Ini?
The Array has to feed my bookmarks in the document. (But
that part is covered)
Thank you very much.
Groetjes,
Joost Verdaasdonk
I've got the following Ini file example
[Company]
Person=Joost Verdaasdonk
Adress=Nieuwe Huizen 115
Postal=4813 TM Breda
Tel=076-567800
What I'm trying to achieve is to call a section by:
Declare Function GetPrivateProfileString
(or something like that)
This Call should fill a two dimensional array (option
Base 1) with all the Keywords (eg; Person) and Entries
(eg; Joost Verdaasdonk) of that Section.
I've achieved that by looping through the keywords and
getting out one entry at a time.
This seams a lot off work and is slowing down the
procedure.
A while a go I saw an API that could retrieve all the
Keywords in a one dimensional Array.
But I cannot find that one. And if there is one, is there
also one that can retrieve all the Entries in a simular
array? (Two one dimenisionals also would be faster but
Two dimenisonal is preffered)
Does anybody has the code to fill lets say the variable:
sAnwer (Variant) with values of the example Ini?
The Array has to feed my bookmarks in the document. (But
that part is covered)
Thank you very much.
Groetjes,
Joost Verdaasdonk