|
-
Jul 24th, 2006, 05:54 AM
#1
Thread Starter
Member
Deleting Profiles from .ini
I am writing profiles to a .ini file, no problem using API's.
How can I delete a profile? All the API's seem to do is either Write or Get.
Thanks.
-
Jul 24th, 2006, 06:06 AM
#2
Re: Deleting Profiles from .ini
An .InI file is nothing more than a formatting text file so IMO the least painful way would be to read your .InI file into a textbox, remove what you don't want, then write the contents of the textbox back to your .InI file.
-
Jul 24th, 2006, 11:23 AM
#3
Re: Deleting Profiles from .ini
If you write a profile with a null key the entire section is deleted.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|