Nat Luengnaruemitchai

Geek Blog

  Home  |   Contact  |   Syndication    |   Login
  100 Posts | 0 Stories | 300 Comments | 232 Trackbacks

News

Archives

Post Categories

Blogroll

September 2004 Entries

There are mainly 2 types of Win32 applications, console application and window application. They have different way in handling application exit. To force Window application to exit, you need to send out WM_CLOSE message to the main window handle. That's pretty simple to handle. You can hook up to Application.ApplicationExit or Form.Close at the form level. However, in a console application, it is a little bit different. Console applications are somehow modeled after DOS console application where...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Sometimes, your application might be very database centric. You might need to summarize/retrieve data from a big database. Therefore, the query might take a long time to execute such that user cannot bare to see a hang screen for several seconds or minutes without seeing any progress. To solve this problem, you might either create something like animated GIF i.e. hourglass icons or bouncing progress bar like FireFox installer or actually tell the user on the progress of query. It's pretty simple...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Hmm... I believe that Whidbey may be delayed again. It may be renamed to Microsoft Visual Studio .NET 2006 instead. If so, can I ask one more thing? I would like to see complex number to be natively supported in .NET as either another primitive type or just a struct. I saw complex number in STL library..... why shouldn't we have the same in .NET :D
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

So far, I like C# a lot. However, sometimes, I feel like C# is inferior to VB.NET. VB.NET provides financial library within Microsoft.VisualBasic.dll while C# doesn't have one. I wouldn't argue that you can add a reference to that dll and use it in C#. I just think that it should be available under System.Math or a more generic namespace
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Apple G5 is going to release soon. I think it's a must have. It does really have a nice design. http://www.apple.com/imac/v
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati