Disable Windows Phone Emulator Frame Rate Counter

To disable Windows Phone Emulator Frame Rate Counter put this code inside your MainPage constructor.

Application.Current.Host.Settings.EnableFrameRateCounter = false;
Advertisements

Unlock your Windows Phone device

The process of unlocking your WP7 device for development is very easy.

  1. connect your device via USB cable
  2. launch the tool “Developer Phone Registration” from All programs > Windows Phone SDK 7.x (see the Figure 1)
  3. enter your Windows Live ID and password (if your phone screen is locked, you’ll have to unlock the screen and retry it.)

Note: unlocking your WP7 device using the tool allows you to debug and test applications on your device.

Figure 1

For more details see http://msdn.microsoft.com/en-us/library/ff769508%28v=vs.92%29.aspx

How to prevent “Saving changes is not permitted” on SQL Server 2008

When you design a table in a database and then try to make a change to a table structure that requires the table to be recreated, the Database Management Studio will not allow you to save the changes.
This is caused by a configuration setting that will result by default in the following dialog:

“Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.”

To be able to make a change in your table structure, you’ve just to follow these steps:

  • Tools > Options
  • Select the tab Designers and choose Tables and designers
  • uncheck the option: “Prevent saving changes that require table re-creation”

Now you can save changes.