Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: i want find a list of form of my application in code? Pin
combo_ci19-Apr-08 6:59
combo_ci19-Apr-08 6:59 
GeneralRe: i want find a list of form of my application in code? Pin
Luc Pattyn19-Apr-08 7:45
sitebuilderLuc Pattyn19-Apr-08 7:45 
AnswerRe: i want find a list of form of my application in code? Pin
darkelv19-Apr-08 7:45
darkelv19-Apr-08 7:45 
GeneralUsing Visio Drawing Control 2003 with System.Windows.Forms.RichTextBox Pin
Abisodun19-Apr-08 3:50
Abisodun19-Apr-08 3:50 
Generallambda expression or other default query attribute Pin
AndrusM19-Apr-08 3:17
AndrusM19-Apr-08 3:17 
GeneralRe: lambda expression or other default query attribute Pin
Guffa19-Apr-08 4:11
Guffa19-Apr-08 4:11 
GeneralRe: lambda expression or other default query attribute Pin
AndrusM19-Apr-08 11:02
AndrusM19-Apr-08 11:02 
GeneralRe: lambda expression or other default query attribute Pin
Roger Alsing19-Apr-08 11:43
Roger Alsing19-Apr-08 11:43 
There are two problems here:

1) Attributes can not be generic.

2) Even tho your expression can be resolved at completime, you can not use it in an attribute.
attributes are really picky about what you pass to them

for example, one might thing that something like [DefaultValue(Color.Red)] might be valid, since Red seems to be pretty constant... but it is not.

(My guess would be that even tho the structure of expression tree can be resolved at compiletime, the generic types that hold them are only available at runtime and this makes it an illegal value for attributes)

So you are out of luck on this one..


GeneralRe: lambda expression or other default query attribute Pin
Guffa19-Apr-08 13:45
Guffa19-Apr-08 13:45 
GeneralRe: lambda expression or other default query attribute Pin
Roger Alsing20-Apr-08 4:01
Roger Alsing20-Apr-08 4:01 
GeneralRe: lambda expression or other default query attribute Pin
Guffa20-Apr-08 11:05
Guffa20-Apr-08 11:05 
Generalimport a txt file into MSAccess database and later into SQL server database using C# Code Pin
new2pgrmg19-Apr-08 3:06
new2pgrmg19-Apr-08 3:06 
GeneralRe: import a txt file into MSAccess database and later into SQL server database using C# Code Pin
Spacix One19-Apr-08 4:31
Spacix One19-Apr-08 4:31 
GeneralIntPtr Pin
George_George19-Apr-08 2:20
George_George19-Apr-08 2:20 
GeneralRe: IntPtr Pin
Zoltan Balazs19-Apr-08 2:24
Zoltan Balazs19-Apr-08 2:24 
GeneralRe: IntPtr Pin
George_George19-Apr-08 2:31
George_George19-Apr-08 2:31 
GeneralRe: IntPtr Pin
Zoltan Balazs19-Apr-08 2:44
Zoltan Balazs19-Apr-08 2:44 
GeneralRe: IntPtr Pin
George_George19-Apr-08 2:49
George_George19-Apr-08 2:49 
GeneralRe: IntPtr Pin
Zoltan Balazs19-Apr-08 2:58
Zoltan Balazs19-Apr-08 2:58 
GeneralRe: IntPtr Pin
George_George19-Apr-08 3:11
George_George19-Apr-08 3:11 
GeneralRe: IntPtr Pin
Luc Pattyn19-Apr-08 7:48
sitebuilderLuc Pattyn19-Apr-08 7:48 
GeneralRe: IntPtr Pin
George_George19-Apr-08 21:09
George_George19-Apr-08 21:09 
Generalobject destroy Pin
George_George19-Apr-08 1:15
George_George19-Apr-08 1:15 
GeneralRe: object destroy Pin
Zoltan Balazs19-Apr-08 2:22
Zoltan Balazs19-Apr-08 2:22 
GeneralRe: object destroy Pin
Luc Pattyn19-Apr-08 2:46
sitebuilderLuc Pattyn19-Apr-08 2:46 

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.