Click here to Skip to main content
15,887,430 members
Home / Discussions / C#
   

C#

 
GeneralRe: OwnerDraw TreeView: OnPaint(...) Pin
STW8-Mar-03 5:56
STW8-Mar-03 5:56 
GeneralReally annyone event fire order... Pin
Anonymous28-Feb-03 4:14
Anonymous28-Feb-03 4:14 
GeneralRe: Really annyone event fire order... Pin
Paul Riley28-Feb-03 4:22
Paul Riley28-Feb-03 4:22 
GeneralRe: Really annyone event fire order... Pin
James T. Johnson28-Feb-03 4:49
James T. Johnson28-Feb-03 4:49 
GeneralI'm look for a Treeview flicker free and owner draw Pin
STW28-Feb-03 4:12
STW28-Feb-03 4:12 
Questionis this one possible ? Pin
jtmtv1828-Feb-03 2:07
jtmtv1828-Feb-03 2:07 
AnswerRe: is this one possible ? Pin
leppie1-Mar-03 0:00
leppie1-Mar-03 0:00 
GeneralRe: is this one possible ? Pin
jtmtv181-Mar-03 10:58
jtmtv181-Mar-03 10:58 
well with this program i have all the exceptions that are caught pass to a class with a few atributes being required Expsample...
void Exception(Exception ex,string Title,bool Require close)l

well from the (Exception ex) i can derive the cause of the error into a string. from that string i can run a switch to show the correct error message(by pointing it to the class that deals with the exception).
the string for exsample will say System.NullRefrence exception. I then tell my error(form) to get its data from Say Exception.Message; ect. which works fine. I created my (costom) exceptions class Inheriting from System.Application ,Error, The problem is i couldnt change the Error.Message Property because it was read only. So when i try to get the message property to my costom Form it comes up as null. Basicly what im trying to say is if i can customize this property (Exception.Message, ect) it would solve the problem i have.

here the code i have that i use to inherite from.

<br />
	public class BadEncryptionDataException: ApplicationException<br />
		{<br />
		   public BadEncryptionDataException() : base()<br />
		   {<br />
		   	this.HelpLink="Mailto:Res1s5yd@verizon.net";<br />
		   }<br />
		   public BadEncryptionDataException(string message) : base(message)<br />
		   {<br />
		   }<br />
		   public BadEncryptionDataException(string message,Exception inner) :base(message,inner)<br />
		   {<br />
		   }<br />

//i clipped the end of it...cause it was to long...but thats the just of it.
Jesse M. How can i costomize the Message property ?

The Code Project Is Your Friend...
GeneralRe: is this one possible ? Pin
leppie1-Mar-03 11:23
leppie1-Mar-03 11:23 
GeneralRe: is this one possible ? Pin
jtmtv181-Mar-03 11:46
jtmtv181-Mar-03 11:46 
GeneralRe: is this one possible ? Pin
leppie1-Mar-03 21:36
leppie1-Mar-03 21:36 
GeneralRe: is this one possible ? Pin
jtmtv181-Mar-03 22:50
jtmtv181-Mar-03 22:50 
GeneralRe: is this one possible ? Pin
leppie1-Mar-03 23:16
leppie1-Mar-03 23:16 
GeneralRe: is this one possible ? Pin
jtmtv181-Mar-03 23:26
jtmtv181-Mar-03 23:26 
GeneralRe: is this one possible ? Pin
leppie1-Mar-03 23:30
leppie1-Mar-03 23:30 
GeneralRe: is this one possible ? Pin
jtmtv181-Mar-03 23:42
jtmtv181-Mar-03 23:42 
GeneralRe: is this one possible ? Pin
leppie2-Mar-03 2:43
leppie2-Mar-03 2:43 
GeneralRe: is this one possible ? Pin
jtmtv182-Mar-03 11:56
jtmtv182-Mar-03 11:56 
QuestionHow to get AppInfo/Documentation from an XML Schema via XmlDocument (DOM) in C#? Pin
Mirco J. Nimmrichter27-Feb-03 23:12
Mirco J. Nimmrichter27-Feb-03 23:12 
GeneralFind Printer List available... Pin
bania27-Feb-03 20:16
bania27-Feb-03 20:16 
GeneralRe: Find Printer List available... Pin
Stephane Rodriguez.28-Feb-03 20:39
Stephane Rodriguez.28-Feb-03 20:39 
GeneralThank You.. Pin
bania2-Mar-03 13:22
bania2-Mar-03 13:22 
GeneralRe: Thank You.. Pin
leppie3-Mar-03 6:28
leppie3-Mar-03 6:28 
GeneralFew Questions Pin
chito27-Feb-03 20:07
chito27-Feb-03 20:07 
GeneralRe: Few Questions Pin
Brian Olej28-Feb-03 9:45
Brian Olej28-Feb-03 9:45 

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.