Sample Add-in "Toys" get no more registered properly

Add-in Express™ Support Service
That's what is more important than anything else

Sample Add-in "Toys" get no more registered properly
 
Mansur


Guest


One day befor the sample registered well, but now I register the sample, the compiler tells me "Successfull", but nothing happens in Excel ....


- What can be the problem?
- Why does your sample don't contain an SHIM - Project but my new one does?


Regards,

Mansur
Posted 14 Dec, 2005 03:21:43 Top
Mansur


Guest


Actually I can't get any Add-in working anymore.
When I tra to exactly follow your Sample "My First Add-in", then (after Registrating the Add-in) Excel will run into an Exception and quit and offers to deactivate the Add-in (the one I made).

What can be the problem, that I cant't get any Add-in run?

I use Office2003 / VS2003 / .NET 1.1


Regards,

Mansur
Posted 14 Dec, 2005 07:29:19 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Mansur.

What software have you installed recently (e.g. .NET Framework 2.0)?
Posted 14 Dec, 2005 08:10:57 Top
John Murray




Posts: 11
Joined: 2005-12-08
I am having similar problems.

I did just install .NET Framework 2.0.

The following was developed in VStudio 2003, though I have 2005 on the machine. It is an XP, sp2, Office 2003 machine.

The Toys Addin in C++.NET registers and runs, but on exit, MS Word reports that the "The command is not available because no document is open." and continues in a loop until I end the process.

When I create my own addin following the flash tutorial in Csharp and in VB, Registration succeeds and then MS Word crashes on initialization and requests to disable the addin for future runs.

Do I need to remove .NET Framework 2.0 and disable the VStudio 2005?

Thank you,

John
Posted 14 Dec, 2005 10:01:14 Top
John Murray




Posts: 11
Joined: 2005-12-08
Sergey,

After removing the .NET Framework, the Addin that I created following the tutorial now works.

However, the Toys addin sill puts out the same message:

The Toys Addin in C++.NET registers and runs, but on exit, MS Word reports that the "The command is not available because no document is open." and continues in a loop until I end the process.


Thank you for your help.

John
Posted 14 Dec, 2005 10:14:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi John.

You should configure the Office apps if you use both .NET v1.1. and v.2.0 on the same PC. You can read more about this issue in the following article:

Microsoft .NET Framework 1.1 and 2.0 (Beta) Compatibility http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/netfxcompat.asp

As for Word, you need to create the Word.exe.config file in the Office installation folder (Office11). Add the following lines into this file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>

You can use the similar config files for all Office applications.
Also, you will have to download and install the latest update for Office 2003. Use the following link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1B0BFB35-C252-43CC-8A2A-6A64D6AC4670&displaylang=en

Posted 14 Dec, 2005 10:16:26 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
John, I will check the Toys add-ins and will let you know about results.
Posted 14 Dec, 2005 10:20:55 Top
Bryan Blakesley




Posts: 3
Joined: 2005-12-14
I just purchased Add-In-Express .NET.

I'm using VS2005 Standard. To avoid framework incompatability issues, I only have .NET 2.0 installed. I'm using Word 2003.

Unfortunately, I can't seem to get the Toy add-ins to work. VS gives a successful registration popup, but no toolbars appear in Word. Ditto for the tutorial add-in.
Posted 14 Dec, 2005 11:01:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Bryan.

Have you installed the latest update for Office 2003 yet?
http://www.softwarepatch.com/office/office2003KB907417.html

Posted 14 Dec, 2005 17:28:57 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi John.

For some reason the link I gave you doesn't work on microsoft.com now.
You can use the following link to download the update.
http://www.softwarepatch.com/office/office2003KB907417.html
Posted 14 Dec, 2005 17:31:36 Top