Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtain an object reference to 3rd party dialog box.
Message
De
27/07/2000 11:40:01
 
 
À
27/07/2000 07:47:04
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00397494
Message ID:
00397637
Vues:
11
>Hi everyone
>
>I have a reference to an IE object.
>
>The IE object creates a `save as` dialog box.
>
>I would like to set the filename and click OK automatically.
>
>I have done this with the Windows Scripting Host and the sendkeys method ( see bottom), but its horrible and worse still unreliable.
>
>Is there anyway for me to get a reference to this dialog box and do this properly using the methods and properties of the dialog box?
>

Why not simply get a reference to the running instance of IE (You can use the Windows collection of Shell.Application to get the list of running IE instances) and then simply suck up the inner or outer HTML as appropriate and save it yourself, avoiding the menu entirely?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform