Learn2Develop is a technology company specializing in hands-on training on the latest Web and Mobile technologies.
Email: weimenglee@learn2develop.net
Friday, December 30, 2005
Data Binding in Windows Forms 2.0 and An Overview of Windows Presentation Foundation
Data Binding in Windows Forms 2.0
"Data binding is one of the common tasks that developers working with data have to perform. In Windows Forms 2.0, the new BindingNavigator and BindingSource objects can save you a lot of effort in data binding. This article will show how to perform tasks such as sorting and searching records using data binding. I will also show how to display master-detail relationships between tables using data binding in Windows Forms 2.0. "
An Overview of Windows Presentation Foundation
"These acronyms include WinFX, WinFS, WCF (Windows Communication Foundation; codenamed Indigo), and WPF (Windows Presentation Foundation; codenamed Avalon). In recent months there has been a lot of buzz going around WPF, which is one of the core components of WinFX. In this article, I will take you on a whirlwind tour of what WPF is and how you can start preparing for Vista by developing applications today using the available SDK. "
Saturday, December 24, 2005
"ASP.NET 2.0: A Developer's Notebook" Updated for Final Release of Visual Studio 2005
Looking for Sudoku puzzles testers
Beta testers will need to do the following:
1. Solve 3 puzzles for each level. There are total 4 levels - Easy, Medium, Difficult, Very Difficult.
2. Rate the level of difficulties for each puzzle.
3. Provide additional feedback (optional).
While I won't be able to offer financial incentives for being a beta-tester, what I can promise is lots of fun (if you are a Sudoku addict) and a complimentary copy of my book when it is published.
If you are interested, send me an email at wei_meng_lee@hotmail.com and I will get back to you. Thanks and have a nice holiday!
Programming Sudoku (Technology in Action)
Here is a brief synopsis of the book:
"Sudoku is the wildly popular new puzzle game. Sudoku puzzles are 9x9 grids, and each square in the grid consists of a 3x3 subgrid called a region. Your goal is to fill in the squares so that each column, row, and region contains the numbers 1 through 9 exactly once. And some squares already contain numbers or symbols, which lend clues toward the solution.
Programming Sudoku provides you with great approaches to building and solving Sudoku and other similar puzzles. Using ingenious artificial intelligence and game theory techniques, you'll learn how to get a computer to solve these puzzles for you.
This is a fun, intriguing read whether you're a novice or advanced programmer. It acknowledges the.NET platform as a base, but you'll find this book interesting whatever your programming background. The core techniques in the book enable you to solve Sudoku on any programming platform."
This book will show you how to solve Sudoku puzzles programatically as well as generate puzzles of varying levels of difficulties. It would be a fun read for both Sudoku beginners and Sudoku addicts. Even if you don't want a computer to solve your Sudoku puzzles, the techniques described in this book will help you to solve Sudoku puzzles in a systematic way.
Take the Pain Out of Deployments with ClickOnce
What Is Virtualization
Wednesday, December 07, 2005
Check out Gadgets for Geeks
Sunday, December 04, 2005
VP-820-L NEXPHONE Homephone Adapter
Sunday, November 20, 2005
The ideal Skype handset – The Linksys CIT200 Cordless Internet Telephony Kit
Here are its advertised features:
* You don't have to sit in front of your computer to talk to your friends with Skype™
* USB Base Station connects to your PC and puts your Skype contact list on the handset's screen -- just choose and talk
* Handset features illuminated Caller ID screen, speakerphone, call waiting, and intercom to other (optional) handsets
* Also supports SkypeOut™ dialing and incoming SkypeIn™ calls
Check it out at: http://www1.linksys.com/international/product.asp?coid=52&ipid=821
I am going to get one if I find one locally!
Tuesday, November 15, 2005
Karen's VS Blog: Q&A With MVP Wei-Meng Lee
Be sure to also check out the Karen's:
Thursday, November 10, 2005
My new toy!
Wednesday, October 12, 2005
Application Settings in Windows Forms 2.0
What's New in Windows Mobile 5.0?
Microsoft recently released the latest version of the Windows Mobile platform, Windows Mobile 5.0. What's cool and new? This article gives you the rundown of the best new features.
And if you are in the market for a good Windows Mobile 5.0, the Dell Axim x51V seems like a good buy!
Tuesday, October 11, 2005
O'Reilly Book Covers
Saturday, October 08, 2005
New language on the block - KPL (Kids Programming Language)
"Microsoft has signed on to promote a new programming language intended to replace BASIC as the first step students take towards learning how to code. The Kid's Programming Language, or KPL, was developed under the direction of Jonah Stagner, and his colleagues, ex-Microsoft program manager Jon Schwartz and former NCR engineer Walt Morrison. The three run the software consultancy Morrison-Schwartz Inc. "
You can download KPL from: http://www.kidsprogramminglanguage.com/download.htm
Here is a screenshot of the KPL IDE:
One cool feature is that you can directly translate KPL code into C# and VB.NET, making KPL a very good language for getting kids started on programming and then eventually moving into .NET programming using C# or VB.NET:
Friday, October 07, 2005
Sample projects for Visual Basic 2005 Jumpstart (O'Reilly)
The second app shows how to build a simple shopping cart application using the new features in ASP.NET 2.0. Shows quite a number of features - Master pages, Profile services, etc.
Check them out (even if you don't have the book)!
Avalon series at DevX.com
Here is the list:
Be an Avalon Test Pilot and Build the Windows UIs of Tomorrow
Avalon, the nascent framework for building next-generation user interfaces in Windows Vista, is available now in beta, but you don't have to wait for Vista (a.k.a. Longhorn) to get started. We unpacked it early in order to give you a jump start on building the UIs of tomorrow.
Learn Navigation in "Avalon"—the Windows Presentation Foundation
Windows Presentation Foundation, the nascent framework for building next-generation user interfaces in Windows Vista, is available now in beta, but you don't have to wait for Vista to get started. In this second article in the series, we show you how to use the new navigation model.
Create Data-Aware Applications in "Avalon"—the Windows Presentation Foundation
In WPF you can bind UI elements to a wide variety of data sources, including XML data, Web services, as well as databases. Learn how data-binding works in the Windows Presentation Foundation with this sample project using an XML data source.
Globalize and Localize Your "Avalon" Applications Using LocBaml
You already know that internationalizing your applications can propel you into new markets. But did you know that the Windows Presentation Framework can make it easier than ever to do? Learn how to write culture-aware WPF applications using this example.
Thanks, Tim!
Globalize and Localize Your "Avalon" Applications Using LocBaml
Wednesday, September 28, 2005
Enhancing Skype
If you're a Skype fan, you know it can be used to make internet phonecalls. But did you know about all the cool tools you can use to enhance it? Checkout my latest article on WindowsDevCenter.com.
Sunday, September 25, 2005
What is ASP.NET?
If you are new to ASP.NET, you might want to take a look at a recent article I wrote for O'Reilly Network. Here is the scoop:
What Is ASP.NET by Wei-Meng Lee -- Part of the .NET Framework, ASP.NET allows developers to build dynamic web apps and web services using compiled languages like VB.NET and C#. Wei-Meng Lee provides a look under the ASP.NET hood, describing how it works, its improved support in areas like state management and tracing and debugging, and important new features in version 2.0.
MVP Summit 2005
Friday, September 16, 2005
Writing A Custom Membership Provider for your ASP.NET 2.0 Web Site
Friday, September 09, 2005
Visual Basic 2005 Jumpstart Published!
Thanks to the various technical reviewers and advisors - Robert Green (formerly Visual Basic team at Microsoft), Jeff Barr (Amazon.com), Paul Yuknewicz (Microsoft), and Joseph Binder (Microsoft).
Thursday, September 08, 2005
The new iPod nano
Wednesday, September 07, 2005
WinFS StoreSpy
The StoreSpy application is located in the C:\winfsbeta1\Unsupported\StoreSpy folder. Have fun!
Using Your Webcam for Surveillance
Create Data-Aware Applications in "Avalon"—the Windows Presentation Foundation
"In WPF you can bind UI elements to a wide variety of data sources, including XML data, Web services, as well as databases. Learn how data-binding works in the Windows Presentation Foundation with this sample project using an XML data source. "
Tuesday, August 30, 2005
WinFS Beta 1 Released to MSDN Subscribers
There is also a video about WinFS on Channel 9.
Monday, August 29, 2005
Major Changes for Visual Web Developer 2005 and ASP.NET 2.0 from Whidbey Beta 2 to RTM
Thursday, August 25, 2005
Google Talk (beta)
My article on Sep/Oct '05 issue of Code Magazine
Wednesday, August 24, 2005
Avalon Programming on Windows XP
I did a session on "Building Windows Vista (Longhorn) client application using Avalon" today at TechEd '05 Singapore. If you are interested to test out Avalon today, you simply need to have Windows XP, together with the following free downloads from Microsoft:
- Microsoft® WinFX™ Software Development Kit for Microsoft® Pre-Release Windows Operating System Code-Named "Longhorn", Beta 1 Web Setup
- Microsoft® Pre-Release Software WinFX Runtime Components Beta1
In addition, to help you create Avalon UI using XAML, you can try out the following third-party tools:
Have fun!
Friday, August 19, 2005
Changes in Client Callback in Visual Studio 2005 July CTP
- PrepareCallbackEvent
- RenderCallbackResult
void ICallbackEventHandler.PrepareCallbackEvent(string eventArgument)
{
this._eventArg = eventArgument;
}
string ICallbackEventHandler.RenderCallbackResult()
{
if (this._eventArg.StartsWith("1:"))
{
//--strips away the command
this._eventArg = this._eventArg.Substring(2);
//--get city and state based on Zipcode
switch (this._eventArg)
{
case "95472":
return "Sebastopol,CA";
case "02140":
return "Cambridge,MA";
default:
throw (new Exception("ZipCode not valid!"));
}
}
else if (this._eventArg.StartsWith("2:"))
{
//--strips away the command
this._eventArg = this._eventArg.Substring(2);
//--get states and cities related to country
switch (this._eventArg)
{
case "Sing":
return "Singapore,";
case "US":
return "Alabama,California,Maryland,Massachusetts,New York,Oklahoma,Wisconsin,";
case "UK":
return "Birmingham,Cambridge,Christchurch,Leeds,Sheffield,";
default:
return "";
}
}
else
{
return "Command not recognized";
}
}
In essence, the two events above replace the original function that handled the RaiseCallbackEvent event. The rationale for the changes is to ensure callbacks work with asynchronous data sources.
For VB2005 readers, it should not be difficult to modify the original code in the book. Thanks, Cindy, for pointing that out to me!
Thursday, August 18, 2005
Blogger for Word Add-in
Google has just announced the release of the Blogger for Word Add-in that allows users to publish their post in Blogger.com via Microsoft Word. Using the Blogger for Word Add-in, you will be able use Microsoft Word to:
- Publish to your blog
- Save drafts
- Edit posts
I have tried it and it works pretty neat! However, my only complain is that it can’t handle images yet and I still have to edit my post using Blogger Dashboard.
Avalon series
iPod Photo
That prompted me to write the eDoc - All About Your iPod Photo (PDF), for O'Reilly. In it, I shared some of the ways in which you can:
- Save photos for viewing on a TV
- Use it for presenting PowerPoint slides
- View photo slideshows with background music
- View and listen to Podcast
However, recently Apple has decided to put color screens on every iPod, meaning that all new iPods you buy today are essentially iPod photos. This further proves that color is a necessity for the iPod and that a separate line of iPod with color capabilities does not justify the higher price tag (at least consumers would not be willing to pay for it).
Nevertheless, my eDoc is still useful if you have a color iPod :-) It is available as a PDF file for US$5.95. I am not sure if people are willing to folk out cash for buying bytes, but do let me know if you have reached the stage where you buy books based on content rather than on something physical.
Tuesday, August 16, 2005
An In-Depth Look at Vista, Part 1 and 2
Friday, August 12, 2005
Missing Generate Local Resource menu item in Visual Studio 2005?
While I do not know the exact cause of the missing menu item (probably it went missing after you install some third-party tools in Visual Studio 2005). However, you can get it back easily. Here are the steps:
Go to Tools->Customize.
Select the Tools catagory and click on the “Rearrange Commands…” button.
In the Menu Bar list, select Tools and click Add… to add the Generate Local Resource menu item.
That should add the Generate Local Resource menu item back into the Tools menu.
Allow your users to use your website in their own language
Tabbed browsing, RSS support, and more
Visual Basic 2005 Jumpstart
Here is a brief synopsis of the book:
"Okay, VB6 developers--time's up. Microsoft no longer supports this version of Visual Basic, but VB 2005 offers several attractive reasons to upgrade. Our jumpstart guide lets you test-drive the beta version of VB 2005 with three hands-on projects that let you learn the new syntax quickly. It's the painless way to migrate, and the perfect training manual for moving to the world of .NET. "
More information available at: http://www.oreilly.com/catalog/vbjumpstart/
Wednesday, August 10, 2005
ASP.NET 2.0 : A Developer's Notebook
Here is the brief synopsis of the book:
"To bring you up to speed with ASP.NET 2.0, this practical book offers nearly 50 hands-on projects. Each one explores a new feature of the language, with emphasis on changes that can increase productivity, simplify programming tasks, and help you add new functionality to your applications. You get the goods straight from the masters in an informal, code-intensive style. Part of our new Developer's Notebook series."
For more information, check out: