Click here to Skip to main content
15,920,633 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Copy html with VB Pin
jzonthemtn2-Jun-08 12:53
jzonthemtn2-Jun-08 12:53 
QuestionUsing net send in VB.net Pin
Charles Hardy2-Jun-08 10:09
Charles Hardy2-Jun-08 10:09 
AnswerRe: Using net send in VB.net Pin
jzonthemtn3-Jun-08 11:41
jzonthemtn3-Jun-08 11:41 
GeneralRe: Using net send in VB.net Pin
Charles Hardy5-Jun-08 6:06
Charles Hardy5-Jun-08 6:06 
GeneralRe: Using net send in VB.net Pin
jzonthemtn5-Jun-08 6:12
jzonthemtn5-Jun-08 6:12 
GeneralRe: Using net send in VB.net Pin
Charles Hardy5-Jun-08 8:14
Charles Hardy5-Jun-08 8:14 
QuestionHow to prevent the NumericUpDown from recursively calling Pin
Dominick Marciano2-Jun-08 9:47
professionalDominick Marciano2-Jun-08 9:47 
AnswerRe: How to prevent the NumericUpDown from recursively calling Pin
Chinners2-Jun-08 23:40
Chinners2-Jun-08 23:40 
There are 2 ways I can think of - a dirty way and a tidy way.

The tidy way would be to remove the event handler:

RemoveHandler Nud.ValueChanged, Addressof(YourRoutineHere)


Alter the value, then

AddHandler Nud.ValueChanged, Addressof(YourRoutineHere)


The Dirtyway would be to have a global boolean, called "NudManuallyChanging" or something like that. Then:

If CB.Text = "" then
  NudManuallyChanging=True
  NUD.Value -=1  'This line makes the NUD.ValueChanged method call itself.
  NudManuallyChanging=False
Else
  CB.Text = ""
End If


Then, in your event handler for NUD.ValueChanged:

Sub NudValueChanged
  if NOT NudManuallyChanging then
    Your Code Here
  end if
end sub



Its a bit dirtier, but possibly easier to understand.
QuestionCalling a .dll / .exe during compile Pin
Trevortni2-Jun-08 7:40
Trevortni2-Jun-08 7:40 
GeneralRe: Calling a .dll / .exe during compile Pin
jzonthemtn3-Jun-08 11:53
jzonthemtn3-Jun-08 11:53 
GeneralRe: Calling a .dll / .exe during compile Pin
Trevortni4-Jun-08 6:17
Trevortni4-Jun-08 6:17 
QuestionCrystal Reports license Pin
Member 36439612-Jun-08 3:17
Member 36439612-Jun-08 3:17 
AnswerRe: Crystal Reports license Pin
Tim Carmichael2-Jun-08 4:37
Tim Carmichael2-Jun-08 4:37 
AnswerRe: Crystal Reports license Pin
ChandraRam3-Jun-08 1:08
ChandraRam3-Jun-08 1:08 
AnswerRe: Crystal Reports license Pin
Anubhava Dimri6-Jun-08 18:23
Anubhava Dimri6-Jun-08 18:23 
Questionsoftware licensing Pin
duo!@#2-Jun-08 3:15
duo!@#2-Jun-08 3:15 
AnswerRe: software licensing Pin
Ray Cassick2-Jun-08 4:38
Ray Cassick2-Jun-08 4:38 
AnswerRe: software licensing Pin
Tim Carmichael2-Jun-08 4:40
Tim Carmichael2-Jun-08 4:40 
GeneralRe: software licensing Pin
duo!@#3-Jun-08 0:51
duo!@#3-Jun-08 0:51 
GeneralRe: software licensing Pin
Kevin Brydon3-Jun-08 3:06
Kevin Brydon3-Jun-08 3:06 
QuestionAdd days in datetime variable change the time Pin
Rupesh Kumar Swami2-Jun-08 2:29
Rupesh Kumar Swami2-Jun-08 2:29 
AnswerRe: Add days in datetime variable change the time Pin
Jay Royall2-Jun-08 2:51
Jay Royall2-Jun-08 2:51 
GeneralRe: Add days in datetime variable change the time Pin
Rupesh Kumar Swami2-Jun-08 2:55
Rupesh Kumar Swami2-Jun-08 2:55 
QuestionGetting error while generating report from report viewer Pin
hisuman1002-Jun-08 1:51
hisuman1002-Jun-08 1:51 
AnswerRe: Getting error while generating report from report viewer Pin
Rupesh Kumar Swami2-Jun-08 1:56
Rupesh Kumar Swami2-Jun-08 1:56 

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.