Hi All,

i want to get a particular key value from the INI file through the VB script.

I gone to this link "http://www.dwarfsoft.com/blog/2009/02/27/ini-file-handler-for-vbscript/"

but the solution i did't got.

can u please give the better sites.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Hi hari,

The First step u need to take is read all the lines of an INI file into a VBscript object say StrreadallLines and Second step is that use some string manupulations functions and get the value.some what complicated but the result is fast.

Answered 01/08/2012 by: mayur_mak
Senior Purple Belt

Please log in to comment
the solution on the site you mentioned is not that difficult to implement. Basically paste the class he wrote into your script and then use the LoadIni and GetValue functions to get values from your ini file.

Answered 01/08/2012 by: pjgeutjens
Red Belt

Please log in to comment