WriteProfileString
-
"WriteProfileString" API writes the entries into an .ini file in the system folder(Ex: C:\\WINDOWS\{application name}.ini). Open the file, and delete the entry you want.
Thanks & Rgds, Sri..
Thank you.
PSrividya wrote:
Ex: C:\\WINDOWS\{application name}.ini).
I could not find the ini file with my application name. Should i search for it any where else?
KIRAN PINJARLA
-
kiran.pinjarla wrote:
How to delete the entry done with the CWinApp::WriteProfileString(). not programatically. how to do it directly?
I think the api writes entries into win.ini file. Open the file, and remove your entry.
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
brahmma wrote:
the api writes entries into win.ini file.
I found no entries of my application in the win.ini file. Is the any other file that i should search?
KIRAN PINJARLA
-
How to delete the entry done with the CWinApp::WriteProfileString(). not programatically. how to do it directly? thank you.
KIRAN PINJARLA
i am using win2000professional does it differ in this behaviour?
KIRAN PINJARLA
-
brahmma wrote:
the api writes entries into win.ini file.
I found no entries of my application in the win.ini file. Is the any other file that i should search?
KIRAN PINJARLA
The documentation says it is written in to the win.ini file. It also says that the system maps most .ini file references to the registry. Please read the documentation. http://msdn2.microsoft.com/en-us/library/ms725504.aspx[^]
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
-
"WriteProfileString" API writes the entries into an .ini file in the system folder(Ex: C:\\WINDOWS\{application name}.ini). Open the file, and delete the entry you want.
Thanks & Rgds, Sri..
PSrividya wrote:
in the system folder(Ex: C:\\WINDOWS\{application name}.ini).
What exactly? Can you give a link where this stuff is said?
PSrividya wrote:
Rgds,
Saving the key strokes?
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
-
i am using win2000professional does it differ in this behaviour?
KIRAN PINJARLA
No
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
-
PSrividya wrote:
in the system folder(Ex: C:\\WINDOWS\{application name}.ini).
What exactly? Can you give a link where this stuff is said?
PSrividya wrote:
Rgds,
Saving the key strokes?
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
Sorry. The file name doesnt need to be the application name. Syntax: WriteProfileString ("file name", "section", "key", "string") where the first parameter is the file name in which the key entry has to be made.
Thanks & Rgds, Sri..
-
Sorry. The file name doesnt need to be the application name. Syntax: WriteProfileString ("file name", "section", "key", "string") where the first parameter is the file name in which the key entry has to be made.
Thanks & Rgds, Sri..
PSrividya wrote:
Syntax: WriteProfileString ("file name", "section", "key", "string") where the first parameter is the file name in which the key entry has to be made.
Huh? If you want to specify the file name by yourself, you need to use
WritePrivateProfileString
.WriteProfileString
takes just 3 arguments.
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
-
The documentation says it is written in to the win.ini file. It also says that the system maps most .ini file references to the registry. Please read the documentation. http://msdn2.microsoft.com/en-us/library/ms725504.aspx[^]
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
brahmma wrote:
Please read the documentation. http://msdn2.microsoft.com/en-us/library/ms725504.aspx\[^\]
Thank you brahmma. It helped me.
KIRAN PINJARLA
-
"WriteProfileString" API writes the entries into an .ini file in the system folder(Ex: C:\\WINDOWS\{application name}.ini). Open the file, and delete the entry you want.
Thanks & Rgds, Sri..