A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to determine location of Outlook Add-In



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 11th 07, 02:00 PM posted to microsoft.public.outlook.program_vba
jk
external usenet poster
 
Posts: 43
Default How to determine location of Outlook Add-In

I need to determine where an add-in has been installed so that I can load
data from an XML config file.

How to I do this?
Ads
  #2  
Old January 11th 07, 02:47 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to determine location of Outlook Add-In

Your addin or some other? If it's your addin you can get the location from
the application itself. If it's some other addin then you're reduced to
scanning the hard drive or the registry.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
I need to determine where an add-in has been installed so that I can load
data from an XML config file.

How to I do this?


  #3  
Old January 11th 07, 03:01 PM posted to microsoft.public.outlook.program_vba
jk
external usenet poster
 
Posts: 43
Default How to determine location of Outlook Add-In

Hi Ken,

I need to path to my add-in. I tried using:

My.Computer.FileSystem.CurrentDirectory

but that returned:

"C:\Program Files\Common Files\SYSTEM\MSMAPI\1033"



----------------------
"Ken Slovak - [MVP - Outlook]" wrote:

Your addin or some other? If it's your addin you can get the location from
the application itself. If it's some other addin then you're reduced to
scanning the hard drive or the registry.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
I need to determine where an add-in has been installed so that I can load
data from an XML config file.

How to I do this?



  #4  
Old January 11th 07, 03:46 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to determine location of Outlook Add-In

What language are you using and what platform (.NET, VSTO, VSTO SE, etc.)?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
Hi Ken,

I need to path to my add-in. I tried using:

My.Computer.FileSystem.CurrentDirectory

but that returned:

"C:\Program Files\Common Files\SYSTEM\MSMAPI\1033"



----------------------
"Ken Slovak - [MVP - Outlook]" wrote:

Your addin or some other? If it's your addin you can get the location
from
the application itself. If it's some other addin then you're reduced to
scanning the hard drive or the registry.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
I need to determine where an add-in has been installed so that I can
load
data from an XML config file.

How to I do this?




  #5  
Old January 11th 07, 04:04 PM posted to microsoft.public.outlook.program_vba
jk
external usenet poster
 
Posts: 43
Default How to determine location of Outlook Add-In

Apologies ken, should have included that right from the start

Visual Studio 2005 - Preference VB.NET
VSTO SE
Office / Outlook 2003

------------------

"Ken Slovak - [MVP - Outlook]" wrote:

What language are you using and what platform (.NET, VSTO, VSTO SE, etc.)?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
Hi Ken,

I need to path to my add-in. I tried using:

My.Computer.FileSystem.CurrentDirectory

but that returned:

"C:\Program Files\Common Files\SYSTEM\MSMAPI\1033"



----------------------
"Ken Slovak - [MVP - Outlook]" wrote:

Your addin or some other? If it's your addin you can get the location
from
the application itself. If it's some other addin then you're reduced to
scanning the hard drive or the registry.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
I need to determine where an add-in has been installed so that I can
load
data from an XML config file.

How to I do this?




  #6  
Old January 11th 07, 05:21 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to determine location of Outlook Add-In

This is C#, but see if it helps:
http://www.outlookcode.com/codedetail.aspx?id=1032

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JK" wrote in message
...
Apologies ken, should have included that right from the start

Visual Studio 2005 - Preference VB.NET
VSTO SE
Office / Outlook 2003

------------------


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003: How Do I Determine The Email Address of a Public Folder? [email protected] Outlook - General Queries 1 October 6th 06 05:49 AM
How to determine number of contact records in outlook? DK Outlook - Using Contacts 1 October 5th 06 05:52 AM
how to determine if cache mode on or off Steve Paul Outlook - Installation 3 October 3rd 06 09:58 PM
Help Needed To Determine Cause of Warning in Outlook 2003: raymejr Outlook - General Queries 4 September 22nd 06 01:25 PM
How to determine the format for each e-mail in Outlook 2000? Uncle Bill Outlook - Using Contacts 0 February 1st 06 09:46 PM


All times are GMT +1. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.