hit counter html code
Yizhe Online Tablet

Weird behavior observed. I tried to write inline codes on the .aspx page itself and before I do that, I will import all the libraries required: (I have VS2008 SP1 + .NET 3.5 installed)

clip_image002

By after compiling and running it, it throws me an error saying “System.Data does not have a System.Data.Linq namespace – namespace not found”

I tried using code-behind and it works fine for me.

[Speculating] I think due to the steps it takes to load all the lib, somehow only System.Data.Linq is not found while all the libraries can be found if I code in-line. To solve this:

1. Go to reference and find System.Data.Linq

clip_image004

2. You have to manually set “Copy Local” to True – Default is false.

clip_image006

In case you need this, I hope this will save you folks a couple of hours :P

Posted by shenyizhe | 1 comment(s)

In visual studio 2008, create a new project -> web site

clip_image002

Choose HTTP as location, and type in the site that you want to publish to:

clip_image004

VS2008 will try to connect to the web server and will require you to login to FPSE:

clip_image006

Enter your username/password and you should be all set to publish.

clip_image008

Posted by shenyizhe | with no comments

Today, I ventured into the IT Pro field and trying to figure out how to write my first PowerShell implementation in Windows 2008 on PS2.0.

This is the problem that gets us started:

- We wanted to do a daily snapshot of our VM on Hyper-V but it seems that we can't do it via the GUI way- at least not yet. So.. we need to write a PS Script and tag it to Windows Scheduler so it will issue a command to do the backend-snapshot at 12hours interval.

- Here’s the code of the Powershell Script (script provided by http://blogs.msdn.com/taylorb/archive/2008/06/16/hyper-v-wmi-creating-applying-deleting-virtual-machine-snapshots.aspx)
clip_image002

- After that, we tired running it via command by
clip_image004

- Then I realize the default PS policy is restricted, which means we can’t run any script even if it’s my own…. So I have to reset my security setting
clip_image006

- Now all set and ready… I’ll run my script
clip_image008

clip_image010

clip_image012

Posted by shenyizhe | 3 comment(s)

http://www.xrez.com/yose_proj/Yose_result.html

Posted by shenyizhe | with no comments

Check them out here: http://weblogs.asp.net/scottgu/archive/2008/05/12/...

Posted by shenyizhe | 1 comment(s)

image

 

DeepZoom on PhotoZoom: http://photozoom.mslivelabs.com

Posted by shenyizhe | 1 comment(s)

Dan Waters (http://blogs.msdn.com/dawate) posted a good video series on how to develop robotics code. Check out this blog post:

http://blogs.msdn.com/dawate/archive/2007/12/14/robotics-and-net-fundamentals-series.aspx

Here is a brief index of the content. Enjoy and comment!

  1. Introduction
  2. Getting Started
    • Setting up the Create
    • Serial port communication in VC# Express
    • Teaching the robot to sing
  3. More on serial port stuff
    • Setting up and utilizing Bluetooth
    • Driving the robot in a square
  4. Intro to VPL and MS Robotics Studio
    • Learning how to drive the robot via a dialog box
    • See how you can use VPL to create a program without writing any code whatsoever
  5. Introducing Autonomous Behavior
    • Using the iRobot Create's sensors and a flow diagram to back up when an obstacle is encountered
    • Conclusion to the series
Posted by shenyizhe | 1 comment(s)
http://michaelsync.net/2008/03/07/tipstricks-silverlight-2-beta-1-tools-for-visual-studio-2008-installation-error
Posted by shenyizhe | 1 comment(s)

image

 

You can now download and test out the WorldWide Telescope project: http://www.worldwidetelescope.org/experienceIt/ExperienceIt.aspx?exp=true

Posted by shenyizhe | 1 comment(s)

News: http://www.channelnewsasia.com/cna/cgi-bin/search/search_7days.pl?status=&search=microsoft&id=346873

I attended the Futsal charity event on Saturday where Microsoft Singapore raised near to half a million dollars for SPD.

More pictures here: http://yizhe.com/futsal/

Posted by shenyizhe | with no comments

Cool video demonstration of HTC products. Check out the new features:

http://msmobiles.com/news.php/7343.html

Posted by shenyizhe | 1 comment(s)

There's this cool site that allows you to create your own font online and when you are done, you can download it to your machine and use it.

http://fontstruct.fontshop.com/

Posted by shenyizhe | with no comments

Interesting read: http://encosia.com/2008/04/16/why-do-aspnet-ajax-p...

Posted by shenyizhe | with no comments

For those who have seen the Hard Rock Memorabilia site which utilize Deep Zoom, you can now create your own Deep Zoom site with the updated Deep Zoom Composer.

http://memorabilia.hardrock.com/

image

 

dzcicon Download the Deep Zoom Composer

Posted by shenyizhe | with no comments
Filed under: ,

image 

While doing a search today, I realize the interface of live search has changed! Change your localization to English-US or English-UK and you should be able to see the new changes.

(http://www.live.com)

Posted by shenyizhe | 2 comment(s)
Filed under: , ,
More Posts Next page »