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

  • Thread starter Thread starter Alban
  • Start date Start date
A

Alban

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)
 
Alban said:
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.
 
(e-mail address removed) a écrit :
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 )
 
Back
Top