CodeProject | Newsletter (31 Jan 2011)

127 articles this week
For comments or enquiries please contact webmaster@codeproject.com View online Monday, January 31, 2011

Welcome to this week's newsletter from The Code Project.

To ensure that future newsletters you receive from The Code Project aren't mistakenly blocked by antispam software, be sure to add the maillist.codeproject.com domain to your list of allowed senders.

Site News

The site has been given a small touch-up over the weekend. A more consistent look with our tags, a more logical Quick Answers list, and extra information on the articles, posts and questions on the homepage should make it a little easier to find what you're after.

Think you can do better? Then come and work at CodeProject! If you're an experienced ASP.NET dev and live in or around Toronto, Canada, send me your resume at chris@codeproject.com. Please note: our jetpacks are currently in the shop so we can't fly you to an interview. Please only apply if you are in or around Toronto.

The Daily Insider

A single email each morning can keep you up to date with the goings-on in the IT world. Our Daily Insider lets you know it all in under 5 minutes a day.

cheers,
Chris Maunder

The Code Project Offers

Click HereWindows Azure Marketplace: The DataMarket contest. Build an innovative cloud app on Windows Azure Platform using datasets from Windows Azure Marketplace and submit the link for a chance to win an Intel i7 laptop or the grand prize of an Xbox 360 with Kinect. Trial pass now available. Use it to enter & win!
Click Here 20 Minutes to 4 Seconds...
SpreadsheetGear for .NET reduced the time to generate a critical Excel Report "from 20 minutes to 4 seconds" making his team "look like miracle workers" according to Luke Melia at Oxygen Media in New York. Download a fully functional SpreadsheetGear trial Today!
Click HereAndroid DevCon, March 7-9 in San Mateo, is the world's premier event for Android apps development and management. It features the industry's top experts. Receive a $100 discount or an expo pass using reg code MEDIASPONSOR at www.andevcon.com
Click HereJoin us at The Code Project's Virtual Tech Summit on Mobile Development!
On March 9th, 2011 explore the latest in Android, iPhone and Windows Phone 7 development. Attend informative sessions and chat with peers. No lines, no wait times, and no fees! Register now – no cost!

Weekly Poll Results

What technologies do you mostly use to develop desktop applications?

Survey period: 24 Jan 2011 to 31 Jan 2011

Are you a drag-and-drop kinda developer, or do you prefer to code to the metal? (Thanks to Ravi Bhavnani)

OptionVotes% 
ATL836.1883 votes, 6.18%
Cocoa181.3418 votes, 1.34%
Delphi533.9553 votes, 3.95%
Java1057.82105 votes, 7.82%
MFC29722.13297 votes, 22.13%
Qt705.2270 votes, 5.22%
Silverlight1047.75104 votes, 7.75%
VB61098.12109 votes, 8.12%
Win3229421.91294 votes, 21.91%
Windows Forms75256.04752 votes, 56.04%
WPF36126.90361 votes, 26.90%
Other755.5975 votes, 5.59%
I don't develop desktop applications705.2270 votes, 5.22%
Respondents were allowed to choose more than one answer; totals may not add up to 100%

View optional text answers (114 answers)

This week's survey: What do you (mostly) use to read email?

Most popular new articles
24 Jan 2011 - 31 Jan 2011

Latest Additions

127 articles overall 84 new, 81 updated, 2 moved. 15 were edited, 112 unedited
Article topics listed: C++

Too many articles? Visit your profile page to change your newsletter article filters.

New articles added

Dialogs and Windows

  • Short Key Reminder Display - zebulon75018
    this is an original idea a short key reminder display with Qt (Unedited)
    C++, Windows, Linux

Miscellaneous

  • A MFC/GDI+ LCD Control - Frédéric Pailloux
    Nice 7/16/Matric Segment LCD Control derived from CStatic and using GDI+ library (Unedited)
    C++, Windows (Win2K, WinXP, Vista, Embedded, Win7), WinMobile (WinMobile6), MFC, GDI+

C / C++ Language

Internet / Network

Work Issues

Articles updated

Edit Controls

Applications & Tools

Trace and Logs

  • TraceTool 12.4: The Swiss-Army Knife of Trace - Thierry Parent
    A C#, C++, Delphi, ActiveX , Javascript and Java trace framework and a trace viewer: Tail, OutputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF) support. This also comes with full support for Pocket PC, Silverlight, and Android.
    C#, Javascript, Java, VC7.1, .NET1.1, Win2K, WinXP, Win2003, Android, Silverlight, VS.NET2003, Dev

Algorithms & Recipes

Hardware & System

Tips and Tricks added

Win32/64 SDK & OS

  • How to avoid multiple instances of your Windows application - Malli_S
    Solution II used to use following simple way to manage the single instance of the app.//Usually I append the UID to the application name to achieve the unique object name.TCHAR szAppName[] = _T("Application_Name_999e7ba3-e8fc-4c21-985b-ab11f39ce759");HANDLE hMutex =... (Unedited)
    C++, Win32

Programming Tips

  • A String & Number Compatible ID Class in Native C++ - CodeRichardWong
    Especially useful in some situations. Sometime may be confused inside, is it?(id4) assigned double's result is diff.If you add this:id1 = id4;The answer is...better to prepare one more conversion.have a Try~ (Unedited)
    C++

  • The goto-less goto! - AspDotNetDev
    While I don't recommend it for many situations, here is an alternate for C# that makes use of delegates:// A random number to avoid unreachable code warning.int x = (new Random()).Next();// Action is new to .Net 3.5.Action a = new Action(delegate(){ // goto Exit; if (x <... (Unedited)
    C++, C#

  • The goto-less goto! - Ajay Vijayvargiya
    The goto-less goto! (Unedited)
    C++, C#

  • The goto-less goto! - Robert S Sharp
    I'm a C# programmer. I try to avoid goto at all costs, and generally I try to avoid throwing exceptions for the purpose of controlling the flow of execution. I've always been of the opinion that exceptions are for exceptional situations and indicate errors rather than expected conditions.I... (Unedited)
    C++, C#

  • Create bitmap from pixels - Mukit, Ataul
    Create a bitmap from an array of pixels (Unedited)
    C++, MFC

  • The goto-less goto! - Philippe Mori
    Alternative 2 can be enhanced by returning a booleen value if we want to code something similar to the original example. A (early) return value of false would indicate a failure which could then be handle by checking the function result.if (!DoAllActions()){ ... (Unedited)
    C++, C#

  • The goto-less goto! - Philippe Mori
    If the number of conditions is relatively small, the following code would made sense: bool bFailed = true; if (!condition1_fails) { if(!condition2_fails) { ... if(!conditionN_fails) { bFailed=false; ... (Unedited)
    C++, C#

  • Debugging technique - Junaij
    Timing code using debugger (Unedited)
    VC6, VC9.0

  • Rectangle Tiling Algorithm - RodrigoMattosoSilveira
    This article deserves recognition for its fun potential. After reading it, I decided to try it out by building a simple HTML/JavaScript application to try it out. I used jQuery and a jQuery plugin, SVG. The work is simple and not very elegant, but I had fun putting it together.The HTML... (Unedited)
    C++

Uncategorised Quick Answers

Technical blogs added

Applications & Tools

Windows Phone 7

  • Loading Data when the User Scrolls to the End of a List in Windows Phone 7 - Daniel Vaughan
    Most phone users are concerned about network usage. Network traffic comes at a premium, and a user's perception of the quality of your app depends a lot on its responsiveness. When it comes to fetching data from a network service, it should be done in the most efficient manner possible. Making the u (Unedited)



This email was sent to gang007@gmail.com. To stop receiving this newsletter click here.
The Code Project. 503-250 Ferrand Drive
Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100

Search This Blog

Blog Archive

Pages