CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: combobox.text

  1. #1
    Join Date
    Apr 2001
    Posts
    14

    combobox.text

    I want to set a variable to the value of the combox.text that is selected by the user. I keep getting errors.
    Currently I have a combobox "cboStartTimes" that contain 6:00 am (24 hours)through 5:am in the list property of cboStartTimes.

    I have it setup this way:


    Dim strStart as string
    strStart = cboStartTimes.text



    This does not work. As you can see, I am a newbie trying to learn some VB.


  2. #2
    Join Date
    Apr 2001
    Posts
    14

    Re: combobox.text(solved)

    Forget it, I solved the problem


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured