I can write a custom function easily enough to sort the entries of each Section in an INI file. But is there a way for Windows to do it for me? Just wondering. I didn't find anything on MSDN. I did find a few internet entries but they just used a custom function approach.
Another approach is to put the Write statements to the INI file are in the desired sorted order. But if the INI file already exists then you'd have to delete it first . I have a number of apps in which I want the sorted order and would like to avoid adjusting the Write statements in all of them. So adding a function may be the easier way to go.
Another approach is to put the Write statements to the INI file are in the desired sorted order. But if the INI file already exists then you'd have to delete it first . I have a number of apps in which I want the sorted order and would like to avoid adjusting the Write statements in all of them. So adding a function may be the easier way to go.
Comment