Word Controls in VS Toolbox

I'm using beta 2 of VS.NET 2008 and trying to create a Word 2007 Template. However, the Word Controls does not exist in the VS Toolbox as shown in some blog posts. Any ideas?

[184 byte] By [JohanNordberg] at [2008-1-8]
# 1

Hi Johan,

That's pretty weird. Are all VSTO project templates displayed in New project dialog box?

PeterJausovec at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...
# 2

Hi Johan,

Forgive me if this is silly to you - but just want to cover everything:

You have:

- installed Word 2007

- installed Visual Studio 2008 Beta 2

- created a new Word 2007 Template solution (VB or C#)

- if you view the designer associated with ThisDocument and bring up the Toolbox, there isn't a Word Controls grouping? (this grouping is the next to last grouping by default)

Could you have accidentally deleted it from the Toolbox? Have you tried readding the items?

- Perhaps try a reset first - right click on the toolbox and choose Reset Toolbox

- If that doesn't work, try and add them back

- Right-click on the toolbox and Add Tab named Word Controls

- Right-click on the toolbox and Choose Items...

- On the .NET Framework Components, click on the Namespace column to sort by Namespace

- Add the items in the Microsoft.Office.Tools.Word namespace excluding the XMLNode and XMLNodes items

Hope this helps...

Regards,

Steve

SteveHansen at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...
# 3

Thanks for your replies! However, it didn't work. The answer is Yes to all you questions. I tried resetting the toolbox, but that didn't work. When I try to add a new tab called Word Controls, I get an error message saying that there already is a group called Word Controls.

if I choose Show all I can see it, but the only contrls present is Bookmark and Pointer. Both are disabled. Even if I add more components they are disabled.

I've tried to install VS2008 beta 2 on another machine and on that machine it works just fine. But I wonder what is wrong on this machine.

// Johan

JohanNordberg at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...
# 4

Hi Johan,

Well, looks like you will have to do what everyone hates to do Smile - reinstall...

PeterJausovec at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...
# 5

Well - at least it works on one. Smile

On the one that doesn't work - did you install on a machine that previously had a CTP on it? That caused problems for me (not the same as yours - but wierd stuff like this). I ended up going with an install on a fresh box and things have been very smooth.

Thanks,

Steve

SteveHansen at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...
# 6

Yes, that's actually one difference between the two machines. What a wonderful world it would be if Uninstall actually meant "remove all this *** from my compueter". Smile

// Johan

JohanNordberg at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Visual Studio Tools for Office Orcas...

Visual Studio Orcas

Site Classified