Please respect the original: Original address: Click to open the link
:: WritePrivateProfileString (_t ("Options"), _t ("Name"), M_strname, Papp->m_szini);INI file programming, WINAPI function Writeprivateprofilestring,getprivateprofilestring
INIFILE Management
By clin003 at 20070528 from: http://blog.csdn.net/clin003INI files play an important role in system configuration and saving and setting application parameters, for example, VB, Vc, VFP, and Delphi all provide methods to read and
---- INI files play an important role in system configuration and saving and setting application parameters. Therefore, a Visual Programmer, for example, VB, Vc, VFP, and Delphi all provide methods to read and write INI files. Among them, operations
Reproduced in Baidu space: http://hi.baidu.com/graspa/blog/item/d17d928b4ec949d0fc1f1007.html/cmtid/ccf49bd4288f080fa08bb74e
I. It is necessary to understand the structure of the INI file:
; Comment
[Section name]
Keyword = Value
...
---- The INI
I. Implementation Method:
1. Create a project/form (the form name is ini. FRM), and add three command button controls to the form, command1, command2, and command3Command1.caption = "write"Command2.caption = "read"Command3.caption = "end"
2.
First, it is necessary to understand the structure of the INI file:; note[section name]Keyword = value...The----INI file allows multiple subsections, each of which allows for multiple keywords, followed by the value of the keyword.There are three
How to Use INI files to develop applications using VB
To make it easier for users to use and make the system flexible, most win-dows applications record user choices and various changes in the system information in the
For the convenience of users and flexibility of the system, most win-dows applications record user choices and system information for various changes in the initialization (INI) file. Therefore, when the system environment changes, you can directly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.