Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2006

Tip: Looking for answers? Try searching our database.

VS2003, VS2005 and AddIn not Being Loaded

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TCook - 14 May 2006 20:00 GMT
Hello All,

I have both VS2003 & VS2005 installed.  I am trying to edit an MS Word AddIn
built in VS2003.  I have added the winword.exe.config file which allows the
addin to launch MS Word without crashing when running inside of VS2003.

However, my code isn't being hit.  I have put breakpoints, etc. and it
appears that the addin is not being loaded at all.

Has anyone else experienced this?

Any ideas?

Thanks & Regards,

TC
TCook - 15 May 2006 03:19 GMT
Hey Folks,

I have solved the issue and will detail the process below:

1) For addins, place a config file prefixed with the name of the application
in its folder (i.e. for MS Word winword.exe.config) that contains the
following:

<configuration>
<startup>
 <requiredRuntime version="v1.1.4322" safemode="true" />
</startup>
</configuration>

2) Make sure that the addin hasn't been disabled.  Under MS Word, this list
can be found under the 'About' dialog box.  Remove the addin from this list.

3) Make sure that the "LoadBehavior" registry key is set to "3" under the
following registry directory:

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\[AddInName].Connect

4) Make sure that the addin is set to run under "Debug" mode via the
"Configuration Manager" from within VS2003.  This can found under Project ->
Properties -> Configuration Manager -> Active Solution Configuration.

I hope that the above helps others encountering the same issues.

Best Regards,

TC

> Hello All,
>
[quoted text clipped - 13 lines]
>
> TC

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.