Sunday, December 30, 2007
Have a Happy and Fruitful New Year!
"An investment in knowledge pays the best interest"
Friday, December 21, 2007
Wednesday, December 19, 2007
Dim OS As OperatingSystem
OS = Environment.OSVersion
Dim o As Orientation = Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation
For portrait mode, it returns Horizontal. For landscape mode, it returns Vertical.
When I created a Windows Mobile project, the controls in Toolbox were missing. In place of the usual controls is a tab labelled "#13119". The usual remedy of right-clicking the Toolbox and then selecting Reset Toolbox did not help.
After some searching of Visual Studio folders, I finally found the solution. You need to navigate to the following folder:
C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\9.0
And within this folder are some hidden files. Simply remove the following files:
"toolbox.tbd", "toolboxIndex.tbd", "toolbox_reset.tbd", "toolboxIndex_reset.tbd"
Then restart Visual Studio 2008. Your controls should now come back up! ;-)
Click here for more mobile development tutorials!
Tuesday, December 18, 2007
This course is targeted at beginning Web developers who need to get jumpstarted to ASP.NET Web development in the shortest amount of time. This feature-packed and lab-intensive course will show you how to develop ASP.NET 3.5 applications, as well as numerous tips and tricks to enhance your Web applications using AJAX and Silverlight.
What you will learn
Day 1 – Basics of ASP.NET 3.5
* ASP.NET Fundamentals
- Understanding Postback
- Navigating from one page to another
- Web server and HTML controls
- Hiding and displaying controls
- Setting the focus of controls
- ASP.NET page caching
- Image maps
- Files uploading
- Using the Validation controls
- Applying themes to your web pages
- Master pages and site navigation
- Displaying Drop-down menus
- Globalization and localization
Day 2 – Database, Security, and Web Services
- Database access using ADO.NET
- Data binding using the data controls
- Data caching
- Encrypting and decrypting configuration strings
- Building a shopping cart
- Implementing security using the security controls
- Creating and administering user accounts
- Personalizing your Web application using the Profile service
* Web services
- Developing and Consuming Web services
- Encrypting and Decrypting data
Day 3 – AJAX, Silverlight, Deployment
* Architecture of the ASP.NET AJAX Framework
- How to update part of a Web page without a page reload
- How to auto-complete user input
- How to update a panel at regular intervals
- How to create a panel that’s always floating and visible
- How to populate a DropDownList control without a page refresh
- How to display a confirmation dialog on a control
- How to call Web Services directly from a web page
- How to access the properties of a Profile property from a Web page
- How to add drag and drop functionality to a control
- How to give users control of the information shown by a panel
* Introduction to Silverlight 1.0 and 1.1
- Integration with ASP.NET Futures
- Xcopy deployment
• Time: 9am to 5pm daily
• 18th to 20th (Tue to Thur) March 2008
• Closing date for registration: 19th Feb 2008
• To qualify for Early Bird Discount, register before 19th Jan 2008 and receive a $200 discount ($899 after discount)
• Inclusive of 1 lunch and 2 tea breaks for each day
Download the application form here.
I am excited to announce that Developer Learning Solutions has teamed up with asp.netPRO to offer a free one-year online-only subscription to the magazine ( US$14.99 value) for all attendees of the "What is new in Visual studio 2008 & .NET 3.5" and the "ASP.NET 3.5, Ajax, and Silverlight" courses.
asp.netPRO is devoted to professional developers who use Microsoft's ASP.NET (Active Server Pages.NET) technology to build Web-enabled applications and business solutions. It is the information resource to help build, debug, deploy and run the next generation of Web applications.
While the HTC Touch fills that void by supporting a touch UI, it requires people to buy a new device, which most of us do not have the luxury of doing so. So what to do if you have a Windows Mobile 5.0/6 device and are keen to develop applications that support the "touch" UI? Well, come and join us in the upcoming Windows Mobile 6 Programming course and I will show you the techniques to develop "touch"-enabled applications that allow users to navigate your application using their fingers. And best of all, these techniques work across all Windows Mobile devices.
Check out the course details here.
Monday, December 17, 2007
And I am honored that I am a contributor to this book. Check out my hacks in this book!
Saturday, December 15, 2007
How do I know if my Windows Mobile device is connected to the Internet and if so, what is its IP address?
Use the following function to determine if you are connected. You can also use this to determine its IP address:
'---check whether you are connected to the Internet---
Private Function IsConnected() As Boolean
Dim hostName As String = Dns.GetHostName()
Dim currenthost As IPHostEntry = Dns.GetHostEntry(hostName)
Return currenthost.AddressList(0).ToString() <> _
Catch ex As Exception
Sunday, December 09, 2007
Saturday, December 08, 2007
* Windows Mobile 6 Standard (Smartphone) Programming - 27th Feb 2008
* Windows Mobile 5.0/6 Professional and Classic Programming - 28th and 29th Feb 2008
Click on the links above to download the course brochures and application forms. See you at the class!
Download the free PDF version of the Nov 2007 issue of the ASP.NET Pro magazine now.
Day 1 – Languages - What is new in Visual Basic 2008 and C# 2008
• Enhancements in the Visual Studio 2008 IDE
• Visual Basic 2008
• C# 2008
• LINQ – Language Integrated Query
Day 2 – What is new in ASP.NET 3.5
• New IDE Support
• ASP.NET AJAX
• New controls
• WCF Support for RSS, JSON, POX and Partial Trust
• Silverlight 1.1
Day 3 – Windows Presentation Foundation and Windows Communication Foundation
• Windows Presentation Foundation (WPF)
• Windows Communication Foundation (WCF)
• Time: 9am to 5pm daily
• 12th to 14th (Wed to Fri) March 2008
• Closing date for registration: 12th Feb 2008
• To qualify for Early Bird Discount, register before 12th Jan '08 and receive a $200 discount ($899 after discount)
• Inclusive of 1 lunch and 2 tea breaks for each day
Download the course application here.
Friday, December 07, 2007
For those who missed this course, come join me in the next run from 27th to 29th Feb 2008. Details coming soon! [Update: New dates are now available. Check out this link]
Here are some of the comments from you guys:
"It was a great exposure on window mobile programming on mobile computers such as the MC35 and MC70..."
Noor Jaffer, Y3 Technologies Pte Ltd, Singapore
"It was a good training with an even better trainer. The entire training was interesting and value for money. Will certainly join the other courses when I can. Thanks!"
Desmond Pek, ITE
"Excellent course. Definitely worth every penny. "
Heng Shui Ming, Singapore Epson Industrial Pte Ltd
Wednesday, November 28, 2007
Friday, November 23, 2007
And in case you missed the news....it seems like Windows Mobile will soon be supporting Windows SideShow....a topic covered in depth in this book. Check out the news from Engadget.
Wednesday, November 14, 2007
Sunday, November 11, 2007
Drop me a note to let me know where you are located and your desired dates. If you would like in-house corporate training, do also drop me a note. For detailed course content, drop me an email at firstname.lastname@example.org and I will send it to you.
Wednesday, October 31, 2007
Monday, October 29, 2007
In addition, you will also learn how to implement geo-tracking using a GPS receiver and a Windows Mobile device. If you have always wanted to know the cool things you can do with a GPS receiver, check out the images in this post!
Check out the following for the synopsis and head to Amazon.com to reserve your copy today!
As an easy-to-use application that provides information at a glance, a gadget basically takes the concept of portal dashboards and moves them to the more accessible Windows desktop where users can quickly and easily obtain weather information, RSS news feeds, and much more. In Windows Vista, there are two types of gadgets – Sidebar and SideShow gadgets. Sidebar gadgets are mini applications hosted in the Sidebar pane located on the Windows desktop, while SideShow gadgets are applications that send information to SideShow-enabled devices such as an external LCD display, or even a remote control.
With this hands-on guide, you’ll discover the simplicity of developing Vista Sidebar and SideShow gadgets that can run on the Windows desktop as well as send information to SideShow-enabled devices.
This book contains two parts – the first covers Sidebar gadgets while the second part covers SideShow gadgets. In each part, Microsoft MVP author Wei-Meng Lee begins by walking you through the development of a simple gadget, introducing you to the key concepts in the process. Each chapter breaks down the specific APIs that are relevant to enhancing a gadget, and helpful code samples throughout every chapter detail the step-by-step progression of how a gadget is built. By the end of the book, you will be confidently programming Vista gadgets.
What you will learn from this book
* Components of a Sidebar gadget
* Detailed description and code samples on using the Sidebar APIs
* Using .NET Interop to enhance Sidebar gadgets
* Interfacing Sidebar gadgets with SideShow-enabled devices
* Localizing Sidebar gadgets
* Debugging Sidebar gadgets
* Detailed walk through of a Sidebar gadget project
* SideShow architecture
* Using the SideShow managed class for .NET development
* Understanding the Simple Content Format (SCF) content format for sending SideShow data
* Interacting with SideShow-enabled device
* Detailed walk through of a SideShow gadget project
Who this book is for
This book is for developers who want to build Windows Vista gadgets that target both the desktop as well as SideShow-enabled devices.
Sunday, October 28, 2007
Monday, October 22, 2007
Register today! Application forms available here.
Confused about the various jargons on Silverlight? Check out this article.
Friday, October 19, 2007
Tuesday, October 16, 2007
· Voice Recording
· Video Streaming
· QRCode scanning
As places are limited, please register early to avoid disappointment. Download registration form here.
Sunday, October 14, 2007
All you need is a computer with a webcam connected and a Windows Mobile 5.0/6 device with network connectivity. If you want to learn how to build this application, come join us in the upcoming Windows Mobile 6 Standard course on 5th Dec 2007.
Saturday, October 13, 2007
Are you looking for legal forms online? With a quick search you will probably find lots of small business forms or state tax forms available on the web. Obtaining public documents has never been easier.
Wednesday, October 10, 2007
A call center service can help you with your telephone needs if you run a growing business. A good phone answering service can provide plenty of help; some companies wouldn't work without an external answering service to take calls.
Thursday, October 04, 2007
Friday, September 14, 2007
5th Dec 2007 (Wed) - Windows Mobile 6 Standard (Smartphone) Programming
6th and 7th Dec 2007 (Thurs, Fri) - Windows Mobile 5.0 Programming using the .NET Compact Framework 2.0
For more details about the two courses, download the brochures and application forms here. As usual, please register early in order to enjoy the early-bird discount!
Friday, September 07, 2007
Thursday, September 06, 2007
Wednesday, September 05, 2007
Here is the synopsis of that article:
"Unlike the Pocket PC, the Smartphone 2003 platform does not come with a File Explorer for users to view the folders (and files) on the phone. This is perhaps due to the fact that Microsoft does not see the need for users to do this. However, it is often useful for developers to be able to view the directory structure of a Smartphone so that they can decide on which folders to use to store their applications and files. In this article, I will demonstrate how you can build a File Explorer for your Smartphone using the .NET Compact Framework. You will need to have Microsoft Visual Studio .NET 2003 and the Smartphone 2003 SDK to do this. "
Wednesday, August 29, 2007
This course will introduce to participants the various techniques to program their Windows Mobile 6 Standard phones (previously known as Microsoft Smartphone). This feature-packed course will show you the challenges in developing non-touch screen user interfaces as well as the various techniques to develop line-of-business applications.
What you will learn
* Introduction to Windows Mobile 6 Standard Programming
* Programming using the .NET Compact Framework 2.0
* User Interface Design for Smartphone
* Storage and File I/O
* Device Synchronization
* SMS Messaging and Email
* Signing your application
* Project 1 – Building a RSS Reader
* Project 2 – Building a SMS Chat Manager
* What is new in .NET Compact Framework 3.5
* Time: 9am to 5pm
* 5th Dec 2007 (Wed)
* Closing date for registration: 5th Nov 2007.
* To qualify for Early Bird Discount, register before 5th Oct and receive a $100 discount (S$299 after discount)
Motorola Enterprise Mobility Business
230 Victoria Street #12-06/10
Bugis Junction Office Tower
You will be required to bring your own notebook computer for the course. The required software will be sent to you one week before the commencement of the course. Please ensure that the required software is installed before attending the course.
Monday, August 27, 2007
In this two-day workshop, you will build a SMS Manager application that allows you to use SMS message for voting purposes. This application is useful in scenarios where you need to collect feedback from users realtime, and is very useful in places like lecture threatres where you want to encourage students' participations.
In addition, you will also build a Call Manager application. The Call Manager allows you to disable your phone calls when you are driving or in a meeting and automatically sends a message to inform the caller that you are unable to take the call (if it is your boss calling, send him/her a message that you are now very busy with work to take his/her call!).
If you have a Windows Mobile 5.0 phone edition device and want to know what are the things you can do to make it more useful (well, build the applications yourself!), join us this Sep 20th and 21st. For more information, contact me at email@example.com.
Register now and get a free 2GB USB flash drive!
Trying to find an international phone? Getting global phones can be difficult, especially when you are traveling around the world. Next time you want a satellite phone rental looking on the Internet could help.
Saturday, August 18, 2007
Thursday, August 02, 2007
* Symbol has traditionally been a leader in the enterprise mobility market, but with the launch of the MC35, they are sure looking at the pro-sumers market (e.g. managers and professionals). The MC35 has a slim footprint and comes with a built-in camera that changes into a barcode reader with the flick of a switch.
Friday, July 20, 2007
This course will introduce to participants the various techniques to program their Windows Mobile 5.0 Pocket PC devices. Far from being an introductory course, this feature-packed course will show you how to interface with external devices, communicate wirelessly with other devices, as well as access the data of built-in applications (such as Contacts, Outlook Mobile, and Calendar) from within your own.
Day 1 (Fundamentals)
· Introduction to Windows Mobile 6 development (NEW)
· Building Screen Orientation and Resolution Aware Applications
· File I/O
· Integrating with Contacts and Outlook Mobile
· Integrating with Calendar
· Integrating Telephony Functions
· Using Web Services
· Transferring Binary Data using Web Services
· Database Access using SQL Server Mobile Edition
· Remote Data Access using SQL Server Mobile Edition
· Using the Built-in Camera
· Intercepting Incoming SMS Messages
· Capturing Signature on the Pocket PC
· Location-Aware Using GPS (Serial Port)
· Imaging (Using the Symbol SDK)
· Barcode Scanning (Using the Symbol SDK)
· Barcode Scanning (Using the Built-in Camera)
· Infrared Programming
· Monitoring System States and Sockets Communications
· Bluetooth Printing
· Deploying Pocket PC Applications
· Using the Magnetic Card Reader
· Time: 9am to 5pm daily
· 20th (Thur) and 21st (Fri) Sep 2007
· Closing date for registration: 7th Sep 2007.
· To qualify for Early Bird Discount, register before 16h Aug and receive a $200 discount ($598 after discount)
· Inclusive of 1 lunch and 2 tea breaks for each day
Motorola Enterprise Mobility Business
Microsoft® Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates with existing Web applications. Silverlight supports fast, cost-effective delivery of high-quality video to all major browsers running on Mac OS X or Windows.
Day 1 (Silverlight 1.0)
* Understanding XAML
* Using the Canvas object
* Drawing and Painting
* Graphics programming
* Manipulating images
* Manipulating text
* Manipulating media
Day 2 (Silverlight 1.1)
* Building Dynamic UI with Silverlight
* Networking in Silverlight
* Interacting with HTML Programmatically
* XML Programming
* Persisting Data
* Time: 9am to 5pm daily
* 1st (Mon) – 2nd (Tue) Oct 2007
* Closing date for registration: 7st Sep 2007
* To qualify for Early Bird Discount, register before 16h Aug and receive a $200 discount ($598 after discount)Inclusive of 1 lunch and 2 tea breaks for each day
HDB Learning Center
480 Lorong 6, Toa Payoh
Friday, July 06, 2007
Saturday, June 23, 2007
Saturday, June 16, 2007
Sunday, June 10, 2007
Do I need to bring my own Pocket PC device for the course?
No, Pocket PCs will be provided (you have to share them though). Symbol will be providing 10 units of the MC70 for testing purpose, as well as other accessories such as RFID snap-ons, GPS receiver, as well as Zebra Bluetooth Printers. However, please feel free to bring your own device if you want to see how the sample apps run on your own device.
I have a older Windows Mobile 2003 PPC. Is this course applicable?
While this course is focused on Windows Mobile 5.0, there are some examples that will work on older PPCs. For example, the SerialPort class is new in .NET CF 2.0 and hence it is not tied to the Windows Mobile 5.0 platform, and therefore will work on older PPCs.
How is your course different from others?
If you have attended my course before, you would know that I am a great believer of learning-by-doing. And hence my course is focused extensively on hands-ons. I don't believe in spending lots of time on slides, explaining all the details of a class/methods. For that, you can really read a book or documentation.
I believe that the best way to learn programming is to actually type in the code, debug it, fix it and then seeing the end result yourself. In fact, I encourage my students to make as much mistakes as possible so that the concepts really sink in into their heads (this is actually how I learn new technologies; and in fact the best way to learn a new technology is to write a book! :-)).
And of course, the key ingredient to a good course is the course materials/workbook. For all my courses, I use materials that I develop myself. Each lab exercises contains simple and practical demos that you can modify and use for your own projects. I do not believe in huge and complicated examples/case studies that require you to start in Day 1 and complete in Day 5. As far as possible, each lab exercise is stand-alone so that students who did not manage to follow earlier labs (either they are late or the topics are just not relevant to them) can follow the rest of the course without feeling lost. In fact, I eat my own dog-food - I always refer to my own course materials when I am working on projects and needed to quickly locate a code-snippet to accomplish some functions, such as how to serialize a class, encrypt some text strings, access database, etc.
That said, do send in your questions if you have any. Cheers!
Friday, June 08, 2007
In addition, the application forms for the MCTS Prep Classes and the Windows Mobile 5.0 Programming Course can be downloaded here.