Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Saturday, July 26, 2014

About Windows Phone 8.1 usability

This is interesting. While it's obvious that WP UI was designed with attention to details, some of the user experience is not pleasant at all. For example:

1. When you start using your phone, you can't update or install any app, unless you set the correct date. Technically, it fails when you try to create Outlook account (or "live id", whatever), which will be bound to the phone. Problem is that error message is extremely cryptic, stating only that update/install failed and providing error number. Googling up the error number revealed no specific details (at least to me). So I had to google once more, why the phone update could fail which gave me the page with possible problems, mentioning the need for correct time. My guess is that it reaches out to MS server to "activate" the phone. Anyway, it was quite unpleasant.

 2. Windows store app. I think it's not obvious that app updates are in downloads section. It took some time for me to figure it out.

3. Setting time by scrolling the rectangles with numbers is a bad idea IMO :) It may seem good to designers, but I'd prefer to type the numbers.

4. No changelogs in most of app updates. I mean those pre-installed apps like "News", "Weather" and Nokia stuff.

But all in all I can't say that I'm too disappointed. It runs rather smooth, and rectangle UI, while new to me, is an interesting concept.

Saturday, March 8, 2014

Running old ASP app on Windows 7 - 401.3 unauthorized problem

There's a great article here about how to run and debug that 'classic' ASP site of yours, if you happen to have one. However, if you make just the steps from article, you'll probably end up with "HTTP Error 401.3 - Unauthorized" error. The solution is simple and found on serverfault - you just have to grant the IUSR user at least a Read&Execute access to your website's folder. Just like that:
Hope I saved you some googling.

Sunday, March 2, 2014

ASP.NET web forms captcha

The whole purpose of this post is to show how simple it is to introduce some custom handler in ASP.NET (that old one, which's still used though). Reading the preparation book to TS 70-515 exam, I found handlers' examples there very impractical, so I decided to get more or less real case, where custom handlers are of use - captcha. To free UI thread, handler will be asynchronous.

Saturday, March 1, 2014

Displaying quotation marks in CSV opened by Excel

I love CSV. Easy to serialize, easy to read, great choice for some basic reports. Good news is, it can be opened by MS Excel, so office folks can use it. Bad news is that Excel (at least 2007 one, which’s still widely used) parses CSV in a weird way.
So, how wrapping quotation marks are handled:

1. Single quotation marks around value have no effect –
"test"
is displayed as
test
.
2. Double quotation marks add some ‘cool’ quotation marks in the end of the string – so
""test""
becomes
test""
.
3. Tripple quotation marks actually give those bloody single quotation marks around value –
"""test"""
becomes
"test"

Note, that this applies only to quot. marks that ‘wrap’ the value, i.e. are at the start and the end of value. Quot. marks in the middle of value are displayed ‘as-is’, e.g.
test "that" string
is displayed as
test "that" string
(identical).
I’m not that sure I want to know of reasons why it’s made so.