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

Managed C++/CLI

 
GeneralRe: Is there a way to print a String using mc++ Pin
Christian Graus8-May-05 14:14
protectorChristian Graus8-May-05 14:14 
GeneralC++ Problem Pin
Dohan CRPathirana4-May-05 21:38
sussDohan CRPathirana4-May-05 21:38 
GeneralRe: C++ Problem Pin
ushani5-May-05 18:24
ushani5-May-05 18:24 
GeneralInterop::Excel Pin
Delver4-May-05 9:24
Delver4-May-05 9:24 
GeneralCalling an excutable from C++ Pin
HTisGood1-May-05 0:02
sussHTisGood1-May-05 0:02 
GeneralProcess Pin
ursus zeta1-May-05 10:50
ursus zeta1-May-05 10:50 
QuestionHow Do you pass a variable between forms? Pin
Lagwagon5629-Apr-05 7:03
Lagwagon5629-Apr-05 7:03 
AnswerRe: How Do you pass a variable between forms? Pin
Christian Graus1-May-05 11:24
protectorChristian Graus1-May-05 11:24 
Lagwagon56 wrote:
I tried setting the variable as public but it did not seem to help. Any suggestions?

I'd guess you set the text boxes to be public ? This is a bad idea for a number of reasons to do with good design, but the core issue is that once your form is closed, those text boxes no longer exist. You need to override the OnClose method, so that before the form closes, the text you want to retrieve is copied to some string variables, and then expose some get methods to return those strings after the form is closed.

BTW, this is the managed C++ forum, a question like this is better in the C++ forum, even if you use MC++ ( because it's not related to managed extensions ).


Christian Graus - Microsoft MVP - C++
GeneralRe: How Do you pass a variable between forms? Pin
Lagwagon565-May-05 7:24
Lagwagon565-May-05 7:24 
Generalcode for controling web came Pin
Randil28-Apr-05 20:09
Randil28-Apr-05 20:09 
QuestionUsing PlaySound() in VC++ .net managed? Pin
ScottLeff26-Apr-05 12:23
ScottLeff26-Apr-05 12:23 
AnswerReally Dumb Suggestion Pin
ursus zeta28-Apr-05 11:11
ursus zeta28-Apr-05 11:11 
GeneralRe: Really Dumb Suggestion Pin
ScottLeff28-Apr-05 16:35
ScottLeff28-Apr-05 16:35 
GeneralSo Damn Easy Pin
ursus zeta30-Apr-05 9:19
ursus zeta30-Apr-05 9:19 
GeneralRe: So Damn Easy Pin
ScottLeff1-May-05 12:00
ScottLeff1-May-05 12:00 
Generalsorry Pin
ursus zeta4-May-05 9:22
ursus zeta4-May-05 9:22 
GeneralPointer to managed object <undefined> off timer thread Pin
Anonymous26-Apr-05 10:23
Anonymous26-Apr-05 10:23 
GeneralRe: Pointer to managed object <undefined> off timer thread Pin
Anonymous26-Apr-05 16:59
Anonymous26-Apr-05 16:59 
Questiongarbage collection fails? Pin
cchere23-Apr-05 13:04
cchere23-Apr-05 13:04 
GeneralBaseClass Interaction Problem Pin
classsystem23-Apr-05 5:21
sussclasssystem23-Apr-05 5:21 
GeneralRe: BaseClass Interaction Problem Pin
toxcct26-Apr-05 0:40
toxcct26-Apr-05 0:40 
GeneralRe: BaseClass Interaction Problem Pin
classsystem1-May-05 5:29
sussclasssystem1-May-05 5:29 
GeneralRe: BaseClass Interaction Problem Pin
toxcct1-May-05 19:59
toxcct1-May-05 19:59 
GeneralRe: BaseClass Interaction Problem Pin
classsystem2-May-05 15:56
sussclasssystem2-May-05 15:56 
GeneralRadioButtons and Groups Pin
Yaron Abershitz19-Apr-05 2:45
Yaron Abershitz19-Apr-05 2:45 

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.