Click here to Skip to main content
15,907,225 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionAttach DLL to Program Pin
DemonPT24-Sep-08 14:03
DemonPT24-Sep-08 14:03 
QuestionUnmanaged string to managed string Pin
N a v a n e e t h23-Sep-08 17:08
N a v a n e e t h23-Sep-08 17:08 
AnswerRe: Unmanaged string to managed string Pin
George L. Jackson23-Sep-08 17:33
George L. Jackson23-Sep-08 17:33 
Question.net runtime eror Pin
balu1234522-Sep-08 9:18
balu1234522-Sep-08 9:18 
AnswerCross Post Pin
led mike23-Sep-08 4:45
led mike23-Sep-08 4:45 
QuestionCalling Windows.Form from MFC with /cli [modified] Pin
ToSchi9819-Sep-08 1:43
ToSchi9819-Sep-08 1:43 
AnswerRe: Calling Windows.Form from MFC with /cli Pin
Mark Salsbery19-Sep-08 6:58
Mark Salsbery19-Sep-08 6:58 
GeneralRe: Calling Windows.Form from MFC with /cli Pin
ToSchi9819-Sep-08 8:58
ToSchi9819-Sep-08 8:58 
Hiho and thanks for the help,
Yes you are right i try to describe my problem a little bit more precisely. I think the code will make it easier to understand. I do not have to host a UserControl i think so. I only want to Show a normal Windows.Forms.Form from a C# Sharp Assembly which is referenced in the MFC CLI application to use a Microsoft ReportViewer, reporting some stuff from the Application. Is this possible in general that way or will i have to host this form too ?

Greetings Torben

//MFC Application with CLI enabled
namespace::Formstarter ^CSharpForm = gcnew namespace::Formstarter();
CSharpForm-> SomeFormMethod();

//C# Assembly
public class Formstarter
{
public Formstarter()
{
FormToStart Started = new FormToStart()
Started.show();
}
}
//Class Form
public partial class FormToStart : Form
{
public SpliceReporter()
{
InitializeComponent();
}

//Not in the partial class
public SomeFormMethod()
{
//Do something
}
}
GeneralRe: Calling Windows.Form from MFC with /cli Pin
Mark Salsbery19-Sep-08 10:44
Mark Salsbery19-Sep-08 10:44 
GeneralRe: Calling Windows.Form from MFC with /cli Pin
ToSchi9822-Sep-08 3:18
ToSchi9822-Sep-08 3:18 
GeneralRe: Calling Windows.Form from MFC with /cli Pin
Mark Salsbery22-Sep-08 4:50
Mark Salsbery22-Sep-08 4:50 
GeneralRe: Calling Windows.Form from MFC with /cli [modified] Pin
ToSchi9824-Sep-08 3:27
ToSchi9824-Sep-08 3:27 
QuestionRe: Calling Windows.Form from MFC with /cli Pin
Mark Salsbery24-Sep-08 5:55
Mark Salsbery24-Sep-08 5:55 
GeneralRe: Calling Windows.Form from MFC with /cli Pin
Mark Salsbery24-Sep-08 6:21
Mark Salsbery24-Sep-08 6:21 
GeneralRe: Calling Windows.Form from MFC with /cli Pin
ToSchi9824-Sep-08 20:56
ToSchi9824-Sep-08 20:56 
QuestionHow to create C# Control for any language Pin
Andy Rama17-Sep-08 23:16
Andy Rama17-Sep-08 23:16 
AnswerRe: How to create C# Control for any language Pin
Mark Salsbery18-Sep-08 4:14
Mark Salsbery18-Sep-08 4:14 
GeneralRe: How to create C# Control for any language Pin
Andy Rama18-Sep-08 21:18
Andy Rama18-Sep-08 21:18 
GeneralRe: How to create C# Control for any language Pin
Mark Salsbery19-Sep-08 5:41
Mark Salsbery19-Sep-08 5:41 
QuestionRe: How to create C# Control for any language Pin
Andy Rama22-Sep-08 20:04
Andy Rama22-Sep-08 20:04 
AnswerRe: How to create C# Control for any language Pin
Andy Rama22-Sep-08 23:32
Andy Rama22-Sep-08 23:32 
GeneralRe: How to create C# Control for any language Pin
Mark Salsbery23-Sep-08 5:22
Mark Salsbery23-Sep-08 5:22 
GeneralRe: How to create C# Control for any language Pin
Andy Rama23-Sep-08 19:22
Andy Rama23-Sep-08 19:22 
GeneralRe: How to create C# Control for any language Pin
Mark Salsbery24-Sep-08 4:45
Mark Salsbery24-Sep-08 4:45 
AnswerRe: How to create C# Control for any language Pin
Paul Conrad18-Sep-08 6:50
professionalPaul Conrad18-Sep-08 6:50 

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.