- yakov werde
- PowerBuilder
- Wednesday, 5 December 2018 05:26 PM UTC
Hello all
We need to migrate some key names in an App.INI file; removing old terms and adding new ones
Adding is a piece of cake. SetProfileString does the deed
But there is no corresponding DeleteProfileString function to remove dead keys
The special challange is under Windows 10 where Windows takes changes of the INI file location and copies into a user area. This cancels the abiity to use direct file access to rewrite the file since the real INI file is not necessarily the one in the application's directory
Other than leaving dead keys in the file, can you suggest a sure file approach?
Thanks
Yakov
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.