Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: multiple web chart in a data repeater. Pin
Dave Kreskowiak7-Mar-06 13:53
mveDave Kreskowiak7-Mar-06 13:53 
QuestionDatagrid custom columnstyle problem Pin
David M J7-Mar-06 11:48
David M J7-Mar-06 11:48 
QuestionCustom .NET control and collection persistence Pin
rhorc7-Mar-06 11:40
rhorc7-Mar-06 11:40 
QuestionClosing Main Form Pin
jdjd11187-Mar-06 7:24
jdjd11187-Mar-06 7:24 
AnswerRe: Closing Main Form Pin
Chatura Dilan7-Mar-06 14:19
Chatura Dilan7-Mar-06 14:19 
QuestionDatabase Replication Pin
jdjd11187-Mar-06 7:21
jdjd11187-Mar-06 7:21 
AnswerRe: Database Replication Pin
Steve Pullan7-Mar-06 11:12
Steve Pullan7-Mar-06 11:12 
QuestionCombobox events Pin
eatwork7-Mar-06 6:17
eatwork7-Mar-06 6:17 
Hi, I was wondering if anyone out there might be able to help me with the removal of the selectedindexchanged event from a custom combobox? I have created a custom combobox control and have the keyevents calling a method that will reset the selectedIndex changed event to 0, and then to -1. I do this because visual studio 2003 seems to have problems setting the combobox index to -1. In that method, I need to shut down the index changed event so that the event is activated only once when the index is changed, but I do not know how exactly I can remove the handler/disable the event within a custom control that inherits from the combobox. Anyhelp would be greatly appreciated. Thank you and have a nice day.

Code: -not working
'delegate declaration?
Shadows Event SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)

'Handling event
Protected Overrides Sub OnSelectedIndexChanged(ByVal e As System.EventArgs)
MyBase.OnSelectedIndexChanged(e)
End Sub

'Reset Index
Public Sub resetIndex()
RemoveHandler SelectedIndexChanged, AddressOf OnSelectedIndexChanged
Me.SelectedIndex = 0
AddHandler SelectedIndexChanged, AddressOf OnSelectedIndexChanged
Me.SelectedIndex = -1
End Sub

eatwork


eatwork
QuestionNeed Advice Pin
Darshon7-Mar-06 5:47
Darshon7-Mar-06 5:47 
AnswerRe: Error reading database file when deploying a vb.net project? Pin
H@is@here7-Mar-06 5:57
H@is@here7-Mar-06 5:57 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
Rashar7-Mar-06 6:12
Rashar7-Mar-06 6:12 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
H@is@here7-Mar-06 6:28
H@is@here7-Mar-06 6:28 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
Rashar7-Mar-06 12:31
Rashar7-Mar-06 12:31 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
H@is@here7-Mar-06 22:53
H@is@here7-Mar-06 22:53 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
Rashar8-Mar-06 2:17
Rashar8-Mar-06 2:17 
GeneralRe: Error reading database file when deploying a vb.net project? Pin
Rashar8-Mar-06 5:38
Rashar8-Mar-06 5:38 
QuestionAxWebBrowser without form support Pin
Sufyan_shani7-Mar-06 4:47
Sufyan_shani7-Mar-06 4:47 
AnswerRe: AxWebBrowser without form support Pin
Dave Kreskowiak7-Mar-06 5:23
mveDave Kreskowiak7-Mar-06 5:23 
GeneralRe: AxWebBrowser without form support Pin
Darshon7-Mar-06 5:33
Darshon7-Mar-06 5:33 
AnswerRe: AxWebBrowser without form support Pin
Darshon7-Mar-06 5:31
Darshon7-Mar-06 5:31 
Question[Resolved] HTML Text Editor > Browser in one Pin
RichardBerry7-Mar-06 4:23
RichardBerry7-Mar-06 4:23 
AnswerRe: HTML Text Editor > Browser in one Pin
FeRtoll8-Mar-06 2:00
FeRtoll8-Mar-06 2:00 
GeneralRe: HTML Text Editor > Browser in one Pin
RichardBerry8-Mar-06 3:05
RichardBerry8-Mar-06 3:05 
GeneralRe: HTML Text Editor > Browser in one Pin
FeRtoll8-Mar-06 10:45
FeRtoll8-Mar-06 10:45 
Questionhow to play sound in vb.net? Pin
campbells7-Mar-06 3:33
campbells7-Mar-06 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.