Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,568 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,910 people online right now. Registration is fast and FREE... Join Now!




calling outlook express

 
Reply to this topicStart new topic

calling outlook express

rockape
4 Apr, 2008 - 03:07 AM
Post #1

New D.I.C Head
*

Joined: 4 Apr, 2008
Posts: 3

Hi all,

how can I call outlook express from access (vba code on a button)

Regards blink.gif
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Calling Outlook Express
4 Apr, 2008 - 04:21 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks smile.gif


Remember Google is your friend smile.gif
User is offlineProfile CardPM
+Quote Post

rockape
RE: Calling Outlook Express
4 Apr, 2008 - 04:25 AM
Post #3

New D.I.C Head
*

Joined: 4 Apr, 2008
Posts: 3

Hi all,

this is what is failing..

DoCmd "C:\Program Files\Microsoft Office97\Office\Outlook.EXE"
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Calling Outlook Express
4 Apr, 2008 - 04:39 AM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Try using the shell command, below is an example


vb

Dim RetVal

RetVal = Shell("Outlook.EXE", vbNormalFocus)

User is offlineProfile CardPM
+Quote Post

rockape
RE: Calling Outlook Express
4 Apr, 2008 - 07:00 AM
Post #5

New D.I.C Head
*

Joined: 4 Apr, 2008
Posts: 3

Thanks

QUOTE(PsychoCoder @ 4 Apr, 2008 - 05:39 AM) *

Try using the shell command, below is an example


vb

Dim RetVal

RetVal = Shell("Outlook.EXE", vbNormalFocus)



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:54PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month