Click here to Skip to main content
15,918,109 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCopy html with VB Pin
Harold_Wishes2-Jun-08 10:18
Harold_Wishes2-Jun-08 10:18 
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 
I'm writing a program that is used to enter data about different rooms in a home. On the main form there is a NUD and a combo box. The NUD is used to store the room numbers and the combo box has a list of room names. When the program starts the the NUD has a value of 1 (representing the first room) and the CB is empty. The user selects a room name from the CB and the room name is stored in an arraylist.

Now, when the user increases the NUD value the CB is cleared. Now if the NUD value is decreased then the previous room (Room 1) name is loaded into the CB. My problem is this, if the user tries to increase the NUD value again and the CB box is still empty (user did not select a room name) then the NUD value is decreased (you can't move on to the next room until a room name is entered for the current room number). However when I decrease the value of the NUD, the NUD.ValueChanged method is called again. Is there a way to prevent the NUD.ValueChanged method from being called when I decrease it's value in the code? Here is some pseudocode of my problem:

Sub NUD.ValueChanged

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

AnswerRe: How to prevent the NumericUpDown from recursively calling Pin
Chinners2-Jun-08 23:40
Chinners2-Jun-08 23:40 
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 

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.