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

Managed C++/CLI

 
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 
G'Day to all,

I am in the process of creating a console application using Visual C++ 2005. This application will start NOTEPAD.EXE then will need to simulate keyboard strokes to access the menu options.

I have been able to create the process and run NOTEPAD from my console app but unsure how I now access the menu options.

I have started the process by:

Process^ p = gcnew Process();
p->StartInfo->FileName = "NOTEPAD.EXE";
p->StartInfo->UseShellExecute = true;
p->Start();

I would now assume I would have to use the following namespace:

using namespace System::Windows::Forms;


But come compile time the above namespace is rejected: error C3083: 'Windows': the symbol to the left of a '::' must be a type



Am I on the right track here or is there a better way to achieve what I am trying to do to access an applications menus ?



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 
AnswerRe: how can i use DLL in managed code. Pin
lafleon14-Dec-06 10:14
lafleon14-Dec-06 10:14 
QuestionNewing a Arraylist Pin
fairose13-Dec-06 18:34
fairose13-Dec-06 18:34 
AnswerRe: Newing a Arraylist Pin
User 58385213-Dec-06 19:15
User 58385213-Dec-06 19:15 
GeneralRe: Newing a Arraylist Pin
fairose13-Dec-06 19:33
fairose13-Dec-06 19:33 
AnswerPosting Police [modified] Pin
toxcct14-Dec-06 1:41
toxcct14-Dec-06 1:41 
QuestionSendMessage Pin
abhiramsss13-Dec-06 11:02
abhiramsss13-Dec-06 11:02 
AnswerRe: SendMessage Pin
led mike13-Dec-06 11:08
led mike13-Dec-06 11:08 
QuestionRegarding parameter by reference in copy constructor Pin
Karismatic12-Dec-06 19:56
Karismatic12-Dec-06 19:56 

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.