|
-
Feb 24th, 2010, 08:53 PM
#1
Thread Starter
Fanatic Member
Hi. How can i create a toolbar in MS WORD as such :
This is picture :
-
Feb 24th, 2010, 09:19 PM
#2
Frenzied Member
Re: Hi. How can i create a toolbar in MS WORD as such :
-
Feb 24th, 2010, 09:28 PM
#3
Re: Hi. How can i create a toolbar in MS WORD as such :
Keeping in mind that I've never done any Office development, it took me about 2 minutes of looking on MSDN to find this.
http://msdn.microsoft.com/en-us/library/scff9c7c.aspx
-
Feb 24th, 2010, 09:32 PM
#4
Re: Hi. How can i create a toolbar in MS WORD as such :
 Originally Posted by Pc_Not_Mac
That relates to an add-in for a product that costs US$349. Fine if you want to spend that sort of money but not required to build Office toolbars.
-
Feb 24th, 2010, 10:46 PM
#5
Thread Starter
Fanatic Member
Re: Hi. How can i create a toolbar in MS WORD as such :
 Originally Posted by jmcilhinney
Thanks .
How can i import Office instance. ?
-
Feb 24th, 2010, 11:03 PM
#6
Re: Hi. How can i create a toolbar in MS WORD as such :
If you follow the link I provided you'll see the table of contents tree on the left. It has many more branches you can follow to find related information.
-
Feb 24th, 2010, 11:37 PM
#7
Fanatic Member
Re: Hi. How can i create a toolbar in MS WORD as such :
when i added this line:
Code:
Dim commandBar As Office.CommandBar
i get the error:
Office.CommandBar is not defined
do i need to add some references as we do while working with the excel sheet to remove this error?
please help
-
Feb 24th, 2010, 11:52 PM
#8
Re: Hi. How can i create a toolbar in MS WORD as such :
 Originally Posted by HowTo
when i added this line:
Code:
Dim commandBar As Office.CommandBar
i get the error:
Office.CommandBar is not defined
do i need to add some references as we do while working with the excel sheet to remove this error?
please help
If you've started by creating the correct project type, i.e. Word Add-in, then you've already got all the references you need.
-
Feb 25th, 2010, 12:00 AM
#9
Fanatic Member
Re: Hi. How can i create a toolbar in MS WORD as such :
ok now i am getting an error in this line of the try block:
Code:
commandBar = Me.CommandBars("Test")
the error tells:
'CommandBars' is not a member of 'WordAddIn1.ThisAddIn'
-
Feb 25th, 2010, 12:05 AM
#10
Re: Hi. How can i create a toolbar in MS WORD as such :
 Originally Posted by HowTo
ok now i am getting an error in this line of the try block:
Code:
commandBar = Me.CommandBars("Test")
the error tells:
'CommandBars' is not a member of 'WordAddIn1.ThisAddIn'
Again, I've never done any Office development so I'm not 100% sure but, from what I can see, that should be Application.CommandBars rather than Me.CommandBars
-
Feb 25th, 2010, 12:12 AM
#11
Fanatic Member
Re: Hi. How can i create a toolbar in MS WORD as such :
i get this when i pressed f5:

it means i need to install some components right?
i get this link:
http://www.microsoft.com/downloads/d...displaylang=en
but this is for office 2007 but i use office 2003 and vs 2008......
i cant get a link for the office 2003.....so the link that i gave above,will it work for me?
-
Feb 25th, 2010, 12:39 AM
#12
Fanatic Member
Re: Hi. How can i create a toolbar in MS WORD as such :
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|