Link to home
Start Free TrialLog in
Avatar of ppmb
ppmb

asked on

Activate the default email program

How can I activate the default email program from VB?? Can I do the same for words, excel, access, etc. ??
Avatar of James_stillman
James_stillman

Shell "start mailto:" & EmailAddress
ASKER CERTIFIED SOLUTION
Avatar of James_stillman
James_stillman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OOpps for forgot excel.

shell "start excel"  & filename

I'm sure U can see a pattern emerging here.........

Right sorry for all of these different posts but.

This shell "start" & programName & filename only works if the item has a shortcut (I think). If the straight shell start does not work you can simply

Shell "ProgramsEXEPathAndFilename"

Oh and remeber to put a space in between the program name and the filename.

Hope this helps.

James :-)
Avatar of ppmb

ASKER

I think I posted the question for only less than 20 mins and you have answered it!