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.

IT Offers

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.

Go Deeper

  • Implementing a new ERP system can be the answer to your prayers, or your worst nightmare. Stay aware of the pitfalls with this up-to-date …
  • The number, complexity, and diversity of cyber threats are soaring. Businesses are increasingly concerned about the risks they face and 91% …
  • When the economy is stable, a company's IT organization may view Finance as just one of many internal customers competing for attention. But …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds