Drop-down the DataComboBox in VB6

Drop-down the DataComboBox in VB6

The Api SendMesssage to dropdown a datacombobox (oledb) in vb6 doesn't work. it can be done with the following code:



private Sub Command1_Click()
    DataCombo1.SetFocus
    SendKeys "%{Down}"
End Sub


- this sends the alt + down arrow characters to the combobox.



Comments

  • TOo fAst

    Posted by pikato on 06/26/2005 11:39am

    Its very nice...

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

  • Do you know where your data is? Consumer cloud-based file sharing services store your sensitive company data on servers outside of your control, outside of your policy and regulatory guidelines – maybe even outside your country – and not managed by you. The potential for data leakage, security breaches, and harm to your business is enormous. Download this white paper to learn about file sync and share alternatives that allow you to manage and protect your sensitive data while integrating and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds