473,472 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Want to make my Namespace for Outlook, but Error : Outlook is notrunning

Hello
My soft gets back information from outlook.
But when I create my namespace:

OApp = New Outlook.Application
oNS = oApp. Session
oNS.Logon (Nothing, Nothing, False, True)

I have an error: "Outlook is not running. Run it first."

But i don't want to have to run it.

Someone have an idea?
(sorry for my English)
Sep 1 '06 #1
2 1175

Alban wrote:
Hello
My soft gets back information from outlook.
But when I create my namespace:

OApp = New Outlook.Application
oNS = oApp. Session
oNS.Logon (Nothing, Nothing, False, True)

I have an error: "Outlook is not running. Run it first."

But i don't want to have to run it.

Someone have an idea?
(sorry for my English)
What information does it get back from Outlook? Outlook stores some
information a .pst file for each user. maybe you could just read that?
You'd have to look up the structure of this file.

Sep 1 '06 #2
lo*********@gmail.com a écrit :
Alban wrote:
>>Hello
My soft gets back information from outlook.
But when I create my namespace:

OApp = New Outlook.Application
oNS = oApp. Session
oNS.Logon (Nothing, Nothing, False, True)

I have an error: "Outlook is not running. Run it first."

But i don't want to have to run it.

Someone have an idea?
(sorry for my English)


What information does it get back from Outlook? Outlook stores some
information a .pst file for each user. maybe you could just read that?
You'd have to look up the structure of this file.
in fact, i want to do this method
mapiFolder.GetFolderFromID(EntryIDofMyFolder)
to bring back the path of my folder.
But as i already said, without Outlook running, i can't do this
thx and apologizes for my english ( ^^ not my mother language )

Sep 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Krikelis | last post by:
Hi, I am trying to automate the Outlook so that I can get all new messages received and look at them. I have added refference "Microsoft Outlook 10.0 Object Library" and written code: ...
2
by: Tom C. | last post by:
I had some problems with IIS so I uninstalled and then installed it Now when I try to open a new web app in VisualStudio.net I get an error message that tells me that " IIS is not running ASP.NET...
8
by: Li Pang | last post by:
Hi, I used following codes to pass a message item from CDO to Outlook. They worked fine when I used outlook 2000, but get an error of "Specified cast is not valid." when I used Outlook 2003....
6
by: Manuel | last post by:
Hi, Using the PIA "Microsoft Outlook 11 Object Library". I've noticed that the Logon method of the NameSpace Object is simply ignored. My Outlook 2003 is full updated. For example if I...
2
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a...
14
by: Professor Yonce | last post by:
I have made form for E-Mail. I have entered code but the Import system does not work. It has squiggly line underneath it showing it is not communicating. It Will not build. Public Class...
1
by: Christof Nordiek | last post by:
Hi all, I'm working on an Outlook-AddIn with VSTO 2005. I'd like to change the default namespace to something like "Componyname.Projectgroup.Addinname". But in the property page the default...
2
by: mnarewec | last post by:
The type or namespace name 'OutLook' could not be found (are you missing a using directive or an assembly reference?) Actually I am trying to follow an example shown in the article: ...
2
by: Ryan H | last post by:
I made a program that reads emails from an Outlook mailbox and does some stuff and the program works fine. However, my boss now tells me that the program is to be executed from a remote computer....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
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.