Can't make my new tab add-in show up on Word 2010

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

Can't make my new tab add-in show up on Word 2010
 
agent86




Posts: 14
Joined: 2013-11-16
Add-In Express for VCL
Delphi 7 on a XP Pro 32 bit computer, running 32 bit MS Office


I have used the on-line documentation for Add-In Express and I have designed in Delphi 7 an add-in for Word 2010 that adds a tab, 2 groups, 4 buttons and 1 dropdown. I have put everything together with no "on-click" code presently written for the buttons. I just want to see the new tab on Word 2010. I have told the new tab where to appear. I hope I have used the correct number. I told it to InsertBeforeId 11954(Home Tab). I got the value off a document I downloaded off the web.

I have set up the Run/Parameter for the Word application, and registered the dll from the Run menu. I have gone to the command prompt and registered the dll and it says it was successful. I can start the Word application from inside Delphi 7 without errors but the new tab does not appear inside Word when it starts.

I have gone to the Developer/Com Add-Ins in Word and it does show up in the list and I have checked it.

I sure I forgot something.
Posted 16 Nov, 2013 11:17:25 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Hello,

Make sure that you tick the "Show add-in user interfce errors" checkbox, see e.g. http://msdn.microsoft.com/en-us/library/vstudio/bb608619.aspx.

Note that setting InsertBeforeId to a number is a mistake. The Excel file that you downloaded contains the ID in the Control Name column.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Nov, 2013 03:17:27 Top
agent86




Posts: 14
Joined: 2013-11-16
How do I tell the tab where to appear?
Posted 18 Nov, 2013 09:06:15 Top
Andrei Smolin


Add-in Express team


Posts: 14713
Joined: 2006-05-11
Hello,

You specify the id of a built-in tab (such as 'TabHome') in the the InsertBeforeIdMso or InsertAfterIdMso property of the TadxRibbonRab.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Nov, 2013 09:17:32 Top
agent86




Posts: 14
Joined: 2013-11-16
All I had to do was remove the number and it started appearing in Word. Thank you for the "TabHome" information. I was making it harder than it needed to be.
Posted 18 Nov, 2013 09:43:00 Top