So, does that line
VaultApp.Login "UserName", "Password", "VaultName"
brings the login dialog for you? This should just login to the vault but not ask for any credentials.
no there is no dialog box that pops up i just hardwired my own info to log in. so could complete the macro
after hours of playing i finally got this to work.
VaultApp.LoginAuto "VaultName", 0
I honestly have no idea what the "0" does maybe you can explain "hparentwnd as Long" does
This is if you writing your own windows form/dialog and want this popup to be displayed within your form you can pass the hwnd of your form and ePDM will make it a parent of the popup window. This is an optional parameter you can leave it as 0.