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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Starting outlook after installing outlook programmatically



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 24th 08, 01:57 PM posted to microsoft.public.outlook.program_addins
Jaz[_2_]
external usenet poster
 
Posts: 4
Default Starting outlook after installing outlook programmatically

Hi all,

I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and created
an msi installer for same... Everything working fine..

Now I want to launch the addin (In this case the outlook itselt)
automatically after the completion of installation of the addin...

So I think I have to run the OUTLOOK.exe programmatically . I got the
location of OUTLOOK.exe from registry
(http://support.microsoft.com/kb/240794).
But when I execute the code the outlook opens and asks to configure the
account...

am i executing the wrong exe? Or is there is any other way to launch the
addin programmatically?

Thanking you in advance
Jaz
Ads
  #2  
Old November 24th 08, 03:04 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Starting outlook after installing outlook programmatically

If your addin is registered correctly then starting Outlook will start your
addin. If Outlook was just installed and wasn't configured with an email
account you will always be prompted to set one up on the first startup of
Outlook.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jaz" wrote in message
...
Hi all,

I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and
created
an msi installer for same... Everything working fine..

Now I want to launch the addin (In this case the outlook itselt)
automatically after the completion of installation of the addin...

So I think I have to run the OUTLOOK.exe programmatically . I got the
location of OUTLOOK.exe from registry
(http://support.microsoft.com/kb/240794).
But when I execute the code the outlook opens and asks to configure the
account...

am i executing the wrong exe? Or is there is any other way to launch the
addin programmatically?

Thanking you in advance
Jaz


  #3  
Old November 24th 08, 03:48 PM posted to microsoft.public.outlook.program_addins
Jaz[_2_]
external usenet poster
 
Posts: 4
Default Starting outlook after installing outlook programmatically

Hi Ken Slovak,

Thanks for your reply,

When i am running Outlook manually (by double clicking OUTLOOK.exe) it is
working as expected.. But whwn I execute the exe from code it shows
configuration screen

any idea???

Thanks
Jaz

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

If your addin is registered correctly then starting Outlook will start your
addin. If Outlook was just installed and wasn't configured with an email
account you will always be prompted to set one up on the first startup of
Outlook.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jaz" wrote in message
...
Hi all,

I have created an outlook 2007 Addin using C#, VSTO 3.0,VS 2008 and
created
an msi installer for same... Everything working fine..

Now I want to launch the addin (In this case the outlook itselt)
automatically after the completion of installation of the addin...

So I think I have to run the OUTLOOK.exe programmatically . I got the
location of OUTLOOK.exe from registry
(http://support.microsoft.com/kb/240794).
But when I execute the code the outlook opens and asks to configure the
account...

am i executing the wrong exe? Or is there is any other way to launch the
addin programmatically?

Thanking you in advance
Jaz



  #4  
Old November 24th 08, 04:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Starting outlook after installing outlook programmatically

No idea. Show the code you use to start Outlook after your installer runs.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Jaz" wrote in message
...
Hi Ken Slovak,

Thanks for your reply,

When i am running Outlook manually (by double clicking OUTLOOK.exe) it is
working as expected.. But whwn I execute the exe from code it shows
configuration screen

any idea???

Thanks
Jaz


 




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
Installing outlook 2007 to evaluate- isn't installing michele71 Outlook - Installation 5 December 19th 08 03:36 PM
How can I programmatically customize outlook in c# Ana Outlook - Using Forms 1 October 29th 08 05:50 PM
Closing Outlook Programmatically Michael Ryle Outlook and VBA 3 January 3rd 07 02:21 PM
starting outlook macca Outlook - Installation 2 June 4th 06 10:58 PM
Starting Outlook JCO Outlook - General Queries 0 April 3rd 06 03:24 PM


All times are GMT +1. The time now is 09:29 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.