Monday, July 18, 2011

“Visual Studio was my idea”

 

Not mine, but yours. Well, it’s not entirely true, but you get the idea. If you have suggestions for improving the next versions of Visual Studio, you can make your voice heard by posting or voting on existing posts at  http://visualstudio.uservoice.com

Tuesday, July 12, 2011

Samsung Focus not charging

 

Today I run into a hardware bug with my Samsung Focus – no matter how long I’d keep the phone plugged in, it showed the same battery level, somewhere at 30%. I reset the phone, but instead of fixing the problem, it made it worse - now the battery level was shown at 0%, and again, keeping the phone plugged in had no effect. The phone was simply not charging. Now every time I was unplugging the phone it displayed notifications that battery level is too low and I should plug it back in.

I searched the net and I found that other users had similar problems, and the “fix” was to return the phone to the carrier provider for a refund/exchange. Ugh.

Then I found another user who fixed his phone by resetting the phone in diagnostics mode. Fortunately his solution worked for me, too. Here it is:

  • Start the phone application and show the keyboard
  • Type ##634# - this enters the phone diagnostics mode
  • Type *#2*# - this displays the battery information. All the numbers on the first page in the (MV) section were shown as 0% or 0mV.
  • Now reset the phone (by keeping pressed the power button until the phone turns off, then press it again to turn the phone back on)

After reset, the battery level started showing 100% (it was about time, after being kept so long plugged in), and re-entering the battery information diagnostics page seemed to agree – now it was showing non-null numbers, all good.

FocusPowerDisplay

You can find more interesting diagnostics codes about Samsung Focus on XDA-Developers forum page.

Monday, May 30, 2011

Thanks God for backup!

I survived a hard drive crash with no data loss and no time spent for installs! Kudos to the Microsoft Server Backup / PC System Repair team!

Two days ago the SCSI hard drive in my Win 2008 home server (Domain Controller, DNS, web, etc) died on me Sad smile. It was an 80GB Cheetah from another era (or should I say Dinosaur), and it probably it was its time… I had back-ups of important personal user files from other computers (so I was not yet puling my hair), but even those could not be accessed. See, the Linux NAS used for storage refused to give access to the shares without a domain controller to authenticate the logon requests…

I was already seeing myself spending a week reinstalling and reconfiguring the server, and my heart was full of joy at this idea. Not! Fortunately, it intrigued me why I kept installed on the machine another 300GB old drive, and when I checked I discovered it contained a full system backup VHD image from the same day! I had completely forgot about it. I didn’t even remember when I had the moment of lucidity to set up automatic daily backups, but boy, am I ever glad I did!

I bought another hard drive, I used a Windows Vista (!) installation disk as I couldn’t find the one from Win2008 (it worked fine, btw), and 30 minutes later my server was up and running, with no data loss. SCSCI –> SATA, 80GB –> 1TB unformatted, unmatched restore tools, all these were no problems for System Repair. Yay system restore!

Now I can focus on the second crashed machine, where the power supply crashed and burned (literally) and unfortunately it took with it at least the motherboard… Or maybe it was the other way around, who knows. But fixing it will be the fun for another night.

Wednesday, December 22, 2010

Things I wish the Windows Phone would have

- An easy way to share contacts between 2 Windows Phones

Unbelievable, but there is no easy way to just send a contact info from my phone directly to my wife's phone. It is possible, but the solution I found is too complicated, requires computer use and having Office installed: from my mail account on Exchange (where my contacts are saved), send a mail to my wife's accout on Hotmail and attach the contact's info. On a computer, install Outlook with Outlook Hotmail Connector, then follow the steps in Importing contacts from PC article to copy the contact info in the Hotmail contacts of the other account. The phone will sync it from here automatically. There is also a caveat, that Office wants to store by default the contacts in the "Last, First" name format, so if you want them appearing on the phone correctly you'd have to make sure they are saved in the "First Last" format....

- An easy way to publish/share a video recorded with the phone


For pictures, the phone knows how to upload the pictures automatically on SkyDrive or Facebook. However, for videos there isn't a similar way. Why?!?
There is also a Youtube application from Microsoft, but this also doesn't seem to allow uploading a video I just recorded...
Now if I understand correctly, I can import the video on the PC after I'll install the Zune software (which btw, doesn't install on Windows 2008 R2 Server), and I can share it from there, but why do I have to use a PC and install software for this simple task?

If these things will annoy me too much I may end up writing an application to solve the problem (or some other developers may beat me to it).

But I'm hoping the version 2 of the Windows Phone software that will come early next year will help solve these simple tasks. This is functionality that should be directly supported by the phone, and should not require installing 3rd party applications, using a computer or install other software there (paid or free) :-(

Tuesday, December 14, 2010

Enabling Aero Glass or Windows 7 Basic theme in Remote Desktop Connection to a Windows Server 2008

By default, remote desktop connections to a Windows Server 2008 get Windows Classic theme. Enabling Aero or Windows 7 Basic theme requires a couple of steps, and here are the relevant settings (for next time I'll have to do this again)

On server:
1) Add the Desktop Experience feature from the Server Manager.

2) Set the Themes service to autostart, and start the Themes service.
3) Enable the “Allow desktop composition for remote desktop sessions” policy from gpedit.
The policy path is “ComputerConfiguration\AdministrativeTemplates\WindowsComponents\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment”
4) Enable 32bpp for RDP connections - In Server Manager, go to “Remote Desktop Session Host Configuration” under “Remote Desktop Services” role, right-click on the connection to bring up “RDP-Tcp Properties”, uncheck “Limit Maximum Color Depth” from “Remote Desktop Session Host Configuration.”

More details on the steps above here: http://blogs.msdn.com/b/rds/archive/2009/06/23/aero-glass-remoting-in-windows-server-2008-r2.aspx

5) Since the defaul theme is Classic and can't be changed from Display Properties while connecting through RD, you need to force Aero as a default theme. Again use gpedit, under User Configuration\Administrative Templates\Control Panel\Personalization\Force a specific visual style or force Windows Classic, set it to Enabled and type in the Path to Theme file "%windir%\Resources\Themes\Aero\aero.msstyles".

More details on this here: http://windows7themes.net/windows-7-theme-group-policy.html

On the client machine:
1)  In Mstsc's options, the color depth of the remote session must be set to 32-bit
2) “Desktop composition” must be enabled on the Experience tab
(If the above are not set, the Windows 7 Basic theme will be used instead of Aero)

Saturday, December 11, 2010

Easily recording video of an application behavior

At times, when you encounter a bug in an application and want to report it to the manufacturer (e.g. when reporting bugs to Microsoft on Connect), it may help to attach a video demonstrating the problem when you reproduce it.

An easy and free way to capture such video is to use Office Labs Community Clips recorder. The video recorder can be downloaded directly from http://go.microsoft.com/fwlink/?LinkId=117503&project=Community Clips

When installed and started, the Community Clips application displays an icon in the system tray where recording can be started/stopped.

After stopping the recording, the captured video can be re-played, saved locally as wmv file,  or sent via email.

Wednesday, August 11, 2010

Microsoft Language Portal -

Have you ever wanted to create a program localized in other language but were not quite sure what's the usual translation of a computer-related word or phrase?
E.g. have you ever wondered how to say "recycle bin" in French?

Well, now it's easily possible. Microsoft has made searchable the translations used in their programs.
Just search the words of interest on Microsoft Language Portal and your program can have the same familiar feel as other localized Microsoft programs!

Also there are available for download Style Guides for the languages, describing when to use capitalizations, or whether nouns/verbs should be preferred for buttons and menu items, etc.