Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Server Automation
Message
De
10/07/2008 16:14:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Web Server Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01330352
Message ID:
01330352
Vues:
79
Hi,

With the following lines of code I am able to access my web portail. But I am stuck there. Cannot go forward.

loIE = Createobject("internetexplorer.application")
loIE.Visible = .T.
loIE.Navigate("https://mysite.com/remote/login")
loIE.Document.Forms(0).username.Value = "myuser"
loIE.Document.Forms(0).credential.Value = "mypwd"
loIE.Document.Forms(0).submit()


I need to programmatically click on a link to continue. The link use a javascript and looks like this:

javascript:openAppletWindow('/remote/rdp?host=1.1.1.1','rdp2996243622lx1',400,300);


Then how to exec a javascript in VFP ?
Thank you in advance.
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform