|
-
Nov 20th, 2000, 01:27 PM
#1
Thread Starter
New Member
Hi all,
In an .ini file I have several keys and corresponding values. I want to know if there is a way to delete a key and its value. I have figured out how to create the file and the keys but when my form changes it can have some unnecessary key left that I no longer need.
Steve
-
Nov 20th, 2000, 01:39 PM
#2
Fanatic Member
...
U could proably use the WriteProfileString fucntion
to nil out values under some sections
so, if u do not want to use a section... instead of deleting
it, set it to nil
Would that be a compromise
There may e but I don't know of a delete profile string function
-
Nov 20th, 2000, 04:35 PM
#3
Thread Starter
New Member
I have figured it out. Lafor you were right.
here is a sample:
WritePrivateProfileString(lpAppName, 0&, 0&, lpFileName)
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|