Silverlight Diagram Editor

One of my MVP friends shared us a pretty awesome demo that his team created as a part of their Silverlight Diagramming Engine SDK new release. That demo application is called “Silverlight Diagram Editor” and you can see it in action from the link below..

Demo Linkhttp://silverdiagram.net/Scripts/SD.Editor.html

There are some sample apps published in codeplex but the source code of this editor is not included for now. Our Mvp friend “Braulio” who is also one of developers of this SDK said that it will be published in codeplex very soon.

Another thing is that you need to download the SDK from this link in order to compile the project because the sample project from codeplex is missing some of assemblies from SDK.

I think it’s really good to see the product or demo application like that during this time especially when we keep on hearing all those news about the death of Silverlight.. Things are more interesting when Microsoft Former Project Manager “Scott Barnes” posted a rant “Why Silverlight was destined to fail and my time as one of its custodians” about Silverlight in his blog. His post was very long post and full of MS inside information.. Unfortunately, he deleted his post so it’s not available for you to read it now. Anyways, I don’t want to give any comment about Silverlight for now.. I just want to share a cool thing that I found with my Silverlight community….

Windows Phone 7.1 (Mango) – Tcp Socket acts differently on emulator and device (HTC Mozard)

It’s just a quick post to share one strange behavior that I found when I was using Socket in Windows Phone 7.1. project.

The issue is that when I run this piece of code on device, I always get “SocketError = Success” all the time. I reported about it to Silverlight team but didn’t hear anything yet. Does anyone have experience this issue with socket?

private void Button_Click(object sender, RoutedEventArgs e)
{
            var socket = new Socket(AddressFamily.InterNetwork,
                SocketType.Stream,
                ProtocolType.Tcp);

            var ipAddress = IPAddress.Parse("192.168.10.37"); //This sample is for showing error.. this ip address doesn't count much.
            var args = new SocketAsyncEventArgs();
            args.RemoteEndPoint = new IPEndPoint(ipAddress, 22222);

            args.Completed += (_, evt) => {
                this.Dispatcher.BeginInvoke(() =>
                {
                    MessageBox.Show(string.Format("Socket Return Msg : {0}", evt.SocketError));
                });
            };
            socket.ConnectAsync(args);
}

Finally, Windows 8 is on VM

Windows 8

Do you guys manage to install Windows 8 on VMWare Player (Version: 3.1.4 build-385536) or VMWare Workstation? I’m trying to install “Windows Developer Preview (Apps and Tool)” that I downloaded from MSDN on VMWare since this morning and I keep on getting the error after seeing the very first screen.

Windows 8 on VMWare : vcpu-0:NOT_IMPLEMENTED vmcore/vmm/intr/apic.c:1903

I couldn’t find any solution so as other suggested, I tried installing it on VirtualBox that other said it works for them. Unfortunately, it doesn’t work for me.  I was almost giving up but then, Wait! there is no Windows 8 in the OS Type combo box so I chose “Other Windows”. I think it might be the cause of the error.

Status: 0xc0000225
Info: An unexpected error has occured

then, I decided to choose a few options and I found that “Windows Xp (64bit)” works great for me. One more thing: Don’t forget to set the hard disk space more than 12 GB (The default one is 10GB which doesn’t meet the requirement of Windows 8.)

Finally, I managed to install Windows 8 on virtual machine. Da da!! The most interesting thing for me is that it has Visual Studio 11,  Microsoft Expression Blend 5 and Metro style app development.. of course! :)

Edit: Tim who is currently working for VMWare and is also our lead writer in our book “Windows Phone 7 in action” shared me this link “VMware Workstation 8 running Windows 8!”.

UPDATE: Windows 8 on VMWare Player 4.

VMWare released VMWare Player 4 that supports Windows 8.

Update: Windows 8 (64 bits) on VMWare Player 4.0.1

It happened to me to install Windows 8 on VM again today and installing of Windows 8 was never been easy.

Here is the error that I got.

File: wd01000.sys OR msrpc.sys OR etc
Status: 0xc0000017
Error Message : Windows failed to load because a required file is missing, or corrupt.

I was experiencing here and there and finally, I found this post “[Guide]Install Windows 8 on VMware Workstation with VMware Tools” which saves my day.

The important trick is that you need to select “I will install the operation system later” option . And then mount the ISO to the DVD of VM later to install the OS.

Download – Windows 8 Developer Preview

Windows 8 Developer preview was released at “Build 2011″ event. The event video was broadcasting live at www.buildwindows.com for those who couldn’t made it to the event. I watched it live last night and I would say that Windows 8 is impressive.. Now, we can download both operation system and developer tools from the link below. I’m downloading them and will discuss with you guys later after installing it.

Download Links