Click here to Skip to main content
15,913,310 members
Home / Discussions / C#
   

C#

 
AnswerRe: Undocumented DataColumn.SimpleType ??? Pin
Marc Clifton28-Jan-03 15:21
mvaMarc Clifton28-Jan-03 15:21 
General.NET Decompilers Pin
T Jenniges28-Jan-03 13:22
T Jenniges28-Jan-03 13:22 
GeneralRe: .NET Decompilers Pin
Chris Austin28-Jan-03 14:00
Chris Austin28-Jan-03 14:00 
QuestionWindows Form Question??? Pin
ethan28-Jan-03 10:32
ethan28-Jan-03 10:32 
AnswerRe: Windows Form Question??? Pin
leppie28-Jan-03 10:45
leppie28-Jan-03 10:45 
AnswerFixed Image Link Pin
ethan28-Jan-03 10:56
ethan28-Jan-03 10:56 
AnswerRe: Windows Form Question??? Pin
Chris Austin28-Jan-03 11:15
Chris Austin28-Jan-03 11:15 
AnswerRe: Windows Form Question??? Pin
Brian Nottingham28-Jan-03 12:18
Brian Nottingham28-Jan-03 12:18 
AnswerThanks -- Re: Windows Form Question??? Pin
ethan29-Jan-03 4:56
ethan29-Jan-03 4:56 
GeneralXSD, Datasets, and global elements Pin
Marc Clifton28-Jan-03 8:35
mvaMarc Clifton28-Jan-03 8:35 
GeneralRe: XSD, Datasets, and global elements Pin
leppie28-Jan-03 9:28
leppie28-Jan-03 9:28 
GeneralRe: XSD, Datasets, and global elements Pin
Marc Clifton28-Jan-03 10:01
mvaMarc Clifton28-Jan-03 10:01 
GeneralRe: XSD, Datasets, and global elements Pin
leppie28-Jan-03 10:41
leppie28-Jan-03 10:41 
GeneralRetrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 5:30
Mark Sanders28-Jan-03 5:30 
GeneralRe: Retrieve the Name of a Disk Drive Pin
thematt28-Jan-03 6:31
thematt28-Jan-03 6:31 
GeneralRe: Retrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 7:41
Mark Sanders28-Jan-03 7:41 
GeneralRe: Retrieve the Name of a Disk Drive Pin
thematt28-Jan-03 7:54
thematt28-Jan-03 7:54 
GeneralRe: Retrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 7:59
Mark Sanders28-Jan-03 7:59 
GeneralRe: Retrieve the Name of a Disk Drive Pin
fhsBlue28-Jan-03 10:53
fhsBlue28-Jan-03 10:53 
QuestionHow to get values stored in Scripting.Dictionary instance. Pin
Christian Merritt28-Jan-03 3:33
Christian Merritt28-Jan-03 3:33 
AnswerRe: How to get values stored in Scripting.Dictionary instance. Pin
Richard Deeming28-Jan-03 4:05
mveRichard Deeming28-Jan-03 4:05 
GeneralRe: How to get values stored in Scripting.Dictionary instance. Pin
Christian Merritt28-Jan-03 6:04
Christian Merritt28-Jan-03 6:04 
GeneralReflection not reflecting! Pin
FruitBatInShades28-Jan-03 2:57
FruitBatInShades28-Jan-03 2:57 
GeneralRe: Reflection not reflecting! Pin
Heath Stewart28-Jan-03 3:52
protectorHeath Stewart28-Jan-03 3:52 
No, Type.GetType() won't return a TextBox, it'll return a Type. That Type is defined in the System.Windows.Forms assembly. Since you didn't get an assembly reference, the class is assumed to be in your assembly, *not* your namespace. Namespaces can span assemblies and vice-versa.

If you need to get a Type from a string, you need to specify the fully qualified assembly info, like so:

C#
Type t = Type.GetType("System.Windows.Forms.TextBox, System.Windows.Forms, " +
"Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", true, true);


That'll tell the type loader to get that type out of the System.Windows.Forms assembly, no yours. If an assembly is in the GAC, you can just specify the fully qualified classname and the assembly. The type loader will use the latest version of that assembly. If an assembly is not in the GAC, you have to specify all type properties or use a publisher policy to to specify which version and from where the assembly comes.

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
GeneralRe: Reflection not reflecting! Pin
FruitBatInShades29-Jan-03 2:37
FruitBatInShades29-Jan-03 2:37 

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.