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

C#

 
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 
hi all,

am developing an excel com addin using c#. In my addin, I am supposed to
generate few buttons on the excel sheet's cells and perform their respective events on clicking.
Every thing is working fine. Every button is named 'search' and is associated
with its appropriate event handler(searchButton_Click). The button and its
event handler constitute an object(of 'result' class). Now I tried to
serialize the class Result so that I can save all the currently exisitng
'Result' objects, on the active sheet, to a file such that if I save this excel sheet and re open
the sheet, I should be able to get back the controls(de serialize) of all the
buttons present on the saved sheet. How ever in the serialization step, I am
getting an exception that says:

[System.Runtime.Serialization.SerializationException] = {"Type 'System.__ComObject' in Assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable."}

Could anyone here please help me identify the exact problem here and am I
missing anything? I did mark the class 'result' as 'Serializable'. In my
'result' class I have the code to generate a button on the sheet's active
cell and that button's event handler.

The buttons am generating on the excel sheet's cells are 'MSForms.CommandButton' types.

Many thanks in advance!
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 
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 
GeneralRe: Thread Pin
Megidolaon25-Feb-09 22:13
Megidolaon25-Feb-09 22:13 
QuestionSimple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 20:33
WinSolution24-Feb-09 20:33 
AnswerRe: Simple Threading (VS 2005) Example Pin
J a a n s24-Feb-09 20:41
professionalJ a a n s24-Feb-09 20:41 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 20:48
WinSolution24-Feb-09 20:48 
AnswerRe: Simple Threading (VS 2005) Example Pin
prasadbuddhika24-Feb-09 20:45
prasadbuddhika24-Feb-09 20:45 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 21:04
WinSolution24-Feb-09 21:04 
GeneralRe: Simple Threading (VS 2005) Example Pin
ABitSmart24-Feb-09 21:52
ABitSmart24-Feb-09 21:52 
AnswerRe: Simple Threading (VS 2005) Example Pin
Cracked-Down24-Feb-09 23:36
Cracked-Down24-Feb-09 23:36 
AnswerRe: Simple Threading (VS 2005) Example Pin
Luc Pattyn25-Feb-09 1:13
sitebuilderLuc Pattyn25-Feb-09 1:13 
QuestionEdit of C# DLL file Pin
HatakeKaKaShi24-Feb-09 20:24
HatakeKaKaShi24-Feb-09 20:24 
AnswerRe: Edit of C# DLL file Pin
WinSolution24-Feb-09 20:37
WinSolution24-Feb-09 20:37 
GeneralRe: Edit of C# DLL file Pin
HatakeKaKaShi24-Feb-09 20:47
HatakeKaKaShi24-Feb-09 20:47 

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.