User Profile

Collapse

Profile Sidebar

Collapse
Work007
Work007
Last Activity: Apr 22 '07, 02:50 AM
Joined: Mar 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Work007
    started a topic creating a backspace command button

    creating a backspace command button

    i am trying to create a button so that when it is clicked it removes the values ina textbox one by one from right to left. i have done this:

    Private Sub Button38_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles Button38.Click
    If Len(TextBox1.Te xt) > 0 Then
    TextBox1.Focus( )
    TextBox1.Text = " "
    End If

    But this removes all of the values in the textbox. How...
    See more | Go to post

  • Work007
    started a topic Using a listbox value

    Using a listbox value

    Hi. I really need help on how to use a value stored in a listbox.

    I have a form on which it has the following code. This form allows the user to add a value to the textbox which is on this page and then takes the user to the next page:

    Public Class City
    Dim frm1 As ConfirmDestinat ion 'Our instance of form2
    Dim items As New List(Of String) 'Internal collection of items
    Dim...
    See more | Go to post

  • i tried the code above. I think i am making some mistake somewhere. I replaced List1, List2, and List3 with Listbox1, Listbox2, Listbox3 as these are the names for my listbox.

    secondly Listbox1.Listco utn does not work as Listcount is not a valid method for Listbox

    Thirdly i had specified that:
    if the 1st listbox contains x, and the 2nd listbox contains y, and the 3rd listbox contains z,

    it should...
    See more | Go to post

    Leave a comment:


  • Using a value in a listbox to display a form in an IF statement

    i am using visual basic express edition and i am very new to it.

    I have a form 1 which has a textbox. User adds something to this textbox and clicks on the ADD button. User is taken to form 2 and the value has been added to a listbox.

    on this form 2 there is a listbox which stores values from the previous form. I also have a button on this form. I want to write code for this button so that when it is clicked...
    ...
    See more | Go to post
No activity results to display
Show More
Working...