View Single Post
  #1  
Old September 12th 06, 07:33 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 17
Default Accessing add-in's global variables

Hi,

This probably isnt possible but...
I have an Outlook add-in that requests username and password (these are
not the active directory credentials but are related to another
application) when Outlook first starts. Once authenticated (against
username and password in a database), the ID for the user is saved as a
global variable in the add-in for future use.

I also have a Windows application that launches outlook when a certain
button is clicked. I need to check the userID of the user logged into
Outlook. Is there a way to access global variable of the add-in from
another application?

Alternatively, can I save the userID as a session variable in Outlook?

Thanx in advance

P.S. Both the application and add-in are written in VB (VS2005) but the
add-in does NOT use VSTO.

Ads