Group: microsoft.public.word.vba.general
From: =?Utf-8?B?YWxib3Jn?=
Date: Sunday, January 27, 2008 5:44 AM
Subject: RE: MSWORD VB.NET

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

"Sivaram" wrote:

> 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..
>

Safety Articles | Usenet Groups | Usenet News | Bluegrass