Click here to Skip to main content
15,916,188 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get the list of currently Running program Pin
~Khatri Mitesh~24-May-08 6:03
~Khatri Mitesh~24-May-08 6:03 
AnswerRe: Get the list of currently Running program Pin
~Khatri Mitesh~26-May-08 3:46
~Khatri Mitesh~26-May-08 3:46 
Questionstring convert to operator Pin
dimuthuvbnet23-May-08 22:05
dimuthuvbnet23-May-08 22:05 
AnswerRe: string convert to operator Pin
Fu Manchu24-May-08 2:10
Fu Manchu24-May-08 2:10 
GeneralRe: string convert to operator Pin
dimuthuvbnet24-May-08 18:37
dimuthuvbnet24-May-08 18:37 
QuestionRegular Expressions Pin
georgegarvasis23-May-08 18:07
georgegarvasis23-May-08 18:07 
AnswerRe: Regular Expressions Pin
Garth J Lancaster24-May-08 2:39
professionalGarth J Lancaster24-May-08 2:39 
QuestionLoop question (beginner) Pin
mark19223-May-08 5:04
mark19223-May-08 5:04 
I have a question involving how to list more than one condition for a while loop

I understand how the while loop works but I don't know how to make one that needs to meet more than 1 requirement (other than using a while loop inside of another while loop which I want to try and avoid)

I figure I would separate conditions by or but that only results in an overflow

Help please!

Example

Public Class Form1
Dim x, y, z, n, disp As Short
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
n = 0
x = 0
y = 1
z = 2
While n = x Or y Or z
n += 1
disp += 1
End While
Label1.Text = "The loop ran " & disp & " times."
End Sub
End Class
AnswerRe: Loop question (beginner) Pin
darkelv23-May-08 5:12
darkelv23-May-08 5:12 
GeneralRe: Loop question (beginner) Pin
mark19223-May-08 5:18
mark19223-May-08 5:18 
GeneralRe: Loop question (beginner) Pin
darkelv23-May-08 20:29
darkelv23-May-08 20:29 
QuestionRichTextBox, StreamReader & IndexOf problem... Please Help. Pin
infernus4223-May-08 4:30
infernus4223-May-08 4:30 
AnswerRe: RichTextBox, StreamReader & IndexOf problem... Please Help. Pin
Thomas Stockwell23-May-08 10:03
professionalThomas Stockwell23-May-08 10:03 
QuestionCrystal Report Printing from Windows Service Pin
netnest23-May-08 2:44
netnest23-May-08 2:44 
AnswerRe: Crystal Report Printing from Windows Service Pin
Steven J Jowett23-May-08 3:47
Steven J Jowett23-May-08 3:47 
GeneralRe: Crystal Report Printing from Windows Service Pin
netnest23-May-08 3:56
netnest23-May-08 3:56 
GeneralRe: Crystal Report Printing from Windows Service Pin
Steven J Jowett23-May-08 4:18
Steven J Jowett23-May-08 4:18 
GeneralRe: Crystal Report Printing from Windows Service Pin
netnest23-May-08 4:26
netnest23-May-08 4:26 
GeneralRe: Crystal Report Printing from Windows Service Pin
Steven J Jowett23-May-08 4:36
Steven J Jowett23-May-08 4:36 
QuestionMultiple assemblies - System.IO.FileNotFound Exception [modified] Pin
theitmueller23-May-08 1:28
theitmueller23-May-08 1:28 
QuestionScanning/Enumeration of Registry keys Pin
sonia.sardana22-May-08 22:35
sonia.sardana22-May-08 22:35 
AnswerRe: Scanning/Enumeration of Registry keys Pin
Tony Richards22-May-08 23:45
Tony Richards22-May-08 23:45 
GeneralRe: Scanning/Enumeration of Registry keys Pin
sonia.sardana23-May-08 0:02
sonia.sardana23-May-08 0:02 
GeneralRe: Scanning/Enumeration of Registry keys Pin
Tony Richards23-May-08 0:05
Tony Richards23-May-08 0:05 
GeneralRe: Scanning/Enumeration of Registry keys Pin
sonia.sardana23-May-08 0:07
sonia.sardana23-May-08 0:07 

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.