Print Page | Close Window

Viewing non-CAB winform to a CAB Shell Application

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=437
Printed Date: 16-Apr-2026 at 3:51pm


Topic: Viewing non-CAB winform to a CAB Shell Application
Posted By: mykel
Subject: Viewing non-CAB winform to a CAB Shell Application
Date Posted: 18-Sep-2007 at 11:33pm
Hello,
 
Is it possible to view a non-CAB winform inside a Shell Form/MainWorkspace or as a child dialog form? Can you also provide a code snippet on how this will be done if possible?
 
Thanks a lot!



Replies:
Posted By: Bill Jensen
Date Posted: 19-Sep-2007 at 12:15pm
You are free to use non-CAB methods [such as creating a form and calling ShowDialog()] at any time.
 
If you're going to the trouble to learn and use the CAB architecture, why would you want to do this?
 
Bill J.


Posted By: mykel
Date Posted: 19-Sep-2007 at 6:34pm

Thanks! Its because we are implementing both CAB and non-CAB winforms in our application. we would also want to reuse some of our old forms which is non-CAB, and call it inside the SHell.




Print Page | Close Window