Information générale
Catégorie:
COM/DCOM et OLE Automation
>
>I did have another thought - if you know the text for the dialog box's caption, you might try using the Windows FindWindow API call to search for the hWnd of the dialog box, and then directly address the dialog box via it's hWnd using SendMessage() or PostMessage() to send keystrokes to that window - it's less haphazard than trying to find the right window knowing only the IE COM reference.
I wasn't aware that you could send keystrokes with sendmesage and postmessage. I'll take a look at that. Do you think this will be less temperamental than my current solution of using the WSH to pass keystrokes?
I've spoken to my client... I'm afraid we won't be sending the bag of USD to your backdoor just yet. Between you and me I have found that there is a team here who downloads these files to a shared drive everyday anyway, so I could use these, but I thought this is a good opportunity to play around with IE for a while.
Laters
Mace
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement