Umer Pasha Blogs

Microsoft announcing Windows 8 Mobile and abandoning its current users!

Announcing Windows 8 Mobile!

Wow! Talk about M$ screwing their users! Thankfully, I resisted staying away from Windows Phone. I know people who just got the Nokia Lumia…. and are now holding an obsolete device which is not upgrade-able to Win 8! and just a few days back I was complimenting M$ on their current streak of wise decisions…… looks like they are back with a vengeance 😛

SD card support? really? I have my android loaded with a 64GB card…. Win Mobile still supports 16GB??? really??? in this day and age??? To the cloud indeed!

720p?? Does that actually matter??? Its the pixel density that matters on smaller screens, not the resolution. No mention of pixel density.

Add to that…. a feeble app store missing all great apps and holding only 100K apps (out of which only 5% or so are worth a while…. forget even a penny price!) That is it I guess….. the death of Windows Mobile as a contender for one of top 3 Mobile OS…. and along with that they will take Nokia down!

Leave a comment »

Using Adobe Omniture WebServices API in C# and showing data in Telerik grid and charts (Source Code included)

Here is the Source Code right up front: The C# Project File for Visual Studio 2008

If you have used Adobe Omniture Site Catalyst Web Services API, you will know what a hassle it is and how bad the documentation and technical support is. It took me a couple of weeks to reach this point. But that also included mastering a 3rd party grid and charting control from Telerik.

You will need to get a trial version of RadGrid from Telerik here which works for 90 days. You can also modify the attached code to just get the data and delete anything related to Telerik.

You will need to download MS Web Service Enhancement 3. You can get it here.

Make sure you get Web Service Access to the Enterprise API. Instructions are here.

You need to get your specific Site Catalyst WSDL. Here are the instructions. You will use this to add a web reference to your dot net project.

In the web.config, setup the SQL Server Connection String before running. I am storing the data I get from Omniture in SQL Server. I have not provided the SP code here. Mail me if you need help with that. You can remove all the SQL bits from code to not use that.

The project uses API 1.3 which is the latest as of now.

The project also shows getting custom conversion variables “eVar21”. if you are not using them, you can remove the code.

Some important links:

Getting started with Omniture API:

Reporting API Tutorial:

Leave a comment »

Ode to Microsoft

Microsoft Surface is out! Personally I rate it higher than an iPad or any other tablet just for the fact that you can DO something with this. My biggest gripe about tablets was that it was only for watching cartoons on you tube… hence anyone over the age of 8 carrying one appeared weird to me 😛

Availability of dual and then quad core processors in cell phones blurred the line a little more between them. But I guess M$ is on the right path with this. It is more than a inefficient dumb tablet.

To be honest, we all love to whack M$ a lot… but over the past 4 years I have seen this company come out with really good ideas. From Windows Mobile to Kinect. Thankfully unlike Apple who make “appliances” for “mums”, Microsoft has stuck to cater for technically savvy people and keeping their systems relatively open (If you open a mail that says Shirley wants to hook up with you and contract a computer virus… that’s really not window’s fault!).

Some great ideas (SPOT anyone?) have not clicked with masses but this company knows how to take a hit. Gone are the days of BSODs and RRODs. Been using Win7 for over 3 years now without any slowdowns. Metro UI in 8 is fluid and fast in the final previews.

Leave a comment »

There is a line in my document that I can’t delete because I can’t select it. How did it get there, and what can I do about it?

There is a line in my document that I can’t delete because I can’t select it. How did it get there, and what can I do about it?

Article contributed by Suzanne S. Barnhill and Dave Rado

Although there are other possibilities, most likely what you’re dealing with is the paragraph border that Word creates when you type three or more hyphens (-), underscore characters (_), equals signs (=),asterisks (*), tildes (~), or hash signs (#), and press Enter. By default these characters are converted to a thin, thick, double, broken, zigzag, or thick-and-thin border at the bottom of a paragraph.

To make matters more confusing, this border is applied to the paragraph before the one where you typed the hyphens, underscores, or equals signs.

To remove this “line,” select the paragraph above it and remove all the borders from it as follows:

  • In Word 2003 and earlier, go to the Format | Borders and Shading dialog, and click the preset picture for “None.” Alternatively, click the down arrow beside theBorders button on the Formatting or Tables and Borders toolbar and choose the last (No Border) option in the palette.
  • In Word 2007, on the Home tab, locate the Paragraph group. The bottom right button is the Borders button; click the arrow beside it and select No Border.
  • In any version, you can simply click in the offending paragraph and press Ctrl+Q, which resets the paragraph formatting to the default for the style (which doesn’t include borders). This, however, will remove any other direct paragraph formatting as well as the border.

Note: If you’ve pressed Enter several times trying to get rid of the line, you will merely have applied the border formatting to all the paragraphs you added, as well as to the original one. This won’t be obvious, because when several consecutive paragraphs have the same “Bottom Border” formatting applied to them, the border only appears below the last of them (Word takes “bottom” literally). So If you then remove the border formatting from the paragraph that has the line below it, the line will move up one paragraph. The trick is to select all the affected paragraphs and either press Ctrl+Q or choose No Border.

To prevent this from happening again, you need to disable “Automatic borders.”

  • In Word 2003 and earlier, go to Tools | AutoCorrect Options | AutoFormat As You Type and clear the check box for “Borders” or “Border lines” under “Apply as you type.”
  • In Word 2007, Office Button | Word Options | Proofing | AutoCorrect Options | AutoFormat As You Type and clear the check box for “Border lines” under “Apply as you type.”

It is a good idea to turn off most of the options on the “AutoFormat” and “AutoFormat As You Type” tabs of AutoCorrect Options. For more details, see “Word is always making changes I don’t expect. How can I get more control over my formatting?”

Leave a comment »