Questions tagged [version-detection]

31 questions
4
votes
2 answers

Detect .net framework version AND REVISION from Internet Explorer

I know we can detect the major version and SP version from user-agent string. However, I need to distinguish between Revisions as well, i.e. 2.0 RTM (x86) 2.0.50727.42 2.0 RTM (Vista) 2.0.50727.312 2.0 (KB928365) 2.0.50727.832 are…
wizzard0
  • 1,883
  • 1
  • 15
  • 38
3
votes
12 answers

How can I detect the Java runtime installed on a client from an ASP .NET website?

I have an ASP .NET website that hosts a Java applet. The Java applet requires version 1.6 Update 11 of the Java runtime. How can I detect that a client has the appropriate runtime installed so that I can display an informative message if they do…
Carl
  • 2,483
  • 4
  • 28
  • 30
3
votes
3 answers

How to set a version dependent Git global config flag

To keep all of my config files in sync I have a Github repository with all of my settings. While this works fairly well in most cases, some apps have different versions on different machines. So now I am wondering... is there any way to set Git…
Wolph
  • 78,177
  • 11
  • 137
  • 148
3
votes
1 answer

Get Browser's Java Plugin Version?

Question Is it possible to get the version of the Java Plugin being used by the web browser, either through Javascript, or within a Java applet being run by the plugin? Background I'd like to run a Java applet embedded within the browser if the user…
Monarch
  • 79
  • 9
2
votes
1 answer

Makefile: Emit warning gcc version is lower than 4.8.0

The Makefile parameters to gcc A certain Makefile` in an Open-Source project contains the following call: CFLAGS = -I$(RM_INCLUDE_DIR) -Wall -g -fPIC -lc -lm -Og -std=gnu99 The -Og parameter was introduced to gcc 4.8. My OSX contained gcc 4.2.1,…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
2
votes
3 answers

Not Detecting Flash 10: World's Most Widespread Web Video Bug?

Here's the Question: What is the best way to make sure that your requirement for Flash Version "x" on a site will properly detect presence of later-version Adobe Flash Player Version "10" (or "1y" for that matter)? Now here's the mystery: Why are so…
orcmid
  • 2,618
  • 19
  • 20
2
votes
3 answers

Detection of browser version in WPF

Is it possible to find out in what browser version a browser hosted application (XBAP) runs (eg. IE6, IE7 or IE8)? I want to find out the browser version from within the XBAP.
Rob
  • 165
  • 1
  • 1
  • 11
2
votes
1 answer

Detect Installed Software Using Wix

Just to start I'm fairly new to wix. I am currently using version 3.0 with the Votive Visual Studio plug in. I know the upgrade code of an existing software package. I need to be able to detect the installation of this existing program using the…
bberak
  • 292
  • 3
  • 11
2
votes
3 answers

Detect Internet Explorer Version using VB6

I'm updating a legacy app and it has some functionality that detects the version of Internet Explorer that's installed, just for display and error reporting not because any components are required. The code used for IE version detection is basically…
Scott
  • 4,113
  • 6
  • 37
  • 49
2
votes
4 answers

How to detect specific Delphi builds?

This is related to another Delphi-version question but still different; I'm looking for a way to detect the service-pack (or build number) of the Delphi compiler that's compiling my code. The jedi.inc is nice, but it doesn't tell me the exact…
PatrickvL
  • 4,104
  • 2
  • 29
  • 45
1
vote
0 answers

Detecting Java version (runnable in browser) with JavaScript?

I was checking this code provided by Sun that can retrieve a list of the Java Runtime Environments installed on the machine. Here's the code formatted and with some functions removed so it's easier to read: var deployJava = { debug: null, …
mgpia
  • 25
  • 2
  • 4
1
vote
1 answer

How do I determine which platform version is required?

This frequently comes up: I've built software, and possibly used some new language / platform / standard library features that are available on some version (say, Java 1.6.10 or PHP 5.2) upwards, but of course I can't exactly remember. I'm only sure…
Joonas Pulakka
  • 36,252
  • 29
  • 106
  • 169
1
vote
0 answers

Variant anonymous function definitions based on PHP version?

The following fails with a parse error on PHP 5.2.X: if (version_compare(PHP_VERSION, '5.3.0') >= 0) { $greater = function($left, $right) { return $left > $right; } } else { $greater = create_function('$left, $right', 'return $left >…
0
votes
1 answer

Is there a pre-processor variable indicating QNX SDP 6/7 difference?

We have some code originally developed for QNX SDP 6.6 that we are porting to QNX SDP 7.0 (7.1 does not yet have the board support packages we need). As part of the porting effort, we are finding things that have been removed in 7.1, such as…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
0
votes
1 answer

How can I detect if my app runs under IE8 vs IE9 in JavaScript?

I have a piece of functionality which needs to differ between IE8 and IE9 (IE9 uses a very nice library that is the main code path, but a slight minority of users of the app are still on IE8 which the library breaks under. So I need to gracefully…
DVK
  • 126,886
  • 32
  • 213
  • 327