Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Server Automation
Message
From
10/07/2008 16:14:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Web Server Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01330352
Message ID:
01330352
Views:
80
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
Next
Reply
Map
View

Click here to load this message in the networking platform