
How to I access an INI file?
GetPrivateProfileString is to read the ini
WritePrivateProfileString is to write to the ini
the paramenters are Sectionname, Keyname and file name
heres wht theylook like
[SectionName]
Keyname=Value
hope this throws some light.
Quote:
>I just got VB4 two days and created a wallpaper changer. For the moment
the
>only thing it does is select the BMP file that I want to have as my
>wallpaper. My question is how do I access the INI file that has the name of
>the wallpaper so I can view it and change it with another BMP file.
>Eliud