Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionRe: DataGridView [modified] Pin
Assaf829-Sep-07 19:26
Assaf829-Sep-07 19:26 
AnswerRe: DataGridView [modified] Pin
T.EDY9-Sep-07 19:49
T.EDY9-Sep-07 19:49 
Questionarray of bit in c#.... Pin
mr.mohsen9-Sep-07 10:45
mr.mohsen9-Sep-07 10:45 
AnswerRe: array of bit in c#.... [modified] Pin
Jelle Hissink9-Sep-07 10:54
Jelle Hissink9-Sep-07 10:54 
AnswerRe: array of bit in c#.... Pin
Nissim Salomon9-Sep-07 11:01
Nissim Salomon9-Sep-07 11:01 
AnswerRe: array of bit in c#.... Pin
Istvan40411-Sep-07 2:03
Istvan40411-Sep-07 2:03 
QuestionSerialization vs Binary File Pin
Mark F.9-Sep-07 10:35
Mark F.9-Sep-07 10:35 
AnswerRe: Serialization vs Binary File Pin
Jelle Hissink9-Sep-07 10:52
Jelle Hissink9-Sep-07 10:52 
Mark,

BinaryReader/Writer should be much faster, however as you are using it only on a small settings file that will propably only be read at startup and saved only when the user changes something. The BinaryFormatter should be fine.

However writing your own file format is somewhat additional work, it simplify upgrades of your software. The formatter might fail when you add, change or remove fields in your settings.

Why can't you use System.Configuration do the work for you, it was made to handle settings (stored in .config files so you can put them on your USB stick).

Regards,
Jelle Hissink



GeneralRe: Serialization vs Binary File Pin
Mark F.9-Sep-07 11:30
Mark F.9-Sep-07 11:30 
GeneralRe: Serialization vs Binary File Pin
Jelle Hissink9-Sep-07 12:06
Jelle Hissink9-Sep-07 12:06 
QuestionMIDI Keyboard Communication Pin
max292979-Sep-07 9:32
max292979-Sep-07 9:32 
AnswerRe: MIDI Keyboard Communication Pin
Giorgi Dalakishvili9-Sep-07 9:41
mentorGiorgi Dalakishvili9-Sep-07 9:41 
GeneralRe: MIDI Keyboard Communication Pin
max292979-Sep-07 15:18
max292979-Sep-07 15:18 
QuestionData Optimisation Pin
Glenn Van Beneden9-Sep-07 9:30
Glenn Van Beneden9-Sep-07 9:30 
AnswerRe: Data Optimisation Pin
Christian Graus9-Sep-07 9:46
protectorChristian Graus9-Sep-07 9:46 
AnswerRe: Data Optimisation Pin
Tom Jepp9-Sep-07 10:03
Tom Jepp9-Sep-07 10:03 
AnswerRe: Data Optimisation Pin
Luc Pattyn9-Sep-07 10:19
sitebuilderLuc Pattyn9-Sep-07 10:19 
AnswerRe: Data Optimisation Pin
Guffa9-Sep-07 10:47
Guffa9-Sep-07 10:47 
QuestionDataGrid Pin
Assaf829-Sep-07 8:48
Assaf829-Sep-07 8:48 
Questionstoring images to a dll on runtime Pin
Amar Chaudhary9-Sep-07 7:22
Amar Chaudhary9-Sep-07 7:22 
AnswerRe: storing images to a dll on runtime Pin
Giorgi Dalakishvili9-Sep-07 7:30
mentorGiorgi Dalakishvili9-Sep-07 7:30 
GeneralRe: storing images to a dll on runtime Pin
Amar Chaudhary9-Sep-07 7:57
Amar Chaudhary9-Sep-07 7:57 
GeneralRe: storing images to a dll on runtime Pin
Giorgi Dalakishvili9-Sep-07 8:10
mentorGiorgi Dalakishvili9-Sep-07 8:10 
GeneralRe: storing images to a dll on runtime Pin
Amar Chaudhary9-Sep-07 9:26
Amar Chaudhary9-Sep-07 9:26 
QuestionLoading Xml Grammar in Voice Recognition using .net 3.0 Pin
Ashraf zia9-Sep-07 6:38
Ashraf zia9-Sep-07 6:38 

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.