473,480 Members | 3,069 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CommandBarComboBox .Change event stops working after a while

Hi
I am writing an Office Com Addin application for XP and Office 2003
I am writing i Visual studio 2003 VB.
I have a made a custom toolbar with some buttons and a combobox on.
The bar loads OK in Word, Excel and Outlook.
The buttons always work in all applications. The Combobox .change
event always work from Outlook and Excel, but it stops work in Word
after a while.
Has anybode any ideas of what can cause this behavior? Any help
appriciated.

Here is a snapshot of my code:
-----
Class declarations:
Public Class Connect

Implements Extensibility.IDTExtensibility2
Private WithEvents cmbSearchCoveo As CommandBarComboBox
Private WithEvents cmbSearchCoveoButton As
Microsoft.Office.Core.CommandBarButton

------

Private Sub cmbSearchCoveo_Change(ByVal Ctrl As
Microsoft.Office.Core.CommandBarComboBox) Handles
cmbSearchCoveo.Change

ShowIEURL(HTTPSEARCH & cmbSearchCoveo.Text)

End Sub

-----
'adding the combobox to the toolbar:

cmbSearchCoveo =
cbrNewToolbar.Controls.Add(Type:=MsoControlType.ms oControlComboBox)
With cmbSearchCoveo
.BeginGroup = True
.Visible = True
.Style = MsoComboStyle.msoComboLabel
.Caption = "Fritekst søgning:"
.TooltipText = "Fritekst søgefelt i KiC systemet.
Søger i alle dokumenter efter det skrevne."
.Tag = "SearchCoveo"
End With

----

Apr 25 '07 #1
0 1386

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2585
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
2
4243
by: Dalan | last post by:
This seems a bit odd and probably I'm overlooking something, but have not been able to change a text field to a memo one. Of course, I made the change in the related Table setting, however the...
13
7428
by: Manuel Lopez | last post by:
I have a puzzling form timer problem that I didn't experience prior to Access 2003 (though I'm not sure access 2003 is to blame). Here's the situation: a computer has two access 2003 databases on...
1
9617
by: Chris Soulsby | last post by:
Hi, I have a control that contains a embedded ie control. I used the following code to add a onclick event to a table element: IHTMLDocument2 oIHTMLDocument2 =...
3
3014
by: Just Me | last post by:
If I move the mouse cursor over a control and stop moving I get a MouseHover event. If I then move the cursor while staying within the control and then stop moving I do not get another...
3
5517
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips...
5
3004
by: ApexData | last post by:
This follows a previous post, when I was trying to capture a key pressed during the immediate opening of a form (ie in the first 3-secs before processing any of the code that followed it. It was...
3
2186
by: Karsten_Markmann | last post by:
Hi I am building a large application where we use the combobox feature a lot. Its an office addin for office XP. I am using Visual studio 2003 VB. In outlook and excel it works perfect all the...
25
30761
by: Peng Yu | last post by:
Hi, It is possible to change the length of "\t" to a number other than 8. std::cout << "\t"; Thanks, Peng
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7060
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3004
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.