Patrick\’s Bytes

1, December 2008

My new blog address

In case you drop by here. Do check out my new blog site at

I will stop posting at this side.


17, July 2008

Thoughts on C# 4.0

Filed under: C#,Visual Studio — patrickyong @ 1:04 am

Yes yes… meet the design team on C# 4.0. C# 3.0 was out with Visual Studio 2008 so it is natural to start look at the future of the language now. This is an interesting team as they got guys from different background i.e. SQL Server, VB, IronPython and even Javascript. We continue to have the father of C# Anders Hejlsberg in the talk here.

22, June 2008

Community Launch: Windows Server, Visual Studio & SQL Server 2008

Filed under: Event,SQL Server 2008,Visual Studio 2008,Windows Server 2008 — patrickyong @ 1:17 am


Four Malaysian technical communities, Intel IT Technical Community Malaysia Chapter .NET SIG, ELITE, MIND and SPAN, are coming together to host a community event focusing on technical dives of Microsoft Windows Server 2008™, Visual Studio 2008™, and SQL Server 2008™.

Date             : 28 June 2008, Saturday

Venue           : Microsoft Auditorium

                           Microsoft (Malaysia) Sdn Bhd

                           Level 29, Tower 2,

                           Petronas Twin Tower, KL

Website         :

13, June 2008

Heroes happen @Penang this weekend

Filed under: Event,SQL Server 2008,Visual Studio 2008,Windows Server 2008 — patrickyong @ 9:37 pm


My dear ‘ka ki lang’ in Penang, Microsoft is doing a community launch of Windows Server 2008, SQL Server 2008 and Visual Studio 2008 at Intel’s PG12 auditorium tomorrow from 8.30am – 5.30pm.

More info here

9, June 2008

SharePoint Developers, you can uninstall VS2005 for good

Filed under: Sharepoint,Visual Studio 2008,VSeWSS — patrickyong @ 12:36 am

SharePoint developers always have the pain of going back and forth between Visual Studio 2005 and 2008 because 2 of the most productive tools (one is SharePoint workflow project template in VS2008 and WSS3 tools for VS2005) is available in different versions of Visual Studio.

Well, that is the scenario until today the SharePoint team officially released Windows SharePoint Services 3.0 Tools for Visual Studio 2008 (VSeWSS) with the version number 1.2.

If the only reason you still having VS2005 in your PC is because of VSeWSS then it’s time to say goodbye and have a pure VS2008 development environment.

Download the bits here.

3, June 2008

Articles about debugging in Visual Studio

Filed under: Visual Studio — patrickyong @ 10:37 am

Teaching debugging and exception handling in Visual Studio today and some interesting questions pops up. Among them is how come certain variable’s value cannot be changed during debugging while the others can?

I haven’t found a solid answer yet except from frice’s blog:

Like the Immediate window, sometimes you can change local variable values by selecting the variable you want to change and clicking the Value box. If VB lets you to change the variable, the Value field will let you edit it. Some things can’t be changed though. For example, you can’t change objects, such as the properties of a control, or certain Variant variables. In cases where you can’t change the values of a variable in the Locals window, you can use the Immediate window to test the change.

Below are some related articles/ blog post.

VS 2005: Cool debugging tricks

Basic Debugging features in Visual Studio 2005

New debugging features in Visual Studio 2005

30, May 2008

What’s up? Going to Penang next week.

Filed under: .NET Programming,Visual Studio 2008 — patrickyong @ 2:46 pm

I am out of KL for this week and will be running some workshops and talks at Penang.

This coming Monday and Tuesday I will conduct a Getting Start with .NET programming workshop at MCSB Training Center at Island Plaza. With the help of my pal Ervin Loh, he updated the content of the workshop to use latest features from .NET Framework 3.5 and hands on labs are using Visual Studio 2008. My colleague Rahimah will also be running similar workshop at Cyberjaya at the same place.


After that on next Thursday I will do a What’s new with Visual Studio 2008 talk at Penang Skills Development Center, expect something cool to be demo.


24, May 2008

MSDN Magazine revisits OBA development

Filed under: Office Business Application,Visual Studio 2008,VSTO — patrickyong @ 1:14 am

It has been sometime since there is an issue of MSDN mag that focuses on Office Business Application development. I believe not since before Visual Studio 2008 released. Visual Studio 2008 does comes with a lot of new tools inside VSTO for OBA development and it is worth while to have a look what you can achieve easily here.

Editor’s note on why one should think of Office as a development platform

Document Automation using VBA to VSTO

Automate Web App Deployment with the SharePoint API

Integrate VSTO with SharePoint Content Types

17, May 2008

Visual Studio 2008 SP1 Beta is up!

Filed under: Visual Studio 2008 — patrickyong @ 11:09 am


Oh finally I am able to get Visual Studio 2008 SP1 Beta installed. Been trying to do this since 3 days ago. Thanks for Andre Ziegler that my installation problem is caused by the bootstrapper and pointed me to download the full installer which I guess is made available later after complains from users like me.

That full installer is only the .NET Framework 3.5 SP1 installer (its about 200Mb), for the Visual Studio download, I used the bootstrapper to download everything into my hard drive first (which takes another 500Mb) using the following command.

VS90sp1-KB945140-ENU.exe /createlayout c:\VS90SP1\Layout /passive

Now is to get SQL Server 2008 Feb CTP running in the same VPC. 🙂 Then hopefully lah I will be able to do some talk on this service pack next month.

14, May 2008

Error when installing VS2008 SP1 Beta on Windows 2008 VPC

Filed under: Visual Studio 2008 — patrickyong @ 6:01 am

I got the below error msg from the log

Exe (C:\Users\ADMINI~1\AppData\Local\Temp\Microsoft Visual Studio 2008 SP1 (Beta)\dotnetfx35setup.exe) failed with 0x80070643 – Fatal error during installation. :
[5/14/2008, 13:32:27] (IronSpigot::ExeInstallerBase:: PerformAction) PerformOperation on exe returned exit code 1603 (translates to HRESULT = 0x80070643)
[5/14/2008, 13:32:27] Action complete
[5/14/2008, 13:32:27] (IronSpigot::LogUtils::LogFinalResult) Final Result: Installation failed with error code: (0x80070643), Fatal error during installation.

I am doing this in a VPC environment with the below software installed

  • Windows Server 2008 Standard RTM
  • Visual Studio 2008
  • Office 2007 w/SP1
  • Windows SharePoint Services w/SP1
  • SQL Server 2008 Feb 08 CTP

Already posted my issue in the forum, will update the blog if I manage to find a solution

Next Page »

Create a free website or blog at