Results 1 to 4 of 4

Thread: Please help me regarding in Combo Box

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    178

    Please help me regarding in Combo Box

    how to link the combo box into the other forms



    may i know the code on how to link the combo box into the other form , example when i press pc2 the other pc2.frm form will be open ....there is a PC2 form everytime i choose in menu it will redirect me to the link form each of them has a form beginning in PC1-PC14.frm how can i make it to link me to the form i chose

    Thanks a lot

  2. #2
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968

    Re: Please help me regarding in Combo Box

    I don't know if this is the best way, but try something like this:

    Code:
    Private Sub Combo1_Click
    
    Select Case Combo1.Text
         Case Is = "PC2"
              frmPC2.Show
         Case Is = "PC3"
              frmPC3.Show
    
         'rest of forms here
    End Select
    
    End Sub
    If somebody helps you, take time to RATE the post. I do.

    "FAILURE IS NOT AN OPTION. It comes bundled with the software."

    Below are some of the threads that have helped me along the way:

    CodeBank submission:
    Listview Backcolor (without subclassing)

    Loading Treeview Nodes From A Database, Creating Registry Keys, Count Number of Lines in TextBox , Excellent RichTextBox Tricks & Tips
    Ideas & Screen Shots For A Code Library App
    How to do Data validation in Excel, Conditional Formating in Excel

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    178

    Re: Please help me regarding in Combo Box

    Thanks lot Thankyou very much

  4. #4
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968

    Re: Please help me regarding in Combo Box

    Your welcome

    If it's now resolved could you use the Thread Tools menu to mark it resolved.
    If somebody helps you, take time to RATE the post. I do.

    "FAILURE IS NOT AN OPTION. It comes bundled with the software."

    Below are some of the threads that have helped me along the way:

    CodeBank submission:
    Listview Backcolor (without subclassing)

    Loading Treeview Nodes From A Database, Creating Registry Keys, Count Number of Lines in TextBox , Excellent RichTextBox Tricks & Tips
    Ideas & Screen Shots For A Code Library App
    How to do Data validation in Excel, Conditional Formating in Excel

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