Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell.Explorer.2 (create new session)
Message
De
06/07/2010 16:50:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Shell.Explorer.2 (create new session)
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01471600
Message ID:
01471600
Vues:
191
Dear All,

How can I create a create a New Session using Shell.explorer.2 as an object added to my form.

I have IE 8 installed.

Here is my code:
*---------- setting class library to frx2any.vcx
cOldClassLib = Set("CLASSLIB")
Set Classlib To "vatp.vcx" Additive

Thisform.AddObject("webx1","webx")

Thisform.webx1.Visible=.T.

Thisform.webx1.registerAsBrowser= .T.

Thisform.webx1.Top=0
Thisform.webx1.Left=0
Thisform.webx1.Height=630
Thisform.webx1.Width=this.Width
Thisform.webx1.Navigate("http://www.msn.com")

*---------- resetting back CLASSLIB
Set Classlib To &cOldClassLib
 
After I navigate to different links on MSN website,
I want to create a New Session. I tried this and did not work:
RELEASE webx1

Thisform.RemoveObject("webx1")

&& then I re-add object webx1 again using the above code.
The new webx1 has the same last page that the old webx1 had and not a fresh home page.

Any help?

Thanks

Bob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform