The code I provided was written for standard Windows dialogs with standard controls. It may or may not work with custom application dialogs. I would suggest that you download free
Winspector and start snooping around the dialog in question.
>I am trying to automate another dialog, this time Cisco AnyConnect VPN Client where I need to enter a password. I am looking into laList returned from oWindapi.Getdlgctrllist(lhDlg, @laList) and I dont there a member with a name "Password". Password is a label in a front of a text field. Could you please help me?
--sb--