Showing posts from September, 2010

Silverlight 4.0 Tutorial Index

Windows Phone 7 Developer Tools RTM Problem

I couldn’t get Windows Phone 7 Tools RTM to work, whenever i try to deploy the application i receive the following error “Connection failed because of invalid command-line arguments.”this long thread which comes on the top of the search results has the solution buried among all the replies problem was that the Virtual Machine Manager (VMM) service used by the Windows Phone Emulator was not running. you can query the status of the VMM service from command window by typing the command “sc query vmm”, if the service is stopped, start it by the following command (run the command window as administrator) “sc start vmm”.Thanks god :), this version of the emulator is faster than the previous ones.Here is a screenshot of a default Windows Phone Panorama Application

Silverlight 4.0 Tutorial (8 of N): Fluid Layouts

Read Previous Posts: Part1, Part2, Part3, Part4, Part5, Part6, Part7In our last post we implemented visual states for our application, you may have noticed in the States tab in Blend the Default Transition sectionthe default transition is applied when moving from any state to any other state. - You can create transitions between any pair of states, for each transition you specify how long it will take (transition duration) and the easing function to be used. the easing function makes the animations look real, so instead of the linear interpolations of the values that change between states you can choose the appropriate easing function to interpolate the values, there are many easing functions in Blend (quadratics, cubic, bounce, elastic, etc.) and you can even code your own easing function. - You can see a preview of the state transitions by turning on the transition preview (click on the icon highlighted in the below image)by turning on the transition preview whenever you change the…

Upcoming Microsoft Middle East Events

Microsoft Open Door Event: - Riyadh: November 2-3 - Jeddah: November 7(more information here)TechEd Middle East 2011: DubaiMarch 8 – 10 (more info here)

Silverlight 4.0 Tutorial (7 of N): Visual States

Read Previous Posts: Part1, Part2, Part3, Part4, Part5, Part6Continuing our registration booth application, i did some changes to the application UI, here’s how the application look like right now- As you can see i removed the navigation features in the application, we will keep it as a one simple xaml page, i also changed some colors (excuse my poor color picking skills).- After looking at the UI i think that the agenda is not taking enough space, the lower DataForm is taking more space while this DataForm is needed only when someone wants to register, the focus of the default UI should be the agenda and the registered attendees, so we need to make the DataForm invisible and show it on demand, this is pretty easy to do, first i will add a button to view/hide the DataForm.- I will add a new column to the LayoutRoot grid and put the button inside this column, i will also add a simple rotate transform for this button- The button should look like this- First we need to hide the lower Dat…