
Originally Posted by
ovidiucucu
I have tested under Windows XP and both worked well.
However, anytime ShellExecute fails, you can see what's going wrong by taking a look at the error code (see
return value in the
ShellExecute function documentation.
Thanks for reply
Now i change something in code like this
Code:
ShellExecute( NULL, "open","iexplore.exe","http://www.abctest.com","iexplore.exe", SW_SHOW);
ShellExecute( NULL, "open","OUTLOOK.EXE","mailto:[email protected]","OUTLOOK.EXE",SW_SHOW);
Code is working on XP.So Expert can i use this code or not.
I want to know why this one is not working.
Code:
ShellExecute( NULL, "open","http://www.abctest.com",NULL, "", SW_SHOW);
Generally this code working fine.
Please help me.