Drop-down the DataComboBox in VB6

Monday Oct 13th 2003 by Johan Ooghe

Shows how to drop down the DataComboBox in VB6 when the SendMessage API call doesn't work. (Originally posted May 2, 1999.)

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()
    SendKeys "%{Down}"
End Sub

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

Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved