Jump to content
Xtreme .Net Talk

BlueOysterCult

Avatar/Signature
  • Posts

    87
  • Joined

  • Last visited

Everything posted by BlueOysterCult

  1. Hello everyone, For the life of me - I can't figure out how to set the default value of my comboBox to display the first item in the category i.e. "+". Rob
  2. as in strOrderSummary &= iif(radDlivery.checked, "Delivery", "Take out")
  3. What does the "iif" acronym mean? Rob
  4. Hello, I am asked to display a "stub" message box - is it different than an ordinary message box? Rob
  5. Thank You! It worked- Ya learn something new everday!! I appreciate it Rob
  6. Hello All I am getting used to VB.net - I remember (I think) in VB 6 that if a txtBox.text = "" then it was considered a blank field. I can't get this code to work - I keep getting the message box (error) but I want the ELSE statement to work if it is ( the fields) filled in. Code Private Sub btnOrder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOrder.Click If txtName.Text = "" Or cmbBrand.Text = "" Or cmbStyle.Text = "" Or cmbSize.Text = "" _ Or (radMensShoes.Checked = False Or radWomensShoes.Checked = False) Then MsgBox("Please fill in all fields" & Environment.NewLine & "you may leave width unchecked") Else txtBox1.Text = ("Thank You " & txtName.Text & Environment.NewLine & "Men's Shoes:" & radMensShoes.Checked & _ Environment.NewLine & "Women's Shoes:" & radWomensShoes.Checked & Environment.NewLine & "Brand: " & cmbBrand.Text & Environment.NewLine & _ "Style: " & cmbStyle.Text & Environment.NewLine & "Size: " & cmbSize.Text & Environment.NewLine & "Width:" & chbWidth.Checked) End If End Sub Thanks Rob
  7. duh... thanks
  8. How may I asked is that used? MsgBox("Thank you for your order" & txtName.Text, Environment.NewLine radMansShoes. ) ??
  9. Hello again, I would like my msgBox text to have a few (3) sentences - one below the other - and I remember seeing something like "vbline" to make that happen.. Is that correct? Rob
×
×
  • Create New...