Links not opening in Windows 8 applications
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.
Related videos on Youtube
KDJ
Updated on September 18, 2022Comments
-
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 over 11 yearsI would run the browser choice application again to reset your choice.
-
Martin Brown over 11 yearsSo 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 over 11 yearsCopy and paste the link into the address bar.
-
Martin Brown over 11 yearsThere is no way to copy it.
-
avirk over 11 yearsWell, 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 over 11 yearsWhy can't u download on Win8? I could
-
Karan over 11 yearsSee if going to
Control Panel / Programs / Default Programs / Set Default Programs / Internet Explorer
and clicking on Set this program as default helps. -
ifly6 almost 6 yearsMake 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 almost 6 yearsI 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 almost 6 yearsI should go ahead and get out of coding right now. haha. How in the world did I not think to do this.....
-
Dave almost 6 yearsSometimes it is easy to miss the forest because of all of the trees :)
-
KDJ almost 6 yearsI'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 almost 6 yearsThis is the sample code I started with...
$input = array("1"=>"0","2"=>"5","5"=>"10","10"=>"20"); $reversed = array_reverse($input,true);
-
Dave almost 6 yearsUpdated my answer based on your additional input. If it works please accept the answer :)
-
KDJ almost 6 yearsHow 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 almost 6 yearsI 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 almost 6 yearsby the way, I am from North Carolina as well :)
-
Dave almost 6 yearsDiscount 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.