Quantcast
Channel: Internet Explorer Web Development forum
Viewing all 3527 articles
Browse latest View live

How to download base64 image from IE 8/10

$
0
0

Hi,

I want to download base 64 image on button click in IE 8 and 10. I have used anchor tag download attribute and window.open() but its not downloading image. Same code is working in chrome.

Please advise.

-Thanks in Advance


Nilesh Jain


MicrosoftStore like dropdown menu

$
0
0

I have spent 2 days searching and have not found any good sample codes that can produce a dropdown menu like onMicrosoft Store. Has anyone here done something similar?

I found some bootstrap codes (Bootstrap 3 dropdown) and jQuery codes (jQuery Multi-level Navigation) that produces a multilevel dropdown menu, but do not have submenu open like Microsoft store. The 2nd level sub-menu is smaller and doesn't have a way to put the image.

Any help would be appreciated.

Size of Windows Update KB3087985

$
0
0

Is Windows Update KB3087985 (to fix an Internet Explorer problem) a huge file?

Could it have used 3.55 Gigabytes (of my 5.0 GB data utilization monthly allowance) to download?

pdf in edge on windows 10

$
0
0

Hi,

I was hoping we would have fixed this in the edge version, much to my disappointment..can someone help

IE11 on Windows 8.1 does not play MP4 html

$
0
0
Hi,

I work with Flowplayer OY, manufactures of the Flowplayer HTML5 video player.

We test our software with all available browsers which can play html5 video and older ones where the player falls back to Flash.
So far it worked perfectly for us with the IE11 / Win 8.1 test VM as well as about a dozen live systems ranging from older laptops with integrated graphics to two month-old high-end octacore systems with a Geforce Titan-X.

Apparently it also works for thousands of IE11 site visitors, as we did not get complaints so far, except one two years ago (concerning an older build of IE11 and an older version of Flowplayer), another one seeing the same problmes in April 2015, and one from a user a week ago.

They presented screenshots showing that the implemenation on their site does not play the video but produces a "html5 file not found" error for the clip, which is a slightly customized message referring to either a 404 error for a file, or an aborted network request.
This concerns a single video embed on the site, and according to them also simple demos like http://demos.flowplayer.org/basics/minimal.html .

We checked their site in all our IE11 setups without seeing any error, as well as in IE10 and Edge. When trying to narrow down the issue we asked them to test with a simple <video> tag, namely on

http://demos.flowplayer.org/videotest/mp4.html

and they said that would not work either. Our assumption was that something in their IE setups , settings or build must be wrong, or that they experience symtopms like the missing codecs for K/KN versions of Windows 7 or on Server 2008, as described in https://msdn.microsoft.com/en-us/ie/ff959805.aspx .

A similar problem has also been described (for an older IE11 build)in
https://connect.microsoft.com/IE/feedback/details/805982/html5-video-playback-problem-ie-11-windows-8-1-invalid-source but seems to be rarely reproducible.

The videos are delivered with standard byte-range requests with video/MP4 MIME typde from Cloudfront or MaxCDN 


The user now claimed the following which we judge as unlikely but would like to get third-party opinions on. They say that the information in for example 

https://msdn.microsoft.com/en-us/magazine/hh561710.aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/en-us/library/hh924821(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/ff975073(v=vs.85).aspx

regarding the standard <video> tag has been silently invalidated by Microsoft due to a content-protection strategy which disables html5 video for pure tag implementations (which usually allow right-click downloading of the source) on some computers.
They also claim that this would be enforced by US-American "politics" and therefore not be visible here in Europe. 

So I'd like to ask the valued community if 

a) anyone experienced similar issues with a html5 video player, and knows about a specific bug, setting or feature in IE11 which could cause the problem

b) anyone who finds the time to check the demos on http://demos.flowplayer.org/basics/minimal.html etc can reproduce the error

c) anyone can comment the claims above

Thank you for your time.

How to run ShellExecute in Javascript?

$
0
0

Hi

How to run this code in my browser? I tried, and notepad did not open. 

<script language="VBScript">

    function fnShellExecuteVB()

        dim objShell

        set objShell = CreateObject("shell.application")       

objShell.ShellExecute "notepad.exe", "", "", "open", 1       

set objShell = nothing

    end function

https://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx

thx

Windows 10 Edge browser

$
0
0

Hi,

In my Windows 10 machine, I have Edge browser set up as the default browser. However, when I double click on a XML file, the file opens up in IE 11. How can I change that behavior to open up directly in Edge? Also, when I right click on the XML file and try to chose the default app for opening these kind of files, I am not able to locate the Edge browser app. Where can  I find it ? Does some kind of ".exe" or likewise exist for Edge browser which on double click can launch the Edge browser directly ?

Thanks,
Abhishek

How to redirect to IE content using Active X controls when opened with Edge/Win 10 ?

$
0
0

Based on a link I have found (can't post it here due to the forum software) there is apparently a way to show a special purpose page displaying:

"

This website needs Internet Explorer This website uses technology that will work best in Internet Explorer.

Open with Internet Explorer 

Keep going in Microsoft Edge

"

It will be very helpful for my applications using Active X controls. I have already code such as 

<meta http-equiv="X-UA-Compatible" content="IE=10;requiresActiveX=true" />

in my head section (added in the past to avoid Metro style for Win 8), but it doesn't do the trick (unlike someone mentioned at the link above).

I'll be glad to learn about the proper code to add to achieve this.


video element currentTime discrepancy

$
0
0
I'm working on a project where we are using the value from the video element's currentTime property to perform processing on the server backend. I've come across an issue where the video element seems to report a time code that is slightly farther forward in the video than the frame that is visible in the video element.

So for instance if the currentTime property reports that the current video time is 26.83 I might find that the frame I really want ended at 26.72 and so if I use the time to extract a frame on the server I get the next frame instead of the current frame.

The amount of offset seems to be slightly different in different parts of the video and in different videos. But the offset is usually close to one tenth of a second. Interestingly, I'm seeing similar behaviors in other browsers though the amount of offset is different.

Any ideas on what could be causing this behavior?

IE doesn't send Cookies with expiration time while getting contents to print.

$
0
0

To print(press Ctrl-P or window.print()), Internet Explorer re-fetch contents (ex. images).

In this case IE sends only session Cookies (without expiration time).

Cookies with expiration time are not sent.

Therefore, IE cannot get contents which require authorization.

I've found this on IE 11.

navigator.msLaunchUri issue in Edge

$
0
0

We are usingnavigator.msLaunchUri method as protocol handler in our application. As per the MSDN documentif the user's system does not have a program registered to handle a specific protocol, the Internet Explorer will invoke thenoHandlerCallback. It is the fallback mechanism which the developer can define to handle when such scenarios happen. But in case of EDGE thenoHandlerCallback is not executed. It is automatically redirecting to the default fallback mechanism of opening the Windows Store dialog to open the program. Can someone confirm if such issue is happening in EDGE? If yes, can we expect a fix sometime soon?

Thanks.

Explorer bars Issue in Internet Explorer 10/11 64 bit operating system

$
0
0

While testing our WEB application using IE10 on Windows 7 operating System, we have found the difference between Windows 7 32 bit and 64 bit operating system because of which we are seeing application behaves differently with respect toexplorer bars.

We are using customized explorer bar.

We have installed our 32 bit application in Windows 7 (64 bit) operating system with IE10.

Problem description

Application installed in Windows 7 64 BIT Operating System.

Multiple users will be created in the machine where application is installed.

We see that whenever a new user(Standard User account) created and logged into the workstation, Explorer bar isNOT loading until weremove the following registry keys.

  • Computer->HKEY_CURRENT_USER->Software->Microsoft->Windows->CurrentVersion->Explorer->Discardable->PostSetup->Component Categories->{00021493-0000-0000-C000-000000000046}
  • Computer->HKEY_CURRENT_USER->Software->Microsoft->Windows->CurrentVersion->Explorer->Discardable->PostSetup->Component Categories->{00021494-0000-0000-C000-000000000046}
  • Computer->HKEY_CURRENT_USER->Software->Microsoft->Windows->CurrentVersion->Explorer->Discardable->PostSetup->Component Categories64->{00021493-0000-0000-C000-000000000046}
  • Computer->HKEY_CURRENT_USER->Software->Microsoft->Windows->CurrentVersion->Explorer->Discardable->PostSetup->Component Categories64->{00021494-0000-0000-C000-000000000046}

Application installed in Windows 7 32 BIT Operating System.

We are NOT facing this issue. Application is working as expected. We no need to delete any registry keys.

From the MICROSOFT site, we  have understood the reason for this issue is theEnumeration cache.

Following is the reference link

https://msdn.microsoft.com/en-us/library/windows/desktop/cc144099(v=vs.85)

NOTE :

The same setup of our application is working without any issue in Windows 7 32 bit operating system.

Also We observed the same issue in other versions of IE(8 and 9) as well.

Now the question is Enumeration cache happens only in 64 bit version of windows?
Is 32 bit operating system have any different way for the enumeration cache?

When an mht file is opened in IE11 , mode is getting changed IE7(default)

$
0
0

Any .mht file opened using IE11, the mode is getting changed to default IE 7(this has been observed using F12-> Developer Tools).

This problem exists with only IE11, I have tried in IE9  and  .mht files are working fine.

1. Is this a known issue?

2. why the mode set to IE7(default), when IE11 is used?

Would you please provide any workaround to make sure that its always set IE mode to latest(edge).

Regards,

Syam Devendla

All things connected

$
0
0

I was warned not to download windows 10. That it was a scam and would crash all your devices. Well my Sony Blu- ray player apps won't open . You tube, Hulu Plus, Amazon and more. I know it is from the windows 10 download. So now Microsoft What shall I do?

Internet Explorer 11 Problem with event.clientX

$
0
0

ClientX does not give me the position of the moues when i close the window

With IE 10 it works without any Problems, i ve tested it with the last two version of the IE11 (11.0.12 and 11.0.13).

I put a little site for testing.

<html><head><meta http-equiv="X-UA-Compatible" content="IE=11"/> // To change the browser mode<title>ClientX Example</title><script type="text/javascript">

function onLogoff() {

                        if (navigator.appName == 'Netscape') { // IE 11

                                   var windowLaenge = (document.documentElement.clientWidth ? document.documentElement.clientWidth

                                                                                              : document.body.clientWidth);

                                               if (window.event.clientY <= "0"&& (window.event.clientX > (windowLaenge - 16) || window.event.clientX < 16)) {



                                   }

                                   alert("Netscape: X: " + window.event.clientX + "  Y:" + window.event.clientY);

                        }

                        if (navigator.appName == "Microsoft Internet Explorer") { // IE 10

                                   var windowLaenge = (document.documentElement.clientWidth ? document.documentElement.clientWidth

                                                           : document.body.clientWidth);

                                   if (window.event.clientY <= "0"&& (window.event.clientX > (windowLaenge - 16) || window.event.clientX < 16)) {



                                    }

                                   alert("Microsoft Internet Explorer: X: " + window.event.clientX + "  Y:" + window.event.clientY);

                        }

}

</script></head><body onbeforeunload="onLogoff()"><p>Close Window to show the alert with the position of the mouse</p></body></html>


 



Micosoft Edge cannot read local files with ajax method of JQuery

$
0
0

I'm creating a program to access local files using the ajax method of JQuery.
This program is working correctly in IE11 and older version but failing in microsoft edge browser.

It is showing the 'Network error ' for the same and going to error section in Microsoft Edge.

Can someone let me know the workaround for the same.

Here is my code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="js/jquery-1.11.3.min.js"></script>

<script>
$("document").ready(function(){
    BrandAllMenu();
});

function BrandAllMenu() {
           var  xmlPath = "branding.xml";
           $.support.cors = true;
            $.ajax({
                type: "GET",
                url: xmlPath,
                async: false,
                dataType: "xml",
                success: function () {
                    alert("in");
                },
                error: function (jqXHR, textStatus, errorThrown) {
                    alert("jqXHR: " + jqXHR.status + " Response text : "+ jqXHR.responseText);
                    alert("Menu XML test status: " + textStatus);
                    alert("Menu XML: " + errorThrown)
                }
            });

   
            
      }

</script>
</head>

<body>

</body>
</html>

IE.11 F12 Developers Tools Missing the Attributes Tab

$
0
0

Hello,

I'm using the re-designed IE.11 F12 Developers Tools.

In the past I have mostly used to tool to grab attribute details.

Such as 'id', text, href. All of which were lifted from the html and represented on the right hand window in an easy to read list of name & value.

In the recent release of the Developer Tools I can see DOM Explorer and in the right hand window Styles/Computed/Layout/Event/Changes.  But I can't see any 'id' or text type attributes.

Where has MS hidden the attributes?

Thank You in advance for any answer or help!

VB ASPX form Multiple File Upload not working in IE10

$
0
0

I use the <asp:FileUpload ID="File" AllowMultiple="true" runat="server"/> in an aspx page.

It runs fine on IE11 (my development laptop). But when I go to put on the desktops all fixed with IE10 - then when I browse - I can only select one file at a time....

Can any one give me a clue as to what switch I need to work on to get this working. IE10 is not working in compatibility mode.

input caret bleeding through overlay div

$
0
0

Please have a look on this issue, it comes on almost all version of IE.


http://jsfiddle.net/arunthakur14/qobvawr9/

Unable to upload the files on server by using AJAX on IE 11 on update version 11.0.21 by using the https

$
0
0

Unable to upload the files on server by using AJAX on IE 11 on update version 11.0.21

This problem only occurs on that version on https only and for the rest it works fine. In this also it sometimes gets uploaded successfully.

Below is the client side code for uploading the image :

function Upload(fd, url, obj, mp) {
        var xhr = new XMLHttpRequest();
        var ul = {};
        xhr.upload.addEventListener("loadstart", function () {
            ul.percent = 0;
            ul.progress = InitProgress(obj, mp);
        }, false);
        xhr.upload.addEventListener("progress", function (e) {
            var percent = 0;
            var position = e.loaded || e.position;
            var total = e.total;
            if (e.lengthComputable) {
                percent = Math.floor(position / total * 100);
            }
            percent = percent > 100 ? 98 : percent;
            ul.percent = percent > 10 ? percent - 5 : percent;
            ul.progress.Set(ul.percent);
        }, false);
        xhr.upload.addEventListener("load", function (e) {
            ul.percent = 95;
            ul.progress.Set(ul.percent);
        }, false);
        xhr.onload = function () {
            ul.percent = 100;
            ul.progress.Set(ul.percent);
            try {
                var resp = this.response;
                ul.response = JSON.parse(resp);
            }
            catch (e) {
                ul.response = { status: -1, message: 'An error occurred while uploading file. Please contact Talisma administator. Error code: ' + this.status };
            }
            if (ul.response.status == -100) {
                location.herf = "LogoutTalisma.aspx";
                return;
            }
            ul.progress.Done(ul.response);
        }
        xhr.open("POST", url, true);
        ul.xhr = xhr;
        ul.send = function () {
            xhr.send(fd);
        };
        return ul;
    }

And this is the server side code for upload the image:

private void InterAttachmentUpload() {
            MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 1");
            HttpFileCollection uploads = HttpContext.Current.Request.Files;
            try
            {
                MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 2");
                //FixMarch22(101-240)
                long UploadLength = -1;
                UploadLength = Convert.ToInt64(Application["maxAttachmentSize"]);
                long ActualFileSize = 0;
                for (int i = 0; i < uploads.Count; i++)
                {
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 3:" + i.ToString());
                    HttpPostedFile upload = uploads[i];

                    if (upload.FileName == "")
                        continue;

                    #region Extn Check
                    string restrictedAttacmentTypes = "," + System.Web.HttpContext.Current.Application["RestrictedFileFormat"].ToString()+ ",";
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 4:" + i.ToString());
                    string extn = Path.GetExtension(uploads[i].FileName);
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 5:" + i.ToString());
                    if (!String.IsNullOrEmpty(extn))
                    {
                        MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 6:" + i.ToString());
                        extn = "," + extn.Trim('.') + ",";
                        if (restrictedAttacmentTypes.Contains(extn))
                        {
                            MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 7:" + i.ToString());
                            error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_FILETYPENOTSUPPORTED;
                            status = -1;
                            return;
                        }
                    }
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 8:" + i.ToString());
                    #endregion
                    #region UploadLengthCheck
                    ActualFileSize += uploads[i].ContentLength;
                    if (UploadLength != -1) //Do a file size check only when UploadLength is specified.
                    {
                        MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 9:" + i.ToString());
                        if (ActualFileSize > UploadLength * 1024)
                        {
                            MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 10:" + i.ToString());
                            string strErrorString = string.Format(Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_MAXSIZEERRROR, UploadLength + " KB");
                            error = strErrorString;
                            status = -1;
                            return;
                        }
                    }
                    #endregion

                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 11:" + i.ToString());
                    Guid fileId = Guid.NewGuid();
                    string fileName = upload.FileName.Substring(upload.FileName.LastIndexOf("\\") + 1);
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 12:" + i.ToString());
                    using (System.IO.BinaryWriter bw = new BinaryWriter(File.Open(Server.MapPath(@"../Attachments/" + HttpContext.Current.Session.SessionID+ "=" + fileId + "=" + fileName), FileMode.Create)))
                    {
                        MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 13:" + i.ToString());
                        byte[] fileBytes = new byte[upload.InputStream.Length];
                        upload.InputStream.Read(fileBytes, 0, Convert.ToInt32(upload.InputStream.Length));
                        bw.Write(fileBytes);
                        MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current,"NSE entering InterAttachmentUpload 14:" + i.ToString());
                        bw.Close();
                    }
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 15:" + i.ToString());
                    if (i==0)
                        str_InterError = "{ \"filenm\":\""+ fileName + "\",\"id\":\""+ fileId + "\",\"sid\":\"" + HttpContext.Current.Session.SessionID + "\",\"size\":\""+ ActualFileSize +"\" }";
                    else
                        str_InterError += ",{ \"filenm\":\"" + fileName + "\",\"id\":\""+ fileId + "\",\"sid\":\"" + HttpContext.Current.Session.SessionID + "\",\"size\":\"" + ActualFileSize + "\" }";
                    MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 16:" + i.ToString());
                }
                MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "NSE entering InterAttachmentUpload 17:");
                error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_SUCCESS;
                status = 0;
            }
            catch (Exception ex)
            {
                error = Resources.WebClient.ErrorStrings.IDS_ATTACHMENTS_UNKNOWERRROR + ex.Message;
                status = -1;
                MTFileTrace.LogTrace(WebClient.Tracing.TraceLevel.One, TraceClass.Error, TraceTo.Default, LOG_SOURCE, System.Web.HttpContext.Current, "WebClient IntxnAttachmentsUpload. An exception occurred.\tMessage:{0}, \tStack Trace:{1}, \tError Type:{2}", ex.Message, ex.StackTrace, ex.GetType().ToString());
            }
        }

It gets stuck when the progress shows 95% and no response will come after that.

Please help us on this.

Viewing all 3527 articles
Browse latest View live


Latest Images