Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
QuestionCalculating dates from tables and displaying results Pin
AdamskiR16-Sep-05 3:02
AdamskiR16-Sep-05 3:02 
QuestionObjects to bytes... Pin
Niklas Ulvinge16-Sep-05 2:47
Niklas Ulvinge16-Sep-05 2:47 
AnswerRe: Objects to bytes... Pin
turbochimp16-Sep-05 17:03
turbochimp16-Sep-05 17:03 
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge16-Sep-05 21:07
Niklas Ulvinge16-Sep-05 21:07 
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge16-Sep-05 21:25
Niklas Ulvinge16-Sep-05 21:25 
GeneralRe: Objects to bytes... Pin
turbochimp17-Sep-05 6:25
turbochimp17-Sep-05 6:25 
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge17-Sep-05 6:32
Niklas Ulvinge17-Sep-05 6:32 
GeneralRe: Objects to bytes... Pin
turbochimp17-Sep-05 6:42
turbochimp17-Sep-05 6:42 
I can't really tell for sure, but my guess would be that in your addItem method you're creating an array where the last item (set to the value of the 'item' parameter) is null.

Have you inserted a breakpoint in your code just prior to serialization (in SaveFile_Click) to inspect your array and ensure that the length is what you expect it to be, and that all the elements in the array are non-null?

If you want, just email the source to me.

The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’


-- modified at 12:42 Saturday 17th September, 2005
GeneralRe: Objects to bytes... Pin
Niklas Ulvinge17-Sep-05 7:00
Niklas Ulvinge17-Sep-05 7:00 
GeneralRe: Objects to bytes... Pin
turbochimp17-Sep-05 6:23
turbochimp17-Sep-05 6:23 
QuestionHow to call ITAddressTranslation method Pin
Fredy16-Sep-05 1:08
Fredy16-Sep-05 1:08 
QuestionC# and voice chat Pin
pakFari16-Sep-05 1:07
pakFari16-Sep-05 1:07 
QuestionDateTime search with Data Tables "Select" Method Pin
16-Sep-05 0:50
suss16-Sep-05 0:50 
Questionimage on toolbarbutton Pin
g00fyman16-Sep-05 0:46
g00fyman16-Sep-05 0:46 
AnswerRe: image on toolbarbutton Pin
Subrahmanyam K16-Sep-05 1:01
Subrahmanyam K16-Sep-05 1:01 
GeneralRe: image on toolbarbutton Pin
g00fyman16-Sep-05 1:07
g00fyman16-Sep-05 1:07 
AnswerRe: image on toolbarbutton Pin
mav.northwind16-Sep-05 5:05
mav.northwind16-Sep-05 5:05 
QuestionThread and timer problem Pin
NicklasRing15-Sep-05 23:41
NicklasRing15-Sep-05 23:41 
AnswerRe: Thread and timer problem Pin
mav.northwind16-Sep-05 21:50
mav.northwind16-Sep-05 21:50 
QuestionCLR Pin
Anonymous15-Sep-05 23:37
Anonymous15-Sep-05 23:37 
AnswerRe: CLR Pin
Guffa15-Sep-05 23:57
Guffa15-Sep-05 23:57 
QuestionJoin video on-the-fly Pin
karnalta15-Sep-05 23:36
karnalta15-Sep-05 23:36 
QuestionHow to use < sign in comments? Pin
Dr Reedo15-Sep-05 23:09
Dr Reedo15-Sep-05 23:09 
AnswerRe: How to use < sign in comments? Pin
g00fyman15-Sep-05 23:17
g00fyman15-Sep-05 23:17 
GeneralRe: How to use &lt; sign in comments? Pin
Dr Reedo16-Sep-05 1:16
Dr Reedo16-Sep-05 1: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.