Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office
Shared add-in for Microsoft office Shared add-in for Microsoft office
Shared add-in for Microsoft office
Go Back  Xtreme Visual Basic Talk > > > Shared add-in for Microsoft office


Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2011, 08:21 AM
Alex30 Alex30 is offline
Regular
 
Join Date: Sep 2007
Posts: 51
Default Shared add-in for Microsoft office


Hi,
I would like to create Shared add-in that works with Word, Excel, Outlook and Power Point.

I've found nice article that provides step by step instruction for creating shared add-in for Word: http://msdn.microsoft.com/en-us/library/ff936212.aspx
I've followed instructions and it worked.

However, I am looking for a way to create one add-in that works with Word, Excel, Outlook and Power Point, not only Word. I didn't find any reference on the WEB.

Do you have any ideas?

Thanks.
Reply With Quote
  #2  
Old 10-21-2011, 12:08 PM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Hello,

Go back to that article and follow the steps. Pay attention to step 5 where You make sure You check the targeting softwares in the Office suite.

Shared add-in has been around since first version of VS.NET was released so it exist some article about it.
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
  #3  
Old 10-21-2011, 12:26 PM
Alex30 Alex30 is offline
Regular
 
Join Date: Sep 2007
Posts: 51
Default

Hi Dennis,
thanks for your reply.

In the article there are some pieces of code related to Word:

Private applicationObject As Word.Application

What should I do with Outlook, Power Point, Excel?
Reply With Quote
  #4  
Old 10-21-2011, 01:25 PM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Alex30,

Create a Shared add-in where several Office softwares will be targeting and You will see that the wizard actually use late binding.

I get the impression that You actually don't have the Shared Add-in available, correct or?
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
  #5  
Old 10-21-2011, 01:27 PM
Alex30 Alex30 is offline
Regular
 
Join Date: Sep 2007
Posts: 51
Default

Correct
Reply With Quote
  #6  
Old 10-24-2011, 07:25 AM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Alex,

What You must do is to use late binding, in that way You can connect to all Office softwares.

I find another article that may or may not be of interest for You:
http://www.squidoo.com/access-shared-add-in
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
  #7  
Old 10-24-2011, 10:26 AM
Alex30 Alex30 is offline
Regular
 
Join Date: Sep 2007
Posts: 51
Default

Thanks Dennis,
It's a good article.
I didn't know that it is possible to write add-in without wizard,
Reply With Quote
  #8  
Old 10-24-2011, 12:01 PM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Alex,

The template Shared Add-in is a quite simple template but, of course, if we don't know where to start it may seems as difficult.

In VB6 we could create the template on our own and as You can see it's possible with VB.NET as well.

The article resolved my dilema because the Shared Add-in is only available in Professionel version and higher. By pointing to the article I didn't violate any possible license rules
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office Shared add-in for Microsoft office
Shared add-in for Microsoft office
Shared add-in for Microsoft office
 
Shared add-in for Microsoft office
Shared add-in for Microsoft office
 
-->