Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Sir,can you help me Pin
Branislav19-Sep-05 22:50
Branislav19-Sep-05 22:50 
GeneralRe: Sir,can you help me Pin
momer20-Sep-05 3:11
momer20-Sep-05 3:11 
GeneralRe: Sir,can you help me Pin
Branislav20-Sep-05 4:19
Branislav20-Sep-05 4:19 
GeneralRe: Sir,can you help me Pin
momer20-Sep-05 15:24
momer20-Sep-05 15:24 
QuestionAccessing Error-Checking of local hard drives in XP (in c++ code) Pin
jai200219-Sep-05 19:59
jai200219-Sep-05 19:59 
AnswerRe: Accessing Error-Checking of local hard drives in XP (in c++ code) Pin
Branislav20-Sep-05 1:00
Branislav20-Sep-05 1:00 
GeneralRe: Accessing Error-Checking of local hard drives in XP (in c++ code) Pin
jai200220-Sep-05 13:53
jai200220-Sep-05 13:53 
Questionopening default mail client Pin
rohit.dhamija19-Sep-05 19:02
rohit.dhamija19-Sep-05 19:02 
Hi,
I am invoking my mail client using following piece of code. The code opens the mail client having a subject and a file attached with it.

Note: Following piece of code is written in java, i hope the same follows for vc also.


String strLicensePath = "c:\\rohit.txt";

try {
Runtime.getRuntime().exec(
new String[] {"rundll32", "url.dll,FileProtocolHandler",
"mailto:" + "&subject=" + "TEST_STRING" +
"&attachment=" + "\""+ strLicensePath + "\""}
);
}
catch (Exception ex) {
ex.printStackTrace();
}


The above code works fine on my machine having "Microsoft Outlook 2000 SP-3" installed. But gives following error on machine having
Microsoft Outlook 2002 installed:

"The command line argument is not valid. Verify the switch you are using."
Also, the problem is coming in some of other machines also.

Am I using wrong switches, i.e. arguments??

Or is there any alternative way to achieve the same. Please comment.

Questionhttp mime part Pin
ppp00119-Sep-05 17:36
ppp00119-Sep-05 17:36 
AnswerRe: http mime part Pin
Jose Lamas Rios19-Sep-05 18:11
Jose Lamas Rios19-Sep-05 18:11 
QuestionPublic/private keys w/CryptoAPI Pin
Michael Dunn19-Sep-05 16:17
sitebuilderMichael Dunn19-Sep-05 16:17 
AnswerRe: Public/private keys w/CryptoAPI Pin
oustar19-Sep-05 21:00
oustar19-Sep-05 21:00 
GeneralRe: Public/private keys w/CryptoAPI Pin
Michael Dunn20-Sep-05 5:53
sitebuilderMichael Dunn20-Sep-05 5:53 
AnswerRe: Public/private keys w/CryptoAPI Pin
Michael Dunn20-Sep-05 7:19
sitebuilderMichael Dunn20-Sep-05 7:19 
Questionint to CString Pin
benjnp19-Sep-05 15:44
benjnp19-Sep-05 15:44 
AnswerRe: int to CString Pin
Michael Dunn19-Sep-05 15:56
sitebuilderMichael Dunn19-Sep-05 15:56 
AnswerRe: int to CString Pin
kakan19-Sep-05 18:58
professionalkakan19-Sep-05 18:58 
QuestionDeviceIoControl() returns zero Pin
momer19-Sep-05 15:44
momer19-Sep-05 15:44 
QuestionMultithread Pin
benjnp19-Sep-05 14:02
benjnp19-Sep-05 14:02 
AnswerRe: Multithread Pin
User 58385219-Sep-05 14:23
User 58385219-Sep-05 14:23 
GeneralRe: Multithread Pin
benjnp19-Sep-05 14:34
benjnp19-Sep-05 14:34 
GeneralRe: Multithread Pin
User 58385219-Sep-05 14:38
User 58385219-Sep-05 14:38 
AnswerRe: Multithread Pin
benjnp19-Sep-05 14:41
benjnp19-Sep-05 14:41 
GeneralRe: Multithread Pin
Cedric Moonen19-Sep-05 20:12
Cedric Moonen19-Sep-05 20:12 
AnswerRe: Multithread Pin
RichardS19-Sep-05 14:53
RichardS19-Sep-05 14:53 

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.