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

Managed C++/CLI

 
AnswerRe: How to load/use COM dll written in VS6 from VC++ .NET 2005 Pin
amalhotr26-Aug-08 7:37
amalhotr26-Aug-08 7:37 
QuestionPlease Guide I Update Sql2000 in VC++6.0 !!! Pin
aa_zz24-Aug-08 18:18
aa_zz24-Aug-08 18:18 
QuestionMultiple forms but with MDIParent container [modified] Pin
C# Beginner Nick24-Aug-08 16:56
C# Beginner Nick24-Aug-08 16:56 
AnswerRe: Multiple forms but with MDIParent container Pin
LionAM28-Aug-08 0:36
LionAM28-Aug-08 0:36 
QuestionMultiple Forms Pin
Polar_Sheep23-Aug-08 3:58
Polar_Sheep23-Aug-08 3:58 
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 4:50
teejayem23-Aug-08 4:50 
QuestionRe: Multiple Forms Pin
Polar_Sheep23-Aug-08 10:48
Polar_Sheep23-Aug-08 10:48 
AnswerRe: Multiple Forms Pin
dybs23-Aug-08 11:40
dybs23-Aug-08 11:40 
You can create 2 separate forms just as teejayem suggested, but if you want them completely independent of each other (i.e. Form2 is not a child of Form1), then you need to modify your <project_name>.cpp file that opens your main form. This file contains your main loop, and probably has a line like

Application::Run(gcnew Form1());

You would need to change this to create your Form1 and Form2 objects, show them, and then start your application. You might need a DoEvents loop, but there might be a way around that.

Dybs
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 12:25
teejayem23-Aug-08 12:25 
QuestionRe: Multiple Forms Pin
Polar_Sheep23-Aug-08 18:13
Polar_Sheep23-Aug-08 18:13 
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 18:25
teejayem23-Aug-08 18:25 
NewsRe: Multiple Forms [modified] Pin
Polar_Sheep23-Aug-08 19:28
Polar_Sheep23-Aug-08 19:28 
QuestionOpenFileDialog example Pin
bkelly1322-Aug-08 14:03
bkelly1322-Aug-08 14:03 
AnswerRe: OpenFileDialog example Pin
teejayem22-Aug-08 15:43
teejayem22-Aug-08 15:43 
GeneralRe: OpenFileDialog example Pin
bkelly1323-Aug-08 3:15
bkelly1323-Aug-08 3:15 
GeneralRe: OpenFileDialog example Pin
teejayem23-Aug-08 4:49
teejayem23-Aug-08 4:49 
GeneralRe: OpenFileDialog example Pin
Mark Salsbery23-Aug-08 10:23
Mark Salsbery23-Aug-08 10:23 
GeneralRe: OpenFileDialog example Pin
bkelly1323-Aug-08 10:51
bkelly1323-Aug-08 10:51 
GeneralRe: OpenFileDialog example Pin
Mark Salsbery24-Aug-08 8:29
Mark Salsbery24-Aug-08 8:29 
GeneralRe: OpenFileDialog example Pin
bkelly1324-Aug-08 11:52
bkelly1324-Aug-08 11:52 
QuestionPlease Guide Connect Sqlserver with VC++6.0. thanks very much Pin
aa_zz21-Aug-08 21:06
aa_zz21-Aug-08 21:06 
AnswerRe: Please Guide Connect Sqlserver with VC++6.0. thanks very much Pin
Paul Conrad22-Aug-08 6:39
professionalPaul Conrad22-Aug-08 6:39 
AnswerRe: Please Guide Connect Sqlserver with VC++6.0. thanks very much Pin
Polar_Sheep24-Aug-08 3:05
Polar_Sheep24-Aug-08 3:05 
QuestionDo we need to download library to use strcpy_s() Pin
Nandu_77b21-Aug-08 0:05
Nandu_77b21-Aug-08 0:05 
AnswerRe: Do we need to download library to use strcpy_s() Pin
George L. Jackson21-Aug-08 13:37
George L. Jackson21-Aug-08 13:37 

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.