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

Managed C++/CLI

 
AnswerRe: Multi Instance. Pin
prasad_som15-Dec-06 2:38
prasad_som15-Dec-06 2:38 
GeneralRe: Multi Instance. Pin
bsaksida15-Dec-06 4:48
bsaksida15-Dec-06 4:48 
QuestionHide Form Pin
mactick14-Dec-06 19:26
mactick14-Dec-06 19:26 
AnswerRe: Hide Form Pin
bsaksida14-Dec-06 19:56
bsaksida14-Dec-06 19:56 
GeneralRe: Hide Form Pin
mactick14-Dec-06 20:20
mactick14-Dec-06 20:20 
GeneralRe: Hide Form Pin
bsaksida14-Dec-06 20:26
bsaksida14-Dec-06 20:26 
GeneralRe: Hide Form Pin
mactick14-Dec-06 20:56
mactick14-Dec-06 20:56 
QuestionHow to access another forms members ?? Pin
Programm3r14-Dec-06 18:27
Programm3r14-Dec-06 18:27 
Hi all,

I have a form called: Form1 (Form1.h) and another form called: add_key_Value (add_key_Value.h)

Now I want to show the form add_key_Value:
So I include the header file add_key_Value.h in the Form1.h
And perform the following code:
add_Key_Value^ form2 = gcnew add_key_Value;
form2->Show();


Now in the add_key_value form I want to access the members of Form1:
So I include the header file Form1.h in the add_key_Value.h
And perform the following code: (ERRORS)
Form1^ mainform = gcnew Form1;
mainform->edtTextBox->Text = "Just testing";


Errors:
Error 3 error C2065: 'Form1' : undeclared identifier c:\documents and settings\qx55246\my documents\visual studio 2005\projects\cnfedtctrl\cnfedtctrl\add_key_Value.h 231
Error 4 error C2065: 'mainform' : undeclared identifier c:\documents and settings\qx55246\my documents\visual studio 2005\projects\cnfedtctrl\cnfedtctrl\add_key_Value.h 231
Error 6 error C2227: left of '->edtTextBox' must point to class/struct/union/generic type c:\documents and settings\qx55246\my documents\visual studio 2005\projects\cnfedtctrl\cnfedtctrl\add_key_Value.h 232
Can anyone please help ???

Many Thanx

The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

AnswerRe: How to access another forms members ?? Pin
User 58385214-Dec-06 19:03
User 58385214-Dec-06 19:03 
QuestionRe: How to access another forms members ?? Pin
Programm3r14-Dec-06 20:57
Programm3r14-Dec-06 20:57 
GeneralRe: How to access another forms members ?? Pin
bsaksida14-Dec-06 21:00
bsaksida14-Dec-06 21:00 
QuestionRe: How to access another forms members ?? Pin
Programm3r14-Dec-06 23:36
Programm3r14-Dec-06 23:36 
AnswerRe: How to access another forms members ?? Pin
bsaksida14-Dec-06 19:50
bsaksida14-Dec-06 19:50 
GeneralRe: How to access another forms members ?? Pin
Programm3r14-Dec-06 23:39
Programm3r14-Dec-06 23:39 
Question"CFile.Open" in Native MFC dll is not executed when managed C++ wrapper calls Pin
Kalanaz14-Dec-06 14:45
Kalanaz14-Dec-06 14:45 
QuestionAccessing a menu from a Console App ?? Pin
Fritzables14-Dec-06 11:21
Fritzables14-Dec-06 11:21 
AnswerRe: Accessing a menu from a Console App ?? Pin
User 58385214-Dec-06 11:48
User 58385214-Dec-06 11:48 
QuestionCalling a bridge from unmanaged dll Pin
Jose Viveiros14-Dec-06 7:13
Jose Viveiros14-Dec-06 7:13 
QuestionTabControl and Focus Pin
bsaksida14-Dec-06 2:49
bsaksida14-Dec-06 2:49 
AnswerRe: TabControl and Focus Pin
bsaksida14-Dec-06 8:25
bsaksida14-Dec-06 8:25 
QuestionRelease HWND and DC Pin
uusheikh13-Dec-06 22:30
uusheikh13-Dec-06 22:30 
AnswerRe: Release HWND and DC Pin
lafleon14-Dec-06 10:10
lafleon14-Dec-06 10:10 
AnswerRe: Release HWND and DC Pin
Mark Salsbery14-Dec-06 12:12
Mark Salsbery14-Dec-06 12:12 
GeneralRe: Release HWND and DC Pin
uusheikh14-Dec-06 21:05
uusheikh14-Dec-06 21:05 
Questionhow can i use DLL in managed code. Pin
Banks K13-Dec-06 21:15
Banks K13-Dec-06 21:15 

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.