Click here to Skip to main content
15,915,172 members
Home / Discussions / C#
   

C#

 
QuestionCan i copy or extract files from a resource file? Pin
Anthony Mushrow18-May-05 12:07
professionalAnthony Mushrow18-May-05 12:07 
AnswerRe: Can i copy or extract files from a resource file? Pin
Anonymous19-May-05 23:15
Anonymous19-May-05 23:15 
Generalc# program to find the version& language Pin
ziczaczoom200418-May-05 10:37
ziczaczoom200418-May-05 10:37 
GeneralRe: c# program to find the version& language Pin
DavidNohejl18-May-05 10:49
DavidNohejl18-May-05 10:49 
GeneralRe: c# program to find the version& language Pin
ziczaczoom200418-May-05 10:54
ziczaczoom200418-May-05 10:54 
GeneralRe: c# program to find the version& language Pin
DavidNohejl18-May-05 11:01
DavidNohejl18-May-05 11:01 
GeneralRe: c# program to find the version& language Pin
DavidNohejl18-May-05 11:18
DavidNohejl18-May-05 11:18 
QuestionPropertyGrid: creating custom type converters and run-time attribute changes? Pin
Blazej Stompel18-May-05 9:29
Blazej Stompel18-May-05 9:29 
First question - I've run into what appears to be a very odd behavior. I create a custom type converter based on ExpandableObjectConverter. Assign it to a class using the TypeConverter attribute. Nothing happens - the PropertyGrid displays the property disabled and extracting PropertyDescriptor for it I can see that the converter field is null. What is going on here ? Why was the custom converter not assigned? For a sanity check - if I set the converter to be the base ExpandableObjectConverter then it works fine and the converter is properly assigned.
All the classes are contained within one source file. Perhaps there is some order of instantiation problem going on?

Second question - how do I modify property attributes at run-time? For instance on certain occasions I would like to disable certain properties ( or, if possible - prevent them from being shown in the grid at all ). I can find PropertyDescriptors for each property but all the fields I'm interested in are read-only.

Thanks for any help!

Disclaimer: I'm farily new to C# so excuse my ignorance if the above questions are trivial or just plain dumb Smile | :)
GeneralSimple XML problem Pin
Snowjim18-May-05 8:24
Snowjim18-May-05 8:24 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 8:26
Snowjim18-May-05 8:26 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 11:37
Snowjim18-May-05 11:37 
GeneralRe: Simple XML problem Pin
Robert Rohde18-May-05 9:21
Robert Rohde18-May-05 9:21 
GeneralRe: Simple XML problem Pin
DavidNohejl18-May-05 10:22
DavidNohejl18-May-05 10:22 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 11:34
Snowjim18-May-05 11:34 
GeneralRe: Simple XML problem Pin
leppie18-May-05 9:40
leppie18-May-05 9:40 
GeneralRe: Simple XML problem Pin
DavidNohejl18-May-05 10:28
DavidNohejl18-May-05 10:28 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 11:26
Snowjim18-May-05 11:26 
GeneralRe: Simple XML problem Pin
DavidNohejl18-May-05 12:34
DavidNohejl18-May-05 12:34 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 12:44
Snowjim18-May-05 12:44 
GeneralRe: Simple XML problem Pin
DavidNohejl18-May-05 13:26
DavidNohejl18-May-05 13:26 
GeneralRe: Simple XML problem Pin
Snowjim18-May-05 13:31
Snowjim18-May-05 13:31 
GeneralReusing a local port when sending from a bound socket Pin
ghassett2218-May-05 7:28
ghassett2218-May-05 7:28 
QuestionC# 'static' variables on the web? Pin
LizardWiz18-May-05 7:05
LizardWiz18-May-05 7:05 
AnswerRe: C# 'static' variables on the web? Pin
S. Senthil Kumar18-May-05 7:24
S. Senthil Kumar18-May-05 7:24 
AnswerRe: C# 'static' variables on the web? Pin
S Sansanwal18-May-05 12:09
S Sansanwal18-May-05 12:09 

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.