Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
QuestionEditable Grid Pin
ProffK3-Jan-06 0:04
ProffK3-Jan-06 0:04 
AnswerRe: Editable Grid Pin
albCode3-Jan-06 0:15
albCode3-Jan-06 0:15 
GeneralRe: Editable Grid Pin
ProffK3-Jan-06 0:30
ProffK3-Jan-06 0:30 
GeneralRe: Editable Grid Pin
joe carbone3-Jan-06 3:56
joe carbone3-Jan-06 3:56 
QuestionDisabling compiler error? Pin
joachimj2-Jan-06 23:31
joachimj2-Jan-06 23:31 
AnswerRe: Disabling compiler error? Pin
mav.northwind3-Jan-06 0:19
mav.northwind3-Jan-06 0:19 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 1:38
joachimj3-Jan-06 1:38 
AnswerRe: Disabling compiler error? Pin
Colin Angus Mackay3-Jan-06 2:12
Colin Angus Mackay3-Jan-06 2:12 
joachimF wrote:
Is it at all possible to kill the error 'Not all code paths return a value'?


No.


joachimF wrote:
I have several classes that need to throw exceptions when some methods are called or the user tries to set some properties


The compiler is intelligent enough to realise this. There must be some other particular path through the method that is not returning a value or throwing an exception.

joachimF wrote:
I tried using #pragma, but it seems the compiler thinks this is a real error, and says '161' is an invalid warning number


That is correct. This is a real error. The code cannot compile while it exists.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 2:58
joachimj3-Jan-06 2:58 
GeneralRe: Disabling compiler error? Pin
Colin Angus Mackay3-Jan-06 3:11
Colin Angus Mackay3-Jan-06 3:11 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 3:14
joachimj3-Jan-06 3:14 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 4:06
J4amieC3-Jan-06 4:06 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 4:21
joachimj3-Jan-06 4:21 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 5:18
J4amieC3-Jan-06 5:18 
Questionculture info Pin
PrakashBhaskar2-Jan-06 23:19
PrakashBhaskar2-Jan-06 23:19 
AnswerRe: culture info Pin
S. Akif Kamal3-Jan-06 1:15
S. Akif Kamal3-Jan-06 1:15 
AnswerRe: culture info Pin
Colin Angus Mackay3-Jan-06 2:15
Colin Angus Mackay3-Jan-06 2:15 
GeneralRe: culture info Pin
PrakashBhaskar3-Jan-06 2:19
PrakashBhaskar3-Jan-06 2:19 
QuestionMy app won't run: "unverifiable assembly" Pin
navvara the infantryman2-Jan-06 22:15
navvara the infantryman2-Jan-06 22:15 
AnswerRe: My app won't run: "unverifiable assembly" Pin
mav.northwind3-Jan-06 0:11
mav.northwind3-Jan-06 0:11 
GeneralRe: My app won't run: "unverifiable assembly" Pin
navvara the infantryman3-Jan-06 1:35
navvara the infantryman3-Jan-06 1:35 
GeneralRe: My app won't run: "unverifiable assembly" Pin
J4amieC3-Jan-06 1:43
J4amieC3-Jan-06 1:43 
GeneralRe: My app won't run: "unverifiable assembly" Pin
navvara the infantryman3-Jan-06 1:55
navvara the infantryman3-Jan-06 1:55 
GeneralRe: My app won't run: "unverifiable assembly" Pin
J4amieC3-Jan-06 4:07
J4amieC3-Jan-06 4:07 
AnswerRe: My app won't run: "unverifiable assembly" Pin
leppie3-Jan-06 6:57
leppie3-Jan-06 6:57 

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.