473,785 Members | 3,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Publisher Addins Built With VS2005 Don't Work in Publisher 2003

I have just upgraded Visual Studio from 2003 to 2005 and am in the process of
converting my VB applications. Most conversions have gone quite smoothly.

However, I have several Add-Ins that I developed to add button bars to
Publisher 2003. When built these under VS 2003, they worked. I used the
conversion wizard in VS 2005 to convert them. I then rebuilt and installed
them. They refused to work in Publisher. I checked the registry and it
appeared that the install was clean.

I notice that there were two warnings (see below) that were generated in the
builds, so I decided to try creating a small add-in from scratch. Using the
Shared Add-in template under the Extensibility section of Other Project
Types, I specified that I wanted to develop in VB and that the solution would
be used by Publisher alone. The generated code did not have the warnings
that my old add-in was showing. I made sure that the proper references,
imports, etc. were all specified. I added msgbox displays to each of the
event sections. I did not add any other code. I built and installed this
solution, then started Publisher... Nothing.

I have searched every possible help source that I can find and cannot find
anything that directly addresses this problem. I noticed that VSTO is
mentioned a lot. I am having trouble understanding what it will do for me,
if anything. I cannot find any mention of it working with Publisher.

1. Does anyone have any idea as to how I can get these add-ins to work?
2. What exactly, if anything, will I gain by downloading VSTO? (I am not
eager to give up another 2 gigs of my C: drive, if I can avoid it.)

The two warnings that I got after I converted one of the add-ins were:

"Type of parameter 'RemoveMode' is not CLS-compliant "

in the following code:

Public Sub OnDisconnection (ByVal RemoveMode As
Extensibility.e xt_DisconnectMo de, _
ByRef Custom As System.Array) _
Implements Extensibility.I DTExtensibility 2.OnDisconnecti on

and...

"Type of parameter 'ConnectMode' is not CLS-compliant "

in this code:

Public Sub OnConnection(By Val Application As Object, _
ByVal ConnectMode As Extensibility.e xt_ConnectMode, _
ByVal AddInInst As Object, ByRef Custom As System.Array) _
Implements Extensibility.I DTExtensibility 2.OnConnection

Any assistance will be greatly appreciated.

Thanks,

Mark.

--
Mark
Apr 11 '07 #1
0 1552

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1572
by: ns2k | last post by:
I have a problem to install an addin project to a computer other than the one I develop the project. The setup project work fine, but the excel doesn't run the addin - probably because it can't link the office dll in the addin project (I don't ask how to build the addins itself, but how can I build it so it will work for any computer). In other words, how can I build an addin project that will work for any computer with excel XP in it?
1
2578
by: ns2k | last post by:
I develop an Addins Project for Excel in Visual Studio.NET that I need it to work for any machine in any Microsoft Office XP. I use the dependecy (reference) 'Interop.Microsoft.Office.Core'(Microsoft Office 10 Component) for my project. But it seem that its not work fine in others computers (differenct than the one I develop the project, where the addins work fine) the Dot NET raise errors: + "The Dependecy ...
0
1406
by: Rich | last post by:
Hello, I have a simple console app for deploying an MS Access app. Recently, I started having a problem publishing the app to my webserver with the publisher feature of VS2005 when I do an update to the app. So I created a "Hello World" in VB2005 for testing, and was able to deploy that app to the webserver using the publisher, and it brings up Publish.htm. But when I try to install the VBapp from the htm page, I get an error message...
0
1071
by: Anonieko | last post by:
Using Project Template Wizard in New->Project->Extensiblity to create basic Addins. It creates automatically 'For Testing' .addin xml file - to be copied in the C:\Documents and Settings\XXXXUSERHEREXXX\My Documents\Visual Studio 2005\Addins. This xml points to the physical location of the Assembly. That is why it works immediately and registers the addin.
2
4277
by: Charles Zhang | last post by:
I used Visual Studio 2005 to create a "Windows Installer Package". When I ran the package on a Windows XP computer, I got a warning -- "Unknown publisher". My question is: what steps do I need to take to get rid of the warning? I do not want to my customers to warnings like this. Thanks Charles Zhang
1
1992
by: mclewell | last post by:
I would like to start off by saying i'm in no way an expert by any means. I've had access since 97 and way back then set up a database for eBay stock. i had the old micrografx picture publisher program also installed. i got bloat i guess it's called due to the jpgs unbound in my form view, to get around this and still have pictures i created a start up database then just copied and renamed it for the different items on eBay, postcards,...
0
1003
by: 33sparsh | last post by:
hi i am using VSTO2005 to add outlook addins through VS2005. when i take a new project as office add-in07(outlookAdd-ins), by default 2 projects are added to solution.One is "Addin project" and another is "addinSetup Project". using addin project i write code to add a button to outlook menubar(outlook07). when i run the application in debug mode mybutton is added to menubar and button functionality working fine.But i have a problem, when...
0
1192
by: sunil sharma | last post by:
Hi all, I have an ADP (2003 format) that has forms and reports. Report source was set in class module and the class module is totally handling the report. For some technical reasons, i have to split the ADP into two parts (both 2003 formats) -- One having only forms, modules and macros while the other ADP have only Reports. Now i have report class in both ADP (having forms and another one having reports). Now i was thinking to create an...
7
2525
MrMancunian
by: MrMancunian | last post by:
http://www.stevenvandenbrink.nl/publisher.jpg Hi, I've created an application with VS2005, but now I want my own name to be shown as publisher (see screenshot). How do I set the publisher for my application in VS2005? Thnx,
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3647
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.