Peter,
Thanks for the help. I tried the following code it didnt work. Are you sure
its F4? Does the kb_event line look right?
Thanks.
private const byte VK_F4 = 0x73;
[DllImport("coredll.dll")]
private static extern void keybd_event(byte bVk, byte bScan, uint
dwFlags, uint dwExtraInfo);
protected void ExpandDropDown(ComboBox cb)
{
cb.Focus();
System.Windows.Forms.Application.DoEvents();
keybd_event(VK_F4, 0, KEYEVENTF_KEYDOWN, 0);
}
Thanks Again!!!