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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.