Jump to content

Recommended Posts

Posted

Hi,

i a stuck with a hopefully a little problem.

I know the value of a not yet known key in an ini file.
I need to be able to find the key using the value. The value is a unique value in a section.

 

Hope you guys can help me.

  • Moderators
Posted

Just to clarify: you know the section it will be in, and you will know the value at some point, and you are trying to find the key based on that value - correct? If that is so, take a look at IniReadSection in the help file. It will return all key/value pairs in that section. You can then loop through and find the associated key based on the value.

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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