02-11-2009 01:37 AM
Solved! Go to Solution.
02-11-2009 02:03 AM
Hi Ritesh,
you can write your own function to read and write the data or you use the "Flatten to XML" and "Unflatten from XML" to store and restore your data.
Mike
02-11-2009 05:27 AM
Hi Mike,
Thanks alot.
"Flatten to String" and "Unflatten to String" works great.
Ritesh
02-11-2009 06:53 AM
Hi Mike,
Though Flatten and Unflatten to String works great if i store the data in a Text File.
But, its not giving the correct result when i am saving the same string ina Binary File.
I am atacing my code here. There are 2 clusters. The program first stores Cluster1 to the Binary File, and the reads the same file and O/P the data. The I/P data and the O/P doesnt match in this case .
Pls have a look at it and let me know whats the cause ?
Thanks,
Ritesh
02-11-2009 06:56 AM
I forgot to attach the control to my previos post.
i am attaching it here.
Ritesh
02-11-2009 07:01 AM - edited 02-11-2009 07:02 AM
Hi Ritesh,
with some changes it works for me.
Mike
02-11-2009 07:30 AM
Hi Mike,
After amendments, I am still not getting the correct O/P.
here's the O/P i got.
Ritesh
02-11-2009 07:41 AM
Hi Ritesh,
connect also a "false" to the "write to binary" function.
Mike
02-11-2009 07:44 AM
Hi Mike,
Thanks alot.
Its working now.
Ritesh
02-12-2009 08:11 AM