Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAdd a mailuser with VC++ Pin
Sonu Kapoor20-Feb-03 1:01
Sonu Kapoor20-Feb-03 1:01 
GeneralRe: Add a mailuser with VC++ Pin
AlexO20-Feb-03 2:37
AlexO20-Feb-03 2:37 
GeneralRe: Add a mailuser with VC++ Pin
Sonu Kapoor20-Feb-03 3:42
Sonu Kapoor20-Feb-03 3:42 
GeneralRe: Add a mailuser with VC++ Pin
Sonu Kapoor20-Feb-03 21:56
Sonu Kapoor20-Feb-03 21:56 
GeneralCalling another program Pin
Kash20-Feb-03 0:51
Kash20-Feb-03 0:51 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 1:01
jhwurmbach20-Feb-03 1:01 
GeneralRe: Calling another program Pin
vikramlinux20-Feb-03 1:12
vikramlinux20-Feb-03 1:12 
GeneralRe: Calling another program Pin
Kash20-Feb-03 3:05
Kash20-Feb-03 3:05 
Just tried ShellExecute, which consequently is a pretty cool function.

I'm trying to run a program in a different directory to the one my MFC project is kept in.

I tried this:

ShellExecute(NULL,"open","d:\My Documents\Folder\ProgramA.exe",NULL,NULL,SW_SHOWNORMAL);

but it doesn't like the different folder.

kash
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 3:47
jhwurmbach20-Feb-03 3:47 
GeneralRe: Calling another program Pin
Kash20-Feb-03 4:03
Kash20-Feb-03 4:03 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 4:15
jhwurmbach20-Feb-03 4:15 
GeneralRe: Calling another program Pin
Kash20-Feb-03 5:36
Kash20-Feb-03 5:36 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 5:42
jhwurmbach20-Feb-03 5:42 
GeneralRe: Calling another program Pin
Kash20-Feb-03 6:45
Kash20-Feb-03 6:45 
GeneralRe: Calling another program Pin
jhwurmbach20-Feb-03 20:36
jhwurmbach20-Feb-03 20:36 
GeneralRe: Calling another program Pin
Kash20-Feb-03 22:24
Kash20-Feb-03 22:24 
GeneralBSTR to char * Pin
Anonymous20-Feb-03 0:47
Anonymous20-Feb-03 0:47 
GeneralRe: BSTR to char * Pin
vikramlinux20-Feb-03 0:57
vikramlinux20-Feb-03 0:57 
GeneralRe: BSTR to char * Pin
João Paulo Figueira20-Feb-03 1:24
professionalJoão Paulo Figueira20-Feb-03 1:24 
Generalhyperterminal part2 Pin
Sunnygirl20-Feb-03 0:32
Sunnygirl20-Feb-03 0:32 
GeneralRe: hyperterminal part2 Pin
Roger Allen20-Feb-03 1:03
Roger Allen20-Feb-03 1:03 
GeneralRe: hyperterminal part2 Pin
Sunnygirl20-Feb-03 1:21
Sunnygirl20-Feb-03 1:21 
GeneralRe: hyperterminal part2 Pin
Sunnygirl20-Feb-03 1:28
Sunnygirl20-Feb-03 1:28 
Generalretreive a date from a ADO database Pin
Willem B20-Feb-03 0:06
Willem B20-Feb-03 0:06 
GeneralRe: retreive a date from a ADO database Pin
Michael P Butler20-Feb-03 0:28
Michael P Butler20-Feb-03 0:28 

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.