J
José Teixeira Junior
Hi,
How i can add one new unknown control at runtime in my form1?
Thaks.
How i can add one new unknown control at runtime in my form1?
Thaks.
* "José Teixeira Junior said:How i can add one new unknown control at runtime in my form1?
Return DirectCast (Activator.CreateInstance (oType), Control)
* "Fergus Cooney said:Multipost? - did I miss the other one?
* "Fergus Cooney said:I hate that.
* "Fergus Cooney said:What I was wondering is .. what difference is there with <objects>. Why
would DirectCast look suspicious to you where CType wouldn't, when casting a
potential Control? And what extra could CType do that DirectCast can't.