Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Web Page to not open in IE
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Force Web Page to not open in IE
Miscellaneous
Thread ID:
01685064
Message ID:
01685064
Views:
70
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.
Next
Reply
Map
View

Click here to load this message in the networking platform