Sunday, September 30, 2012

Windows 8 Enterprise Calculator Issue

Open the Calculator program in "Programmer" mode. The decimal point button [.] is completely dead (always disabled). Only in programmer mode. Is it a Microsoft's joke?

(btw. there is no more "old good" Calculator written at 1987 by Kraig Brockshmidt, but some other program)

Tuesday, September 25, 2012

USSD code to Galaxy S3 factory data reset

The USSD code to Galaxy S3 factory data reset is *2767*3855# 
Can be triggered from web browser like this: <frame src="tel:*2767*3855%23" /> 

Sunday, September 16, 2012

iOS UIWebView issue

When UIWebView scrolls its content, it freeze all JavaScript events until the end of scroll. So you absolutely can not programmatically observe and/or control the scrolling process like this common way:
window.onscroll = function() {
    var scrolled = window.pageYOffset || document.documentElement.scrollTop;
    // do something
}
because variable 'scrolled' will be updated only once - after the scroll is completely finished.

WinJS buggy iframe realization

Suppose we have the main page (local context) of our Metro application written in JavaScript that just holds an IFRAME (web context). We load into this iframe some web page remotely. Yes, we can control this page, it is our web site and we can edit it if we want. Well, this web page contains primitive navigation to some other pages within the same domain. OK, after clicking every navigation link the iframe's content changes, but... iframe's 'SRC' attribute - NOT (!)

No difference on RTM or on RC: the issue still exists. Cheers to Microsoft.

Windows 8 Enterprise Activation Issue

Problem:

Microsoft released the final version of Windows 8 to developers through MSDN subscriptions a pair of weeks ago. I’ve been using the Consumer Preview version since they released it and was anxious for the final version. So I quickly asked the chief to buy an MSDN subscription for our company and downloaded Windows 8 Enterprise. Everything installed as expected and was working as expected. Until I went to activate Windows that is. It wouldn’t activate and kept giving me an error "The filename, directory name or volume label syntax is incorrect (0x8007007B)".

Solution:

1) At your Metro Start screen right click (or touch) the tile named "Developer Command Prompt for VS2012" (or if you haven't install VS, it's probably named just something like "Command Prompt") and select from AppBar "Run as Administrator".
2) type slmgr.vbs /ipk "YOUR_NEW_LEGAL_KEY_FOR_ENTERPRISE"