Help Using Deletesetting with my own Ini files 
Author Message
 Help Using Deletesetting with my own Ini files

To anybody who can help.

I'm using GetSetting and SaveSetting for maintaining my own INI files in a
local directory.
I want to be able to remove INI keys from the INI file.
When using DeleteSetting under Win95 it seems to work only when the INI file is
located in the Windows directory.
When I pass a filename like "C:\PROGRAM\MYFILE.INI" the DeleteSetting function
fails.

Does anybody know why or have a alternative solution?

Age.



Mon, 18 Jan 1999 03:00:00 GMT  
 Help Using Deletesetting with my own Ini files

Quote:

> To anybody who can help.

> I'm using GetSetting and SaveSetting for maintaining my own INI files in a
> local directory.
> I want to be able to remove INI keys from the INI file.

It's a well kept Windows secret... ah what the heck...

Check out Knowledge Base article Q75639: "Accessing Windows
Initialization Files from Visual Basic"
        http://www.microsoft.com/kb/developr/vb/q75639.htm

Geoff
====================================
      "I brake for MCSD's..."
------------------------------------
The Knowledge Base is YOUR FRIEND!!!
    http://www.microsoft.com/kb/
====================================



Tue, 19 Jan 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help Using INI-files

2. Invalid procedure Call when using Access95 DeleteSetting

3. Deleting a registry key without using DeleteSetting

4. opening file using own environment

5. INI-MANAGEMENT: how to locate private Ini-File ?

6. Using ini files in Access 2000

7. how to connect to ini file using vb.net

8. Using XML file instead INI for user and app setting

9. Using an INI file

10. Using INI config files in VB ?

11. German Software Group: Using INI-Files in VB

12. DeleteSetting help for newbie

 

 
Powered by phpBB® Forum Software