Click here to Skip to main content
15,916,683 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWindows hook help Pin
Member 296885118-May-06 5:10
Member 296885118-May-06 5:10 
AnswerRe: Windows hook help Pin
MohammadAmiry18-May-06 5:19
MohammadAmiry18-May-06 5:19 
QuestionWebbrowser control help Pin
Member 296885118-May-06 5:06
Member 296885118-May-06 5:06 
QuestionMAPI Pin
cj433118-May-06 5:03
cj433118-May-06 5:03 
AnswerRe: MAPI Pin
Dave Bacher18-May-06 7:41
Dave Bacher18-May-06 7:41 
GeneralRe: MAPI Pin
cj433118-May-06 8:04
cj433118-May-06 8:04 
GeneralRe: MAPI Pin
cj433118-May-06 8:24
cj433118-May-06 8:24 
GeneralRe: MAPI Pin
cj433119-May-06 4:56
cj433119-May-06 4:56 
Dave Bacher wrote:
The "default mail program" does not impact MAPI -- it is a user setting, while MAPI provider is, unfortunately, a system setting.


Apparently it does. I'd tried changing the default mail program using use Start/Settings/Control Panel/Internet Options many times and it didn't work. But after I used the "Set Program Access and Defaults" icon, located in the Start menu somewhere and in the "Add or Remove Programs" tool in Control Panel to set the default mail program to--as Outlook wasn't an option--Outlook Express things started working.

Now using Start/Settings/Control Panel/Internet Options I can change my "default mail program" and the mail program launched by my vb program via mapi changes as does the mail program launched by Send To/Mail recipient in windows explorer. I haven't been in "Set Program Access and Defaults" since. Just use Start/Settings/Control Panel/Internet Options. I've changed it from Outlook to Thunderbird and back several times w/o rebooting or even closing my application and whatever I select as my default mail program is the mail program that is started when I click the button to send mail in my program.

Why this works and why it wasn't I don't know but my experiences clearly show changing the default mail program in Start/Settings/Control Panel/Internet Options will change the mail program started by mapi (at least as it is used in my sub). Further my experiences strongly suggest that microsoft uses mapi the same way as I do in their windows explorer send to/mail recipient functionality.

Anyway, thanks for the help and I'm working good now.
QuestionApplication.Undo Method Pin
slw1234@sbcglobal.net18-May-06 4:28
slw1234@sbcglobal.net18-May-06 4:28 
Questionproble in landscape and portrait images in asp.net 1.1 Pin
amaneet18-May-06 3:00
amaneet18-May-06 3:00 
AnswerRe: proble in landscape and portrait images in asp.net 1.1 Pin
_AK_18-May-06 19:55
_AK_18-May-06 19:55 
Questionproblem Pin
amaneet18-May-06 2:50
amaneet18-May-06 2:50 
AnswerRe: problem Pin
Colin Angus Mackay18-May-06 4:32
Colin Angus Mackay18-May-06 4:32 
GeneralRe: problem Pin
amaneet18-May-06 20:05
amaneet18-May-06 20:05 
QuestionHow to embed the dll in my project? Pin
cylix200018-May-06 1:49
cylix200018-May-06 1:49 
Questionchange index colunm in datagrid at runtime Pin
vipinpaliwal198018-May-06 1:31
vipinpaliwal198018-May-06 1:31 
GeneralRe: change index colunm in datagrid at runtime Pin
_AK_18-May-06 2:05
_AK_18-May-06 2:05 
QuestionSimple Question about two forms Pin
cylix200018-May-06 1:18
cylix200018-May-06 1:18 
QuestionCombobox binded Pin
ADY00718-May-06 0:47
ADY00718-May-06 0:47 
AnswerRe: Combobox binded Pin
_AK_18-May-06 2:04
_AK_18-May-06 2:04 
GeneralRe: Combobox binded Pin
ADY00718-May-06 3:09
ADY00718-May-06 3:09 
GeneralRe: Combobox binded Pin
_AK_18-May-06 20:05
_AK_18-May-06 20:05 
QuestionSearch Google Pin
Dave McCool17-May-06 23:42
Dave McCool17-May-06 23:42 
AnswerRe: Search Google Pin
Christian Graus17-May-06 23:56
protectorChristian Graus17-May-06 23:56 
GeneralRe: Search Google Pin
Yuvi Panda17-May-06 23:58
Yuvi Panda17-May-06 23:58 

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.