Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
Prajeesh24-Feb-09 22:55
Prajeesh24-Feb-09 22:55 
AnswerRe: Delete in Richtextbox? Pin
Eddy Vluggen24-Feb-09 23:07
professionalEddy Vluggen24-Feb-09 23:07 
Question[Message Deleted] Pin
Prajeesh24-Feb-09 23:28
Prajeesh24-Feb-09 23:28 
AnswerRe: Delete in Richtextbox? Pin
Eddy Vluggen24-Feb-09 23:35
professionalEddy Vluggen24-Feb-09 23:35 
Question[Message Deleted] Pin
Prajeesh24-Feb-09 23:47
Prajeesh24-Feb-09 23:47 
AnswerRe: Delete in Richtextbox? Pin
Eddy Vluggen25-Feb-09 0:11
professionalEddy Vluggen25-Feb-09 0:11 
General[Message Deleted] Pin
Prajeesh25-Feb-09 0:23
Prajeesh25-Feb-09 0:23 
GeneralRe: Delete in Richtextbox? Pin
Eddy Vluggen25-Feb-09 1:06
professionalEddy Vluggen25-Feb-09 1:06 
Answer[Message Deleted] Pin
Prajeesh26-Feb-09 16:39
Prajeesh26-Feb-09 16:39 
GeneralRe: Delete in Richtextbox? Pin
Eddy Vluggen26-Feb-09 21:06
professionalEddy Vluggen26-Feb-09 21:06 
QuestionStront typing error Pin
kanchoette24-Feb-09 22:17
kanchoette24-Feb-09 22:17 
AnswerRe: Stront typing error Pin
kanchoette24-Feb-09 23:41
kanchoette24-Feb-09 23:41 
QuestionQ: How to serialize layer structure Pin
pandd24-Feb-09 21:13
pandd24-Feb-09 21:13 
AnswerRe: Q: How to serialize layer structure Pin
J4amieC24-Feb-09 22:39
J4amieC24-Feb-09 22:39 
GeneralRe: Q: How to serialize layer structure Pin
pandd24-Feb-09 23:52
pandd24-Feb-09 23:52 
QuestionHow to retrieve images from webbrowser control without reload? Pin
WebFormSubmitter24-Feb-09 21:08
WebFormSubmitter24-Feb-09 21:08 
AnswerRe: How to retrieve images from webbrowser control without reload? Pin
Curtis Schlak.25-Feb-09 10:08
Curtis Schlak.25-Feb-09 10:08 
GeneralThanks! But how to extraxt already loaded image from the webbrower? Pin
WebFormSubmitter26-Feb-09 8:57
WebFormSubmitter26-Feb-09 8:57 
GeneralRe: Thanks! But how to extraxt already loaded image from the webbrower? Pin
Curtis Schlak.26-Feb-09 10:34
Curtis Schlak.26-Feb-09 10:34 
Questiona serialization problem Pin
abhiram_nayan24-Feb-09 20:53
abhiram_nayan24-Feb-09 20:53 
AnswerRe: a serialization problem Pin
Expert Coming24-Feb-09 22:36
Expert Coming24-Feb-09 22:36 
GeneralRe: a serialization problem Pin
abhiram_nayan25-Feb-09 0:50
abhiram_nayan25-Feb-09 0:50 
Hey, i did google but still not able to understand why am I not able to do it.

Also, I have a doubt, if am doing some thing like this(code below) in a normal project(not an excel addin),this is working fine:


emp[] e = {
new emp(1,"Mark",5000),
new emp(2,"Mich",6000),
new emp ( 3, "Amol", 4460 ),
new emp ( 4, "Anil", 9456 ),
new emp ( 5, "Srikanth", 9500 ),
};

//SERIALIZING PART
Stream s = File.Open("c:\\New Folder\\emp.txt", FileMode.Create,FileAccess.ReadWrite);
BinaryFormatter b = new BinaryFormatter();
b.Serialize(s, e);
s.Close();

//DESERIALIZING PART
s = File.Open("c:\\New Folder\\emp.txt", FileMode.Open, FileAccess.ReadWrite);
emp[] ee = (emp[])b.Deserialize(s);
foreach (emp ez in ee)
MessageBox.Show(ez.ToString());
s.Close();

But, the same is not working when am introducing this piece of code in my excel-addin project. What could be the reason for this behavour?!

Thanks.
QuestionThread Pin
Ammu S24-Feb-09 20:33
Ammu S24-Feb-09 20:33 
AnswerRe: Thread Pin
Rob Philpott24-Feb-09 21:19
Rob Philpott24-Feb-09 21:19 
AnswerRe: Thread Pin
Krishnraj24-Feb-09 23:11
Krishnraj24-Feb-09 23:11 

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.