SharePoint 2010 WorkShop At Institute of Business Management (CBM)
Friday, February 25, 2011
Posted by Usama Wahab Khan at 3:02 AM 2 comments
Labels: Microsft, Share Point, Usama wahab khana
STUDENTS! Get a FREE Microsoft Certification Exam
Wednesday, February 23, 2011
- Go to the following website: http://prometric.com/microsoft
- Click on the “Start” icon located in the “Get Started” section
- Select “Schedule an Appointment”
- Select your Country and State (if applicable)
- Click Next
- Next to Client, select Microsoft
- Next to Program, select Microsoft (072)
- Click Next
- Please read the page titled Microsoft Certified Exam Provider
- Click Next
- Select the exam number and the exam language for the exam you would like to take
- Click Next
- Select the test center location where you would like to take the exam by clicking on Schedule an Appointment next to the location that is nearest you
- When the next page appears you have the option of either logging in, if you have been to the site before or you can register as a new user
- NOTE if you are a new user – PLEASE enter a VALID EMAIL ADDRESS.
- All information for the Microsoft Certification Program will be sent via email and without a valid email address, you will not receive access to the MCP Secure site or be able to order your Welcome Kit when you achieve your certification
- Once you are logged in, you will then be able to select a date and time for your appointment, select a date and time
- Click Next
- Under Payment Information in the box that states Promotion Code or Voucher click Yes
- Next to Discount Type select Voucher Number
- Next to Voucher Number / Promotion Code – enter the code number you have been provided
- Click Validate – if the voucher has not been used you will be automatically directed back to the Payment Information Page
- Validate your email address and click on the radio button I agree (as long as you agree to the terms of the privacy notice)
- Click Commit Registration
- A Confirmation Page will come up, please print this page for your records and ensure you have noted the date and time for your exam
Posted by Usama Wahab Khan at 9:10 PM 1 comments
Labels: Microsft, Usama wahab khana
Window Phone 7 Seminar At Maju
Tuesday, February 22, 2011
Posted by Usama Wahab Khan at 11:52 PM 0 comments
Labels: Usama wahab khana, Windows Phone 7
Microsoft POC (Amazon BookShelf)
Monday, February 14, 2011
Posted by Usama Wahab Khan at 11:25 AM 0 comments
Labels: Microsft, Usama wahab khana, Windows Phone 7
Seminar Window Phone At Maju
Thursday, February 10, 2011
Usama Wahab Khan
Manager Software Development || Microsoft Community Speaker || Sr.Trainer Sir Syed University
Osmani and Company
Contact e:
usamawahabkhan@gmail.com
ph# +923332395710
Posted by Usama Wahab Khan at 1:22 AM 0 comments
Labels: Windows Phone 7
Life Cycle: Page State Management
Thursday, February 3, 2011
There are a few practical elements to state management, so let’s devote a few of these mini-tutorials to the exact mechanisms involvedTo start, let’s examine the scenario where the user is on a first page, fills in some data, and then navigates to a second page. For whatever reason, the user clicks the back button on the phone and is returned to the first page. At this point the user expects to see the data already filled in to be there, ready for editing. If the user hits the back button and the fields already created are now empty the application is in a state technically referred to as “sucks.” To prevent this, you will want to store the values in a State dictionary and restore those values if the user hits the back button. Fortunately, this is fairly easy to do, though you have to be a bit careful when restoring. To see this, create a new application with two pages: Mainpage.xaml and Page2.xaml. On MainPage.xaml create a few text input fields and a button, on page 2 put anything you like. You can see the MainPage.xaml I created in the illustration above. Saving and Restoring State Saving the state is pretty straightforward. As noted in the earlier article, when you are navigating away form the page the OnNavigatedFrom event is raised. Each page has an individual pre-defined State dictionary, to which you can save the state of your controls protected override void OnNavigatedFrom( System.Windows.Navigation.NavigationEventArgs e) { State["Name"] = FullName.Text; State["eMail"] = eMail.Text; State["Phone"] = Phone.Text; base.OnNavigatedFrom(e); } Restoring is just a bit trickier as you have to make sure that the value you attempt to retrieve from the dictionary actually exists. For this, I like to use the TryGetValue method, as it does not throw an exception. It takes two values and returns a boolean. The first parameter is the name of the “key” you are looking for. The second is an out parameter that will hold the value if found. The returned value is a boolean, true if the key was found, false if it was not. Remembering that the dictionary holds objects, we search for the key and if it is found we call ToString on the values obtained before writing them back to the control, Here is the complete code behind page, using System; using System.Windows; using Microsoft.Phone.Controls; namespace PageState { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() { InitializeComponent(); GoToPage2.Click += GoToPage2_Click; } void GoToPage2_Click( object sender, RoutedEventArgs e ) { NavigationService.Navigate( new Uri( "/Page2.xaml", UriKind.Relative ) ); } protected override void OnNavigatedFrom( System.Windows.Navigation.NavigationEventArgs e ) { State["Name"] = FullName.Text; State["eMail"] = eMail.Text; State["Phone"] = Phone.Text; base.OnNavigatedFrom( e ); } protected override void OnNavigatedTo( System.Windows.Navigation.NavigationEventArgs e ) { base.OnNavigatedTo( e ); object val; if ( State.TryGetValue( "Name", out val ) ) FullName.Text = val.ToString(); if ( State.TryGetValue( "eMail", out val ) ) eMail.Text = val.ToString(); if ( State.TryGetValue( "Phone", out val ) ) Phone.Text = val.ToString(); } } }
Posted by Usama Wahab Khan at 11:27 AM 0 comments
Labels: Windows Phone 7
.NET Framework in an interactive manner
Wednesday, February 2, 2011
Posted by Usama Wahab Khan at 2:00 AM 1 comments
Labels: dotnet 4.0