Click here to Skip to main content
15,921,179 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionConstructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 10:30
professionalAlaric_4-May-09 10:30 
AnswerRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
MidwestLimey4-May-09 10:39
professionalMidwestLimey4-May-09 10:39 
GeneralRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 11:30
professionalAlaric_4-May-09 11:30 
AnswerRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) [modified] Pin
Alaric_4-May-09 10:52
professionalAlaric_4-May-09 10:52 
GeneralRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 10:57
professionalAlaric_4-May-09 10:57 
Questionif statement.... Pin
Jamal Abdul Nasir4-May-09 9:55
Jamal Abdul Nasir4-May-09 9:55 
AnswerRe: if statement.... Pin
MidwestLimey4-May-09 10:05
professionalMidwestLimey4-May-09 10:05 
AnswerRe: if statement.... Pin
Dalek Dave4-May-09 10:25
professionalDalek Dave4-May-09 10:25 
<blockquote class="FQ"><div class="FQA">Jamal Abdul Nasir wrote:</div> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
 If Not Me.TextBox1.Text = "a" And Not Me.TextBox1.Text = "b" Then            MsgBox("1")        Else            MsgBox("2")        End If    End Sub</blockquote>


Use And not Or

If it is not A and Not B then do something, else do something else.

------------------------------------

"Children today are tyrants. They contradict their parents, gobble their food and tyrannize their teachers. I despair for the future."
Socrates 400BC

GeneralRe: if statement.... Pin
Andy Missico4-May-09 14:57
Andy Missico4-May-09 14:57 
AnswerRe: if statement.... Pin
Tiyani Miyambo4-May-09 22:42
Tiyani Miyambo4-May-09 22:42 
GeneralRe: if statement.... Pin
Christian Graus4-May-09 22:46
protectorChristian Graus4-May-09 22:46 
GeneralRe: if statement.... Pin
Dave Kreskowiak5-May-09 3:20
mveDave Kreskowiak5-May-09 3:20 
Questionsourcecode download Pin
Vb200914-May-09 5:05
Vb200914-May-09 5:05 
AnswerRe: sourcecode download Pin
Tom Deketelaere4-May-09 5:16
professionalTom Deketelaere4-May-09 5:16 
AnswerRe: sourcecode download Pin
Dave Kreskowiak4-May-09 5:16
mveDave Kreskowiak4-May-09 5:16 
AnswerRe: sourcecode download Pin
Christian Graus4-May-09 13:36
protectorChristian Graus4-May-09 13:36 
GeneralRe: sourcecode download Pin
Rajesh Anuhya4-May-09 18:39
professionalRajesh Anuhya4-May-09 18:39 
QuestionHow can I take one record from one form and the values to open another form? Pin
waner michaud4-May-09 3:27
waner michaud4-May-09 3:27 
AnswerRe: How can I take one record from one form and the values to open another form? Pin
Tom Deketelaere4-May-09 3:37
professionalTom Deketelaere4-May-09 3:37 
GeneralRe: How can I take one record from one form and the values to open another form? Pin
waner michaud4-May-09 5:42
waner michaud4-May-09 5:42 
GeneralRe: How can I take one record from one form and the values to open another form? Pin
Andy Missico4-May-09 14:54
Andy Missico4-May-09 14:54 
AnswerRe: How can I take one record from one form and the values to open another form? Pin
Tiyani Miyambo4-May-09 22:47
Tiyani Miyambo4-May-09 22:47 
GeneralRe: How can I take one record from one form and the values to open another form? Pin
waner michaud6-May-09 8:34
waner michaud6-May-09 8:34 
Questionhow to print in textbox value? Pin
JC.KaNNaN4-May-09 0:11
JC.KaNNaN4-May-09 0:11 
AnswerRe: how to print in textbox value? Pin
Tiyani Miyambo4-May-09 0:21
Tiyani Miyambo4-May-09 0:21 

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.