/build/static/layout/Breadcrumb_cap_w.png

Vb script Vs INI file

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   [ + ] Show comments

Answers (2)

Posted by: mayur_mak 12 years ago
Senior Purple Belt
0
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.


regards,
Mayur
Posted by: pjgeutjens 12 years ago
Red Belt
0
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.

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ