Yesterday 9 September 2015 a three year old comic became reality:

Jun 19, 2012 source http://hijinksensue.com/comic/surface-tension/ 

Hey, did you hear Microsoft made an iPad? Yeah, you can Google stuff on it with Bing.

Apple released the Ipad Pro. It is a larger screen similar to the surface dimensions and a keyboard in the cover like the surface and has pen input like the surface.

26 oktober 2012 Microsoft released the Surface RT. A tablet with pen input, keyboard cover etc. The OS is not the full Windows version (just like the iPad pro now)

The pro edition of the surface did have a full version.

This is not the first time that apple claims to have a new product. Back in 2000 Bill Gates had a Lenovo tablet with monochrome screen:

Bill Gates tablet 2000

two years later he had a Fujitsu tablet with a color screen and Windows XP (2002)

Bill Gates tablet 2002

Besides tablets, there were mobile devices. PDA’s running Windows Mobile The predecessor of Windows Phone as we know it today.

Pocket pc started around 2000 and became Windows Mobile in 2002. I have had devices with applications to send mail and browse the web. run games etc. before the launch of the first generation of iPhones.

Steve Jobs said back in 2007 when they released the very first iPhone:

“Who wants a stylus? You have to get em', put em' away. You lose them. Yuck.”

“Who wants a stylus?”

But back on topic: the iPad pro is less than I expected. I expected it to run full mac OS X el captain. But the OS is not optimized for touch input. So it seems that Apple will run iOs and OS X side by side for a few more years. Microsoft made the step when moved from Windows Phone 7 to 8 to run everything on the same kernel. It is a hard step. A lot of people fell over it. But it was necessary and really inevitable. But today all (or almost all) Windows Phone 8.x devices will have the Windows 10 update and will run the same apps on their phone as on their laptop/desktop as on their Xbox. This whole concept will be copied by Apple in a year or two maybe three and will be sold like they invented it.

Please do not get me wrong, I like Apple and like their design, usability and the way that the hardware is sold together with the software. The way they update their mobile devices. I like that more then Androids by the way. But the thing that I dislike is that their marketing is so good that less tech aware people believe that Apple invented the wheel and those people share their view with even more tech aware people who assume they are right. But when the Apple fans encounter someone with more technical knowledge they often avoid a discussion.

Let me know your point of view in the comments below.

Pin on pinterest Plus on Googleplus Post on LinkedIn

If you add a new table and mark the ID column as primary key, but you forgot to set the int or bigint to auto increment, you can not fix this in the SQL Management Studio.


There are several ways to do this, I ended up removing the primary key, dropping the column and re-creating it.

Dropping the column also gave me the error about dropping the whole table and re-creating it. So I had to do this with some SQL, so no GUI today but just these two small SQL statements. I hope it helps, otherwise it is just an online backup for when I forget how I fixed this.

alter table YOURTABLENAME add YOURCOLUMNNAME bigint IDENTITY(1,1) primary key

Good luck!


ps. when you use select @@version you get to see what version of SQL server you are using. I had

Microsoft SQL Server 2008 (SP3) - 10.0.5520.0 (X64)
    Jul 11 2014 16:11:50
    Copyright (c) 1988-2008 Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (VM)
This blogpost http://sqlserverbuilds.blogspot.nl/ has a nice list of different versions.

Pin on pinterest Plus on Googleplus Post on LinkedIn

Surface 3 vs Surface Pro 3 costs

As a proud Surface Pro 3 user, I would like to point out why the Surface 3 (not pro) won’t make it in the Netherlands. There has been a dutch review on tweakers.net http://tweakers.net/reviews/4001/microsoft-surface-3-review-degelijke-tablet-met-een-hoge-prijs.html and they gave the device a 6 (on a scale from 1 to 10) and after over 300 comments, they changed it to a 7.

The Surface 3 is 499 in the USA. In the Netherlands, that is 599 euros inc VAT (btw) a typecover is 149 and a pen is also 49. That makes a total of 797 euro. It is 609 euro at the microsoft store (without pen and cover)

So 797 for 64gb entry level surface 3 and 729 + 149 + 49 = 927 for the 128gb variant.

The 64 gb variant has 2gb while the surface pro has an i3 and 4gb ram for 738 euro ex cover (867 inc cover and pen) that is a 70 euro difference.

When you compare the 128gb model: the pro has an i5 for 949 + 129 (cover) = 1078 euro vs the non-pro: 927 makes a 151 euro difference for an i5 cpu and both having 4gb ram.


iPad Air 2 costs

the 64gb version is 539 euro

the 128gb version is 664 euro

The keyboards from Logitech are around 90 euro and there is no real pen/stylus option. so the 64gb will be 629 inc cover and the 128gb will be 754 euro. compared to the surface 3, people will buy Apple products even though they cannot really multitask or use a pen/stylus.



I think that the Dutch consumer won’t buy the awesome device just because of the price difference and the current Apple hype. If the price drops, I would really recommend this device to people. Definitely because the upcoming release of Windows 10 and the free upgrade. I will stay a happy and proud Surface Pro 3 user and would not switch for a million. I hope this helps people make a decision purely based on prices. Would be great to see a surface 3 price drop in the Netherlands. That would change everything.

Pin on pinterest Plus on Googleplus Post on LinkedIn

Lazy productive I as a developer am, I did not want to write a stored procedure. So I ended up with a lot of SQL statements which needed to be combined and executed only if the previous one succeeds.

However there was a timeout during the execution. It was strange because when I copy pasted the SQL statement in SMSS it worked perfectly and fast too. My mistake was to use a new SqlCommand object which was not part of the transaction. I needed to re-use the same sqlcommand. Here is some working code:

using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["myConString"].ToString()))

    SqlCommand cmd = con.CreateCommand();
    SqlTransaction transaction = con.BeginTransaction();

    cmd.Connection = con;
    cmd.Transaction = transaction;

        cmd.CommandText = "SELECT productcode FROM products WHERE productid = " + productid;
        string code = cmd.ExecuteScalar().ToString();
        cmd.CommandText = "SELECT ProductID, ProductWeight, ProductEuroPrice, OrderID FROM ORDERPICKINGPRODUCTS WHERE orderid = " + orderid + " AND productid = " + productid;
        SqlDataReader sdr = cmd.ExecuteReader();
        DataTable dt = new DataTable();
        cmd.CommandText = "DELETE FROM ORDERPICKINGPRODUCTS WHERE orderid = " + orderid + " AND productid = " + productid;
    catch(Exception e)
I know that it is better to use parameters https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.parameters%28v=vs.110%29.aspx

And the AddWithValue method… But this is just pseudo code and not in production. So don’t worry!

This is just a small sample to help people with a strange timeout which you can encounter if you use an sqlcommand outside the transaction.


Good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn

Hyper-V disables the fastboot option. One of the main advantages of the surface pro is having the fastboot option, which disappears after having hyper-v enabled. Hyper-V is enabled if you install the windows phone dev tools and if you want to run vhd files. Hanselman made a blogpost about adding an extra bootoption to switch between with and without hyper-v


But after installing the january firmware update, it gave me the blue screen with both boot entries, each time I boot.

This can be disabled in Windows. Press the windows key + pause/break and go to the ‘advanced system settings’. in tab ‘advanced’ click the button ‘settings’ next to “boot- and recoverysettings”


remove the checkbox to disable the list of operating systems and hit ok and that’s it. Enjoy the speed of the fastboot with the surface pro 3.

Pin on pinterest Plus on Googleplus Post on LinkedIn