473,473 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

opening outlook from vba shell() I get error "cannot open your default email folders"

2 New Member
The command to open outlook is below:
conPATH_TO_OUTLOOK is C:\Program Files\Microsoft Office\Office14\outlook.exe

retVal = Shell(conPATH_TO_OUTLOOK, vbMaximizedFocus)
the error message is "cannot open your default e-mail folders. the infomation store could not be opened"

If I go to the path target and click on outlook.exe then it opens without any problems
it would seem that my user info is not being transmitted

I am using windows7 on a company intranet server
any help with this would be appreciated
May 11 '11 #1
0 1548

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jack | last post by:
Hello, I have a web-based application, located on the Internet, and I'd like to use a command button like a hyperlink. Ideally, I'd like to have the users default mail client be initiated with...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
6
by: Tony Ciconte | last post by:
There is plenty of VBA code around that allows you send email messages. Does anyone know where I can see a sample of VBA code or a technique that only opens the default email program and then waits...
21
by: Dino M. Buljubasic | last post by:
I'd like my application to be able to detect default email application (MS Outlook or whichever is set to be default) so that the user can enter the email body, address, subject line and send the...
3
by: Jason | last post by:
I'm writing a simple EXE in VB.NET to be run on our intranet (Win2K network, XP machines). When it's done running I want to notify the user via email. I've got the email working...how do I...
3
by: Mateusz Rajca | last post by:
Hello! How do I open the default email client, and attach a file? Matt
2
by: Hanika | last post by:
Going on 3 days and I am wodnering if I am just not looking in the right place. If anyone nows how to do this please please help me. I am developing a Windows form application using VB.NET 2005....
2
sivisr
by: sivisr | last post by:
Hi, i am using the following code to open outlook Express to send mail ,but i get " System.UnauthorizedAccessException: Access is denied. at WebApplication7.WebForm9.Button1_Click(Object...
2
by: LeoK | last post by:
After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.