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

  • On-demand Event Event Date: March 27, 2014 Teams need to deliver quality software faster and need integrated agile planning, task tracking, source control, auto deploy with continuous builds and a configurable process to adapt to the way you work. Rational Team Concert and DevOps Services (JazzHub) have everything you need to build great software, integrated seamlessly together right out of the box or available immediately in the cloud. And with the Rational Team Concert Client, you can connect your …

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds