How can I open default mail client from my app in VC?
-
pls ============== www.design.kg
-
pls ============== www.design.kg
use this
ShellExecute(this->m_hWnd,"open","mailto:","","",SW_SHOW);
Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
use this
ShellExecute(this->m_hWnd,"open","mailto:","","",SW_SHOW);
Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic? ============== www.design.kg
-
? ============== www.design.kg
you need to open the following registry key HKEY_CLASSES_ROOT\mailto\shell\open\command Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
you need to open the following registry key HKEY_CLASSES_ROOT\mailto\shell\open\command Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
(1) open the key HKEY_CLASSES_ROOT\mailto\shell\open\command (2) read it default value. I got this when I did that here "%ProgramFiles%\Outlook Express\msimn.exe" /mailurl:%1 (3) you need to replace %ProgramFiles% with the actual path for that use SHGetSpecialFolderLocation and SHGetSpecialFolderPath [you'll find samples in CP] (4) forget the /mailurl:%1 part (5) shellexecute the rest of it :-) Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic -
(1) open the key HKEY_CLASSES_ROOT\mailto\shell\open\command (2) read it default value. I got this when I did that here "%ProgramFiles%\Outlook Express\msimn.exe" /mailurl:%1 (3) you need to replace %ProgramFiles% with the actual path for that use SHGetSpecialFolderLocation and SHGetSpecialFolderPath [you'll find samples in CP] (4) forget the /mailurl:%1 part (5) shellexecute the rest of it :-) Nish Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran IvanisevicHello, the codegurus around the world.;) :-D Have a nice day!
-Masaaki Onishi-