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

Managed C++/CLI

 
AnswerRe: Stop Closing the main Dialog when a child Dailog is open? Pin
Christian Graus12-Jun-07 11:30
protectorChristian Graus12-Jun-07 11:30 
Questionwindows schedular is not working Pin
srinivassam11-Jun-07 20:43
srinivassam11-Jun-07 20:43 
AnswerRe: windows schedular is not working Pin
Christian Graus11-Jun-07 21:16
protectorChristian Graus11-Jun-07 21:16 
Questionmain form instance name Pin
aaron_leese11-Jun-07 19:45
aaron_leese11-Jun-07 19:45 
AnswerRe: main form instance name Pin
led mike12-Jun-07 4:28
led mike12-Jun-07 4:28 
GeneralRe: main form instance name Pin
aaron_leese12-Jun-07 15:10
aaron_leese12-Jun-07 15:10 
GeneralRe: main form instance name Pin
led mike13-Jun-07 7:02
led mike13-Jun-07 7:02 
AnswerRe: main form instance name Pin
Mark Salsbery13-Jun-07 7:57
Mark Salsbery13-Jun-07 7:57 
aaron_leese wrote:
int main(array ^args)
{

Application::Run(gcnew Form1());

Form1::textBox1->Text = "some text";

}
...........................................

This doesn't work of course, because I am referencing the header class itself, and not the form instance .... but what is the form instance ????


Hmm...seems to me this also doesn't work because Run() doesn't return until you exit the app by
closing the form.

Form1^ myForm = gcnew Form1; would work but it makes no sense to access controls in the form
before it's created.

Do you have a better example of what you're trying to do?


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: main form instance name Pin
aaron_leese13-Jun-07 18:41
aaron_leese13-Jun-07 18:41 
QuestionRetrieve FileVersion of an exe Pin
IamPoojaa11-Jun-07 1:45
IamPoojaa11-Jun-07 1:45 
AnswerRe: Retrieve FileVersion of an exe Pin
Mark Salsbery11-Jun-07 7:55
Mark Salsbery11-Jun-07 7:55 
Questionstill reflecting / major problem Pin
Xeef10-Jun-07 5:16
Xeef10-Jun-07 5:16 
Questionadding char arrays together for one function arg Pin
NZSmartie9-Jun-07 17:54
NZSmartie9-Jun-07 17:54 
QuestionReflection how to cast to loaded type Pin
Xeef9-Jun-07 10:07
Xeef9-Jun-07 10:07 
AnswerRe: Reflection how to cast to loaded type Pin
sarah_malik9-Jun-07 12:03
sarah_malik9-Jun-07 12:03 
GeneralRe: Reflection how to cast to loaded type Pin
Xeef9-Jun-07 13:10
Xeef9-Jun-07 13:10 
QuestionC++ dll problem Pin
sujithkumarsl8-Jun-07 0:11
sujithkumarsl8-Jun-07 0:11 
AnswerRe: C++ dll problem Pin
Mark Salsbery8-Jun-07 4:41
Mark Salsbery8-Jun-07 4:41 
QuestionBest way to learn C++ Pin
Brad Fackrell7-Jun-07 7:46
Brad Fackrell7-Jun-07 7:46 
AnswerRe: Best way to learn C++ Pin
Christian Graus7-Jun-07 12:32
protectorChristian Graus7-Jun-07 12:32 
GeneralRe: Best way to learn C++ Pin
Brad Fackrell8-Jun-07 3:03
Brad Fackrell8-Jun-07 3:03 
QuestionLinker Error LNK2001 Pin
Tal S.6-Jun-07 22:29
Tal S.6-Jun-07 22:29 
QuestionRe: Linker Error LNK2001 Pin
Mark Salsbery7-Jun-07 5:25
Mark Salsbery7-Jun-07 5:25 
AnswerRe: Linker Error LNK2001 Pin
Tal S.10-Jun-07 22:15
Tal S.10-Jun-07 22:15 
GeneralRe: Linker Error LNK2001 Pin
Mark Salsbery11-Jun-07 6:18
Mark Salsbery11-Jun-07 6:18 

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.