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

  • Savvy enterprises are discovering that the cloud holds the power to transform IT processes and support business objectives. IT departments can use the cloud to redefine the continuum of development and operations—a process that is becoming known as DevOps. Download the Executive Brief DevOps: Why IT Operations Managers Should Care About the Cloud—prepared by Frost & Sullivan and sponsored by IBM—to learn how IBM SmartCloud Application services provide a robust platform that streamlines …

  • As a development and deployment platform, RHEL offers an efficient, scalable, and robust operating environment with certified security and flexible deployment options in physical and virtualized environments. To assess and quantify the business benefits of RHEL, IDC recently conducted in-depth interviews with IT staff members of 21 companies using RHEL servers. The organizations represent a broad range of industries and have an average of 22,700 employees. RHEL servers accounted for 23% of the servers …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds