Click here to Skip to main content
15,923,164 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dynamiclly naming variables Pin
Stefan Troschuetz9-Jul-04 1:07
Stefan Troschuetz9-Jul-04 1:07 
GeneralRe: Dynamiclly naming variables Pin
saud_a_k9-Jul-04 1:19
saud_a_k9-Jul-04 1:19 
GeneralRe: Dynamiclly naming variables Pin
Stefan Troschuetz9-Jul-04 1:43
Stefan Troschuetz9-Jul-04 1:43 
GeneralRe: Dynamiclly naming variables Pin
Heath Stewart9-Jul-04 3:08
protectorHeath Stewart9-Jul-04 3:08 
QuestionHow to compel the user Pin
sachinkalse8-Jul-04 16:16
sachinkalse8-Jul-04 16:16 
AnswerRe: How to compel the user Pin
Heath Stewart8-Jul-04 16:28
protectorHeath Stewart8-Jul-04 16:28 
GeneralRe: How to compel the user Pin
sachinkalse8-Jul-04 18:10
sachinkalse8-Jul-04 18:10 
GeneralRe: How to compel the user Pin
Ray Cassick8-Jul-04 19:31
Ray Cassick8-Jul-04 19:31 
I think this is best addressed two ways:

1) Document how the person shoudl USE the library. If they don't do this, then that things will not work.

2) Use intrnal flags in the library that for example will not let you call RTFEnd unless you have first called CreateRTFHeader. It makes sense that you should be tracking some type of state internally if you are requiring the user to call things in a specific order.

There are two key rules here:

1) Tell the user how to use your code.

2) Do NOT rely on them doing what they are told.


Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.


GeneralRe: How to compel the user Pin
sachinkalse8-Jul-04 20:16
sachinkalse8-Jul-04 20:16 
GeneralRe: How to compel the user Pin
Heath Stewart8-Jul-04 19:59
protectorHeath Stewart8-Jul-04 19:59 
GeneralRe: How to compel the user Pin
sachinkalse8-Jul-04 21:03
sachinkalse8-Jul-04 21:03 
GeneralRe: How to compel the user Pin
Heath Stewart9-Jul-04 2:57
protectorHeath Stewart9-Jul-04 2:57 
GeneralRe: How to compel the user Pin
sachinkalse11-Jul-04 22:10
sachinkalse11-Jul-04 22:10 
Generalprinting document using threads Pin
blankg8-Jul-04 14:15
blankg8-Jul-04 14:15 
GeneralChild Control Painting problem Pin
Jon_Slaughter8-Jul-04 13:16
Jon_Slaughter8-Jul-04 13:16 
GeneralRe: Child Control Painting problem Pin
Jon_Slaughter8-Jul-04 13:26
Jon_Slaughter8-Jul-04 13:26 
GeneralPostMessage Pin
kobybr8-Jul-04 11:38
kobybr8-Jul-04 11:38 
GeneralRe: PostMessage Pin
Serge Lobko-Lobanovsky9-Jul-04 3:44
Serge Lobko-Lobanovsky9-Jul-04 3:44 
GeneralRe: PostMessage Pin
kobybr9-Jul-04 8:56
kobybr9-Jul-04 8:56 
Questiondsoframer disables plugins?? Pin
Asad Hussain8-Jul-04 11:00
Asad Hussain8-Jul-04 11:00 
GeneralCopy from Excel and paste on DataGrid Pin
Ruchi Gupta8-Jul-04 10:54
Ruchi Gupta8-Jul-04 10:54 
GeneralRe: Copy from Excel and paste on DataGrid Pin
Nick Parker8-Jul-04 11:30
protectorNick Parker8-Jul-04 11:30 
GeneralRe: Copy from Excel and paste on DataGrid Pin
Heath Stewart8-Jul-04 12:10
protectorHeath Stewart8-Jul-04 12:10 
GeneralRepainting window. Pin
Nick Z.8-Jul-04 9:59
Nick Z.8-Jul-04 9:59 
GeneralRe: Repainting window. Pin
Heath Stewart8-Jul-04 11:24
protectorHeath Stewart8-Jul-04 11:24 

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.