Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

MSWORD VB.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sivaram - 25 Jan 2008 07:04 GMT
Hi  i am Newbie i developed  a  application in vb.net... Now when user
install my application  button must be automatically added to MS Word
application in toolbar...when user clicks that button then my exe file must
run..how can i do these ...Plz Give Some Ideas,Suggestions ,Links  Plz..
alborg - 27 Jan 2008 11:44 GMT
Hi Sivaram:

You might wish to check this vb.net page that discusses vb.net toolbars-

http://www.informit.com/articles/article.aspx?p=25741

If you wish to keep it inside MS Word, use VBA code that would look
something like this-

Dim mybar, mybar2
Set mybar = CommandBars("Custom 2")
Set mybar2 = CommandBars("switchboardmain")
mybar.Visible = True
mybar2.Visible = True

It can be placed in the Microsoft Word Objects -> ThisDocument section of
the Visual Basic coding area of your template.

Cheers,
Al

> Hi  i am Newbie i developed  a  application in vb.net... Now when user
> install my application  button must be automatically added to MS Word
> application in toolbar...when user clicks that button then my exe file must
> run..how can i do these ...Plz Give Some Ideas,Suggestions ,Links  Plz..
 
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.