MFC ini Files
-
hi, Can somebody tell me how to go about writing data from the controls to ini files. I know tht i can use WritePrivateProfileString function but i wanted to know what intializations i will be required to do as in creating a section etc before i can follow the synatx of writing into an ini file. Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. thanks U get wht u Give
-
hi, Can somebody tell me how to go about writing data from the controls to ini files. I know tht i can use WritePrivateProfileString function but i wanted to know what intializations i will be required to do as in creating a section etc before i can follow the synatx of writing into an ini file. Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. thanks U get wht u Give
When you create a entry into ini file using above api, it itself create a file is doesn't exists, it itself create a section if doesn't exist and it itself overwrite the key if it exists. charu123 wrote: but i wanted to know what intializations i will be required to do as in creating a section etc no Extra initialization required
[Vote One Here, Complete my Survey....] Alok Gupta
visit me at http://www.thisisalok.tk "I Think Believe this Will Help" -
hi, Can somebody tell me how to go about writing data from the controls to ini files. I know tht i can use WritePrivateProfileString function but i wanted to know what intializations i will be required to do as in creating a section etc before i can follow the synatx of writing into an ini file. Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. thanks U get wht u Give
-
hi, Can somebody tell me how to go about writing data from the controls to ini files. I know tht i can use WritePrivateProfileString function but i wanted to know what intializations i will be required to do as in creating a section etc before i can follow the synatx of writing into an ini file. Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. thanks U get wht u Give
charu123 wrote: Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. By definition, a combobox can only have one selection.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
hi, Can somebody tell me how to go about writing data from the controls to ini files. I know tht i can use WritePrivateProfileString function but i wanted to know what intializations i will be required to do as in creating a section etc before i can follow the synatx of writing into an ini file. Also i wanted to know how I can store multiple values for a control(combo box) into the same key using a loop or count. thanks U get wht u Give