Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can we use a project developed in VC++ in C# Pin
led mike11-May-06 11:04
led mike11-May-06 11:04 
GeneralRe: how can we use a project developed in VC++ in C# Pin
Rizwan Rathore11-May-06 11:48
Rizwan Rathore11-May-06 11:48 
QuestionRunning DotNet Exe File Pin
Rizwan Rathore11-May-06 9:06
Rizwan Rathore11-May-06 9:06 
AnswerRe: Running DotNet Exe File Pin
Dan Neely11-May-06 9:11
Dan Neely11-May-06 9:11 
GeneralRe: Running DotNet Exe File Pin
Rizwan Rathore11-May-06 9:53
Rizwan Rathore11-May-06 9:53 
GeneralRe: Running DotNet Exe File Pin
Dan Neely11-May-06 9:59
Dan Neely11-May-06 9:59 
GeneralRe: Running DotNet Exe File Pin
Colin Angus Mackay11-May-06 10:27
Colin Angus Mackay11-May-06 10:27 
QuestionHow to serialize System.Drawing.Pen and Brush objects? Pin
Sirinao11-May-06 8:03
Sirinao11-May-06 8:03 
Hi,
i created a class "Rect" that contains information about a Recatngle (Point X, Point Y, Pen pen, Brush brush....).
and when i tried to serialize an object of this class to binary file i got an Exception that this object couldn't be serialized!

-------
An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll

Additional information: The type System.Drawing.Pen in Assembly System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a is not marked as serializable.
--------

how could this object be serialzed?

also i got the same problem with System.Drawing.Brush!


thanx in advance!!

Khaleek Coool
AnswerRe: How to serialize System.Drawing.Pen and Brush objects? Pin
Andy Moore11-May-06 8:23
Andy Moore11-May-06 8:23 
GeneralRe: How to serialize System.Drawing.Pen and Brush objects? Pin
Sirinao11-May-06 11:07
Sirinao11-May-06 11:07 
AnswerRe: How to serialize System.Drawing.Pen and Brush objects? Pin
Robert Rohde11-May-06 10:33
Robert Rohde11-May-06 10:33 
QuestionConnect to remote Access DB Pin
Julie Wittwer11-May-06 7:45
Julie Wittwer11-May-06 7:45 
AnswerRe: Connect to remote Access DB Pin
NaNg1524111-May-06 7:54
NaNg1524111-May-06 7:54 
QuestionC# Screen Refresh Pin
tjschilling11-May-06 7:17
tjschilling11-May-06 7:17 
AnswerRe: C# Screen Refresh Pin
Ravi Bhavnani11-May-06 7:24
professionalRavi Bhavnani11-May-06 7:24 
QuestionMultithreaded splash form causing weird problems. Need help, code inlcuded. Pin
LongRange.Shooter11-May-06 6:44
LongRange.Shooter11-May-06 6:44 
AnswerRe: Multithreaded splash form causing weird problems. Need help, code inlcuded. Pin
Judah Gabriel Himango11-May-06 9:31
sponsorJudah Gabriel Himango11-May-06 9:31 
GeneralRe: Multithreaded splash form causing weird problems. Need help, code inlcuded. Pin
LongRange.Shooter13-May-06 5:13
LongRange.Shooter13-May-06 5:13 
GeneralRe: Multithreaded splash form causing weird problems. Need help, code inlcuded. Pin
Office Lineman12-May-06 23:03
Office Lineman12-May-06 23:03 
GeneralRe: Multithreaded splash form causing weird problems. Need help, code inlcuded. Pin
LongRange.Shooter13-May-06 5:14
LongRange.Shooter13-May-06 5:14 
QuestionDynamically load DLL class to the project Pin
Virtek11-May-06 6:37
Virtek11-May-06 6:37 
AnswerRe: Dynamically load DLL class to the project Pin
LongRange.Shooter11-May-06 6:49
LongRange.Shooter11-May-06 6:49 
GeneralRe: Dynamically load DLL class to the project Pin
Virtek11-May-06 8:00
Virtek11-May-06 8:00 
QuestionBinding a checkbox to a bool? Pin
iswoolley11-May-06 5:53
iswoolley11-May-06 5:53 
AnswerRe: Binding a checkbox to a bool? Pin
J4amieC11-May-06 6:03
J4amieC11-May-06 6:03 

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.