<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Nov 2014 19:28:00 Z</lastBuildDate><pubDate>7 Nov 2014 19:28:00 Z</pubDate><description>Hi,&#13;
&#13;
This issue has a rather long introduction, but as always: one thing leads to another so here's the full story.&#13;
&#13;
I thought I would give the WB19 upload control another try and see if it still depended on Flash.&#13;
Well, the good news is that it's now completely HTML5 based, so Apple users now can use it too.&#13;
I started with a multi upload control, even the drag&amp;drop worked fine.&#13;
Of course there had to be a catch.&#13;
For a single upload control d&amp;d did not work, the uploaded file was displayed in the browser.&#13;
I thought I found a solution by replacing the static used for d&amp;d by an edit control in editable state and yes, it worked.&#13;
However when I started testing other browsers (Chrome is my default) Firefox and Safari still were displaying the uploaded file in the browser.&#13;
&#13;
Well, no problem, then I just had to change the caption that showed "Drag and drop a file here or press Upload" for these two browsers.&#13;
Now I'm really in a mess, because most browsers tell me that they are several browsers.&#13;
BrowserName() returns:&#13;
IE Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; BOIE9;NLNL; rv:11.0) like Gecko Firefox Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Opera Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 OPR/25.0.1614.68 Safari Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2 Chrome Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 This is an example of the browsers installed on my dev machine, but imagine what kind of algorithm one needs when considering older versions too. I'm afraid this is an impossible task.&#13;
Opera and Chrome both tell me they are Chrome&#13;
Safari, Opera and Chrome all list Safari&#13;
and so on...&#13;
I guess I have to inform users that this and that feature does not work in browser so and so.&#13;
&#13;
BTW: in my experience Opera and Chrome have very few issues regarding WB sites. Safari on third place, followed by IE which is slowly getting better. (although it always looks a bit funny compared to the others)&#13;
Firefox is going down fast.&#13;
&#13;
Regards,&#13;
Piet</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48836-wb19-browser-recognition/read.awp</link><title>[WB19] Browser recognition</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
