Click here to Skip to main content
15,921,548 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to access one form to another? Pin
Saikek1-Apr-07 4:36
Saikek1-Apr-07 4:36 
QuestionSir, can I have a doubt that If C# does not support Pointers then how C# is able to Support Runtime Polymorphism ? Pin
CodeVarma31-Mar-07 22:06
CodeVarma31-Mar-07 22:06 
AnswerRe: Sir, can I have a doubt that If C# does not support Pointers then how C# is able to Support Runtime Polymorphism ? Pin
Nader Elshehabi31-Mar-07 22:32
Nader Elshehabi31-Mar-07 22:32 
AnswerRe: Sir, can I have a doubt that If C# does not support Pointers then how C# is able to Support Runtime Polymorphism ? Pin
Muammar©31-Mar-07 22:47
Muammar©31-Mar-07 22:47 
Questionadding an image to the executable file Pin
Don Dang31-Mar-07 21:11
Don Dang31-Mar-07 21:11 
AnswerRe: adding an image to the executable file Pin
Stanciu Vlad31-Mar-07 21:38
Stanciu Vlad31-Mar-07 21:38 
AnswerRe: adding an image to the executable file Pin
Nader Elshehabi31-Mar-07 22:28
Nader Elshehabi31-Mar-07 22:28 
GeneralRe: adding an image to the executable file Pin
Don Dang2-Apr-07 9:57
Don Dang2-Apr-07 9:57 
QuestionSending mail Pin
ThetaClear31-Mar-07 21:08
ThetaClear31-Mar-07 21:08 
AnswerRe: Sending mail Pin
Muammar©31-Mar-07 22:52
Muammar©31-Mar-07 22:52 
QuestionUnique names in property grid...? Pin
e-laj31-Mar-07 21:06
e-laj31-Mar-07 21:06 
Questionmultilungual textbox question? Pin
OmarLodhi31-Mar-07 20:58
OmarLodhi31-Mar-07 20:58 
AnswerRe: multilungual textbox question? Pin
Nader Elshehabi31-Mar-07 22:24
Nader Elshehabi31-Mar-07 22:24 
QuestionHow to connect My Sql Database to compare string from database. Pin
krajah1031-Mar-07 20:44
krajah1031-Mar-07 20:44 
AnswerRe: How to connect My Sql Database to compare string from database. Pin
Stanciu Vlad31-Mar-07 21:31
Stanciu Vlad31-Mar-07 21:31 
GeneralRe: How to connect My Sql Database to compare string from database. Pin
krajah1031-Mar-07 22:26
krajah1031-Mar-07 22:26 
Questionhow to access methods of Window Service Pin
Sanjib Raj31-Mar-07 19:21
Sanjib Raj31-Mar-07 19:21 
AnswerRe: how to access methods of Window Service Pin
Nader Elshehabi31-Mar-07 22:14
Nader Elshehabi31-Mar-07 22:14 
QuestionTables Pin
Shin-Ra31-Mar-07 10:40
Shin-Ra31-Mar-07 10:40 
QuestionSaving from one txt file into another one problem? Pin
Khoramdin31-Mar-07 8:55
Khoramdin31-Mar-07 8:55 
AnswerRe: Saving from one txt file into another one problem? Pin
darkcalin31-Mar-07 10:04
darkcalin31-Mar-07 10:04 
AnswerRe: Saving from one txt file into another one problem? Pin
Wayne Phipps31-Mar-07 10:25
Wayne Phipps31-Mar-07 10:25 
I don't quite understand the problem/question.

As I understand the situation:
You save data in a temporary file which is deleted when the application exits.
There is another permanent file where the data in the temporary file is written/moved as long at the data doesn't already exist in the permanent file.

This would require your code to perform the following:
Read a record from the temporary file.
Read the contents of the permanent file searching for a matching record.
If no record is found in the permanent file, append the permantent file with the new record.

Depending on the size of the files and number of records, you may be able to read both files into memory when making comparisons and after any additions, simply write out a new permanent file from the records in memory.



Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
View my Blog

AnswerRe: Saving from one txt file into another one problem? Pin
Nader Elshehabi31-Mar-07 22:07
Nader Elshehabi31-Mar-07 22:07 
QuestionThe Form freeze ive tryed using threads but... nothing Pin
crazy friend31-Mar-07 8:07
crazy friend31-Mar-07 8:07 
AnswerRe: The Form freeze ive tryed using threads but... nothing Pin
Stanciu Vlad31-Mar-07 21:35
Stanciu Vlad31-Mar-07 21:35 

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.