Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
GeneralRe: Resize dynamically and set new string Pin
J4amieC15-Feb-08 2:06
J4amieC15-Feb-08 2:06 
AnswerHe definitely deserves the 5 :-) Pin
Mircea Puiu15-Feb-08 2:18
Mircea Puiu15-Feb-08 2:18 
GeneralRe: array Pin
Guffa15-Feb-08 0:58
Guffa15-Feb-08 0:58 
GeneralRe: array Pin
Luc Pattyn15-Feb-08 5:45
sitebuilderLuc Pattyn15-Feb-08 5:45 
QuestionVLC Pin
Aparna.B15-Feb-08 0:20
Aparna.B15-Feb-08 0:20 
GeneralRe: VLC Pin
Pete O'Hanlon15-Feb-08 1:18
mvePete O'Hanlon15-Feb-08 1:18 
QuestionSystem.Windows.Forms.Control Vs System.Windows.Controls Pin
kaminem15-Feb-08 0:14
kaminem15-Feb-08 0:14 
GeneralRe: System.Windows.Forms.Control Vs System.Windows.Controls [modified] Pin
Dave Kreskowiak15-Feb-08 4:44
mveDave Kreskowiak15-Feb-08 4:44 
lkort wrote:
is there a way to cast a System.Windows.Controls.UserControl (.Net 3) to a System.Windows.Forms.Control (.Net2) ?


No, there isn't. You cannot use a .NET 3.0 component in a .NET 2.0 app. You cannot load two different versions of the .NET CLR runtime into the same process.

Also, .NET 2.0 does not support WPF, so you can't do this at all.

You can do the opposite though. You can load a component that was developed under .NET 2.0 in a .NET 3.0 runtime app.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




modified on Friday, February 15, 2008 10:52 AM

QuestionHow to perform Undo for Form Controls in C#? Pin
nilam247715-Feb-08 0:01
nilam247715-Feb-08 0:01 
GeneralRe: How to perform Undo for Form Controls in C#? Pin
Giorgi Dalakishvili15-Feb-08 0:34
mentorGiorgi Dalakishvili15-Feb-08 0:34 
GeneralForms Issue Pin
Harvey Saayman14-Feb-08 23:43
Harvey Saayman14-Feb-08 23:43 
GeneralRe: Forms Issue [modified] Pin
Martin#14-Feb-08 23:57
Martin#14-Feb-08 23:57 
GeneralRe: Forms Issue Pin
Harvey Saayman15-Feb-08 0:16
Harvey Saayman15-Feb-08 0:16 
GeneralRe: Forms Issue Pin
Martin#15-Feb-08 0:35
Martin#15-Feb-08 0:35 
GeneralDialog Issue Pin
Harvey Saayman15-Feb-08 0:38
Harvey Saayman15-Feb-08 0:38 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 0:46
Martin#15-Feb-08 0:46 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 0:52
Harvey Saayman15-Feb-08 0:52 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 0:55
Martin#15-Feb-08 0:55 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:04
Harvey Saayman15-Feb-08 1:04 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:09
Martin#15-Feb-08 1:09 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:11
Harvey Saayman15-Feb-08 1:11 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:26
Martin#15-Feb-08 1:26 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:25
Harvey Saayman15-Feb-08 1:25 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:33
Martin#15-Feb-08 1:33 
QuestionConverting FontSize into float-value Pin
Brutus14-Feb-08 23:00
Brutus14-Feb-08 23:00 

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.