Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Web Page to not open in IE
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Force Web Page to not open in IE
Divers
Thread ID:
01685064
Message ID:
01685064
Vues:
71
Perhaps someone can help me. I have an app (built it back in 2022 and update it a few times a year) that opens a Web Page from my site upon app startup and remains in the background. Now that IE has been retired, I would like to force this to never open in IE as link's to click on the page do work correctly in IE (such as PayPal, etc.).

Is there anyway to include some kind of code here, or perhaps in the web page that would stop IE from being used?

This is the partial code I borrowed from UT many years ago - as seen in the following.
* Have to assign lcWebAddress to a private variable or it will not be used in this class.
m.myWebAddress = lcWebAddress
* This procedure will setup the Web browser in the main VFP window.

* This code adds a browser to the vfp desktop. This routine came from UT and we modifed it.
IF VARTYPE(_Screen.myBrowse) = "O"
    * This makes sure the object doesn't already exist.
	RETURN
ENDIF
_Screen.AddObject("myBrowse", "iNet")
_Screen.myBrowse.Visible = .T.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform