Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.word.mailmerge.fields
srid srid is offline
external usenet poster
 
Posts: 15
Default how to create word CommandBarComboBox using vb.net(automate wo

thanks for the info. let me give it a try

"Cindy M." wrote:

Hi ?B?c3JpZA==?=,

**still looking for help with combobox

2)if i open word from my application ten time,there are ten
CommandBarComboBoxes on the word toolbar
3)even if i open the word seperately(not via vb.net) still i see newly
created CommandBarComboBoxes(10 or #...)

It would help to see the code you're using to manage the combobox, but
right off-hand I'd say you're application needs to

1. Be sure to set the CustomizationContext when creating the combobox
2. Be sure to also delete the combobox, again setting the
CustomizationContext (to the same container as when creating it) before
issuing the command
3. It probably also wouldn't hurt to check for the presence of the
Combobox in the target toolbar before creating it again, deleting the
control if it's found.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
How do I create Word macro that will run properly using copy/past. Joye Microsoft Word Help 1 June 23rd 06 10:41 PM
Word & WordPerfect MrsMac Microsoft Word Help 5 June 10th 06 03:14 AM
Converting Word Perfect forms to Word forms elyse Microsoft Word Help 1 February 15th 06 08:17 PM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM


All times are GMT +1. The time now is 06:05 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"