Click here to Skip to main content
15,891,021 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
maheesh12-Aug-09 18:50
maheesh12-Aug-09 18:50 
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
Christian Graus12-Aug-09 19:00
protectorChristian Graus12-Aug-09 19:00 
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
maheesh12-Aug-09 19:19
maheesh12-Aug-09 19:19 
AnswerRe: C# Save the the last entered data on application exit and reload it on application start. Pin
Mycroft Holmes12-Aug-09 18:08
professionalMycroft Holmes12-Aug-09 18:08 
AnswerRe: C# Save the the last entered data on application exit and reload it on application start. Pin
mustang8612-Aug-09 20:00
mustang8612-Aug-09 20:00 
AnswerRe: C# Save the the last entered data on application exit and reload it on application start. Pin
wjp_auhtm12-Aug-09 21:07
wjp_auhtm12-Aug-09 21:07 
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
maheesh12-Aug-09 22:16
maheesh12-Aug-09 22:16 
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
wjp_auhtm13-Aug-09 0:22
wjp_auhtm13-Aug-09 0:22 
1)u can search some infomation about creating/using file with ini suffix using the belowing code.

[System.Runtime.InteropServices.DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
[System.Runtime.InteropServices.DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);


2)'DataTable' clsss have two methods named 'WriteXml' and 'ReadXml',u can also search the infomation about them.

3)u also can use FileStream class to create a config file.

good luck

wjp_auhtm@hotmail.com
GeneralRe: C# Save the the last entered data on application exit and reload it on application start. Pin
maheesh13-Aug-09 1:32
maheesh13-Aug-09 1:32 
QuestionAccessing/reading .TTF Pin
dell22412-Aug-09 16:17
dell22412-Aug-09 16:17 
QuestionVisio file to pdf Pin
StefCarle12-Aug-09 15:19
StefCarle12-Aug-09 15:19 
AnswerRe: Visio file to pdf Pin
Christian Graus12-Aug-09 16:45
protectorChristian Graus12-Aug-09 16:45 
QuestionPopulate TreeView from a flat file Pin
ccsalway12-Aug-09 11:48
ccsalway12-Aug-09 11:48 
AnswerRe: Populate TreeView from a flat file Pin
PIEBALDconsult12-Aug-09 13:41
mvePIEBALDconsult12-Aug-09 13:41 
AnswerRe: Populate TreeView from a flat file Pin
Luc Pattyn12-Aug-09 14:07
sitebuilderLuc Pattyn12-Aug-09 14:07 
GeneralRe: Populate TreeView from a flat file Pin
ccsalway12-Aug-09 20:14
ccsalway12-Aug-09 20:14 
GeneralRe: Populate TreeView from a flat file Pin
Luc Pattyn13-Aug-09 2:12
sitebuilderLuc Pattyn13-Aug-09 2:12 
GeneralRe: Populate TreeView from a flat file Pin
ccsalway13-Aug-09 2:13
ccsalway13-Aug-09 2:13 
GeneralRe: Populate TreeView from a flat file Pin
Luc Pattyn13-Aug-09 3:08
sitebuilderLuc Pattyn13-Aug-09 3:08 
QuestionAdd shortcuts to a system tray application Pin
LordZoster12-Aug-09 9:53
LordZoster12-Aug-09 9:53 
AnswerRe: Add shortcuts to a system tray application Pin
Henry Minute12-Aug-09 10:23
Henry Minute12-Aug-09 10:23 
GeneralRe: Add shortcuts to a system tray application Pin
LordZoster12-Aug-09 10:34
LordZoster12-Aug-09 10:34 
AnswerRe: Add shortcuts to a system tray application Pin
LordZoster12-Aug-09 10:37
LordZoster12-Aug-09 10:37 
QuestionEncryption with tcpclient and tcplistner? Pin
Druuler12-Aug-09 8:43
Druuler12-Aug-09 8:43 
AnswerRe: Encryption with tcpclient and tcplistner? Pin
Leonardo Muzzi12-Aug-09 10:16
Leonardo Muzzi12-Aug-09 10:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.