PDA

View Full Version : _InternetExplorerVer



Buffman
04-06-2009, 06:29 PM
Can anyone tell me why this code, referenced in the manual, doesn't work?

On Startup:

if _InternetExplorerVer == "0.0.0.0" then
Dialog.Message("Internet Explorer", "Internet Explorer is not installed");
else
Dialog.Message("Internet Explorer", "Internet Explorer version " .. _InternetExplorerVer .. " is installed on this system");
end

Error: "On Startup, Line 4: attempt to concatenate global '_InternetExplorerVer' (a nil value)"


Thanks

mwreyf1
04-06-2009, 08:03 PM
You also have to turn on the dependency check for IE.

Look under Project > Dependencies > Applications and select Internet Explorer.

Buffman
04-07-2009, 04:30 PM
Hmmm all I saw was IE ActiveX Control under dependencies. Not sure if thats what your talking about.

Anyways, I just wrote my own code to check the version. Thanks for the info, though!

mwreyf1
04-08-2009, 08:30 AM
The IE ActiveX control is what you are suppose to use.

It is a little confusing since they mention ActiveX, but that is what you use.

Give it a try.