Links not opening in Windows 8 applications

55

In many applications, hyperlinks do not open Internet Explorer 10. It can be very frustrating to have an application like mail, Skype, Teamspeak, or a custom application that sends an HTTP request through Internet Explorer, only to have nothing happen after clicking on the link. The problem with Windows 8 is that now the shell command that would open IE10 has a “Delegate Execute” command in the registry that points the HTTP hook elsewhere. The problem may also happen with other browsers, such as Google Chrome. Fortunately, the problem does not occur with applications opening links with Mozilla Firefox enabled as the default Internet Browser. A good test to see if you’re having this obscure problem is to set FF as the default browser and test if links do open. If the link does not open in IE but opens in FF, then the following is the solution to make IE open when links are clicked.

Open a text editor in Windows 8

Copy and Paste the following:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\IE.HTTP\shell\open\command]
"DelegateExecute"=-

[HKEY_CLASSES_ROOT\IE.HTTPS\shell\open\command]
"DelegateExecute"=-

Save as IEFix.reg (Make sure it is .reg, not a .txt)

As an Administrator, merge this registry change. Either Double-Click in an Administrator account or run CMD as an Administrator and open the .reg

Make sure IE is set as the default browser.

Links will now work in programs and open in IE.

Share:
55

Related videos on Youtube

KDJ
Author by

KDJ

Updated on September 18, 2022

Comments

  • KDJ
    KDJ over 1 year

    I've got a shopping cart that I am developing and need to figure out a way to match the discount rates to the quantity.

    Discount Rates apply at

    • 1 item
    • 2 items (5 percent discount)
    • 5 items (10 percent discount)
    • 10 items (20 percent discount)

    So 2-4 items would get the 2 item discount, 5-9 items would get the 5 item discount. 10+ items would get the 10 item discount.

    Lets say the customer buys 7 items. The code would need to apply the discount rate for 5 items.


    I thought about a for loop where it auto increments the value for (int i = 0; i < 5; i++) however; I'm not sure how to tie the discount rates into that and stop the variable at the correct discount rate.


    I also saw a code like this.. (quantity * unitcost) - (int (quantity / 2) * (unitcost / 2)) which that only applies a specific discount for every second item so that wouldnt work.


    I searched google for this but kept seeing example of how to do quantity discounts in specific shopping carts.

    $quantity = quantity of items in cart
    

    If there is a way to set up discounts as an array and match the closest that way that would be best scenerio unless someone knows a better way.

    $discount = array();
    $Discount[1] = 0 percent
    $Discount[2] = 5 percent
    $Discount[5] = 10 percent
    $Discount[10] = 20 percent
    

    I'm using these discounts as an example. Discounts are actually going to be pulled in from the product database because different items can have different discount rates.

    I wish I could show a code that is partially working but I'm at a loss with this one. Any help would be greatly appreciated.

    • Ramhound
      Ramhound over 11 years
      I would run the browser choice application again to reset your choice.
    • Martin Brown
      Martin Brown over 11 years
      So I decided to install chrome. Opened up market place and found Chrome's page. Chrome can only be installed from a link which isn't working.
    • Ramhound
      Ramhound over 11 years
      Copy and paste the link into the address bar.
    • Martin Brown
      Martin Brown over 11 years
      There is no way to copy it.
    • avirk
      avirk over 11 years
      Well, it will be sound little crazy but you can try this. Just download the standalone setup of Chrome, obviously you can't download it yet to Windows 8, download it on Windows 7 machine and then install it. I didn't check it but try to install the Internet Download Manger and then try to download the Chrome from the desktop version of the IE10 may be then it could fetch the URL.
    • pratnala
      pratnala over 11 years
      Why can't u download on Win8? I could
    • Karan
      Karan over 11 years
      See if going to Control Panel / Programs / Default Programs / Set Default Programs / Internet Explorer and clicking on Set this program as default helps.
    • ifly6
      ifly6 almost 6 years
      Make a map, if that's the right terminology (I'm most familiar with Java), (might be called a dict) of your marginal rate changes, then iterate through the map until the number exceeds the current key. Then return the corresponding value.
    • KDJ
      KDJ almost 6 years
      I thought about that....but implementing that is a different scenerio...haha . And I'm not sure if thats the best method overall. Which is why I'm asking for help. I want this to use a good method for this.
  • KDJ
    KDJ almost 6 years
    I should go ahead and get out of coding right now. haha. How in the world did I not think to do this.....
  • Dave
    Dave almost 6 years
    Sometimes it is easy to miss the forest because of all of the trees :)
  • KDJ
    KDJ almost 6 years
    I'm getting this result from database for quantity => discount ...... 1=>0,2=>5,5=>10,10=>20 I'm use to splitting that out via an explode and setting up an array. But there may be a better way, How would I use that data to format your code? Thats where I'm stuck at.
  • KDJ
    KDJ almost 6 years
    This is the sample code I started with... $input = array("1"=>"0","2"=>"5","5"=>"10","10"=>"20"); $reversed = array_reverse($input,true);
  • Dave
    Dave almost 6 years
    Updated my answer based on your additional input. If it works please accept the answer :)
  • KDJ
    KDJ almost 6 years
    How does that work? I accepted answer, but really curious how it returns the discount when discount isnt defined or returned inside the foreach loop
  • KDJ
    KDJ almost 6 years
    I see where you updated your code for the foreach loop. It worked. Thats why i accepted. But I'm curious HOW it worked. I don't get how it returns the $discount outside the array. And how it returns the correct one. You don't have to answer that I guess but I was hoping to understand it a little more.
  • KDJ
    KDJ almost 6 years
    by the way, I am from North Carolina as well :)
  • Dave
    Dave almost 6 years
    Discount is set on every iteration of the foreach. If something matches the if the foreach is ended and whatever discount was last set to is what you get and use. Since your reversed array has the quantity minimum as 1 you should at least always get a value of zero for discount. Variable scope does not come into play in this case.