Click here to Skip to main content
14,486,801 members

Visual Basic

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:40
cofounderChris Maunder12-Jul-09 22:40 
PinnedHow to get an answer to your question PinPopular
Chris Maunder10-Nov-05 16:30
cofounderChris Maunder10-Nov-05 16:30 
QuestionHow to update sql server data from excel data using VBA code by all User Pin
Member 1478441627-Mar-20 0:25
MemberMember 1478441627-Mar-20 0:25 
AnswerRe: How to update sql server data from excel data using VBA code by all User Pin
ZurdoDev27-Mar-20 1:19
mveZurdoDev27-Mar-20 1:19 
GeneralRe: How to update sql server data from excel data using VBA code by all User Pin
Member 1478441627-Mar-20 2:17
MemberMember 1478441627-Mar-20 2:17 
Questionevent handler Pin
Member 1356965021-Mar-20 23:16
MemberMember 1356965021-Mar-20 23:16 
AnswerRe: event handler Pin
Richard MacCutchan21-Mar-20 23:31
mveRichard MacCutchan21-Mar-20 23:31 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 0:24
MemberMember 1356965022-Mar-20 0:24 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 0:33
mveRichard MacCutchan22-Mar-20 0:33 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 1:04
MemberMember 1356965022-Mar-20 1:04 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 4:03
mveRichard MacCutchan22-Mar-20 4:03 
Look at your code in the button click event, it does the following:
1. Removes the handler
2. Calls some method
3. Adds the handler back again
RemoveHandler InputRTB.TextChanged, AddressOf NewInputTextChanged ' disable eventhandler
DoProcess()
AddHandler InputRTB.TextChanged, AddressOf NewInputTextChanged ' enable eventhandler

So as soon as this event is complete you have the handler catching every TextChanged event again.
GeneralRe: event handler Pin
Member 1356965022-Mar-20 4:18
MemberMember 1356965022-Mar-20 4:18 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 4:47
mveRichard MacCutchan22-Mar-20 4:47 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 5:01
MemberMember 1356965022-Mar-20 5:01 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 5:12
mveRichard MacCutchan22-Mar-20 5:12 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 5:11
mveRichard MacCutchan22-Mar-20 5:11 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 5:48
MemberMember 1356965022-Mar-20 5:48 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 5:52
mveRichard MacCutchan22-Mar-20 5:52 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 5:52
MemberMember 1356965022-Mar-20 5:52 
GeneralRe: event handler Pin
Richard MacCutchan22-Mar-20 5:53
mveRichard MacCutchan22-Mar-20 5:53 
GeneralRe: event handler Pin
Member 1356965022-Mar-20 6:13
MemberMember 1356965022-Mar-20 6:13 
GeneralRe: event handler Pin
Victor Nijegorodov22-Mar-20 0:48
MemberVictor Nijegorodov22-Mar-20 0:48 
QuestionIssue Adding a WebService (WSDL) Pin
Member 1185690418-Mar-20 13:06
MemberMember 1185690418-Mar-20 13:06 
Questionvb.net Pin
ago248616-Mar-20 1:23
Memberago248616-Mar-20 1:23 
SuggestionRe: vb.net Pin
Richard Deeming16-Mar-20 9:41
mveRichard Deeming16-Mar-20 9:41 

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.