PC Review


Reply
Thread Tools Rate Thread

Deploying a project with VB.Net

 
 
W
Guest
Posts: n/a
 
      27th Nov 2008
I created a project that uses the outlook.interop library. It works
beautifully on my computer, but when i tried to run the application
from another computer it didn't work. I tried installing office 2007
on that computer, but still got the same thing.

I looked around, but couldn't figure out what to do to make my
application work on another computer. I came across the link below,
http://msdn.microsoft.com/en-us/library/aa155703.aspx

so i tried to create a new Extensibility\Shared Add-in and add it to
my solution, but it also didn't work. I already had the o2007pia.msi
right before that.

Can someone please tell me how to fix this problem?
 
Reply With Quote
 
 
 
 
W
Guest
Posts: n/a
 
      28th Nov 2008
I found the solution. It was actually on the same page I posted. Just
wasn't clear enough to me.
To Use the Outlook 2002 PIA in Your Solution

Assuming that you have already built your Outlook add-in project and
added a Setup project to your solution, add the Outlook 2002 PIA to
the Global Assembly Cache output folder. The PIAs and .reg files that
ship with the Office XP Primary Interop Assembly are redistributable.

In the Solution Explorer window, right-click your Setup project, point
to View, and click File System. The File System panes appear.
Right-click File System on Target Machine, point to Add Special
Folder, and click Global Assembly Cache Folder. The Global Assembly
Cache Folder is added to the File System on Target Machine folder
list.
In the Solution Explorer window, right-click
Microsoft.Office.Interop.Outlook.dll under the name of your Setup
project, and click Properties. The Property window appears.
In the Property window, in the Folder box, click the ellipsis (. . .)
button. The Select Folder dialog box appears.
Click Global Assembly Cache Folder, and click OK to close the Select
Folder dialog box.
Next, add the Outlook 2002 PIA registry entries to the Registry on
Target Machine pane.

In the Solution Explorer window, right-click your Setup project, point
to View, and click Registry. The Registry on Target Machine panes
appear.
Right-click Registry on Target Machine, and click Import. The Import
Registry File dialog box appears.
Locate and click the Microsoft.Office.Interop.Outlook.dll.reg file in
the folder in which you extracted the original Office XP PIAs, and
then click Open. The Outlook 2002 PIA registry entries are added, and
the Import Registry File dialog box disappears.

On Nov 27, 11:25*am, W <sedk...@gmail.com> wrote:
> I created a project that uses the outlook.interop library. It works
> beautifully on my computer, but when i tried to run the application
> from another computer it didn't work. I tried installing office 2007
> on that computer, but still got the same thing.
>
> I looked around, but couldn't figure out what to do to make my
> application work on another computer. I came across the link below,http://msdn.microsoft.com/en-us/library/aa155703.aspx
>
> so i tried to create a new Extensibility\Shared Add-in and add it to
> my solution, but it also didn't work. I already had the o2007pia.msi
> right before that.
>
> Can someone please tell me how to fix this problem?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0 Deploying Web Project dm1608 Microsoft ASP .NET 0 23rd Feb 2006 06:06 PM
Deploying ASP.NET 2.0 project Bendik Engebretsen Microsoft ASP .NET 6 26th Nov 2005 11:49 AM
Deploying a project in VB.Net Savvas Microsoft Dot NET 1 5th Aug 2005 09:17 AM
Deploying a .NET Project =?Utf-8?B?TVZC?= Microsoft Dot NET Framework 7 10th Nov 2004 04:02 PM
Deploying a .Net Project =?Utf-8?B?TVZC?= Microsoft Dot NET Framework 1 5th Nov 2004 03:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:28 AM.