Roberto Abraham Scaruffi

Tuesday 31 May 2011



 
For comments or enquiries please contactwebmaster@codeproject.com
Monday, May 30, 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

As promised we're announcing another chance to win some toys by writing an article. OurHTML5 / CSS3 competition starts today so dazzle us, amaze us, break us free from the 1990's. An iPad 2 is up for grabs as well as CodeProject stuff and the usual fame and adoration.
And speaking of competitions, the winners from last months article competition have been decided by you:
Best VB.NET article of April 2011
Prizes:
Shell MegaPack.Net 2010; The latest VB books from Apress; VBDepend; Reuxables Ultimate Subscription for WPF + Silverlight + Windows Phone 7; Crypto Logger For .Net;

Best C# article of April 2011
Prizes:
Shell MegaPack.Net 2010; The latest C# books from Apress; Report Sharp-Shooter for Silverlight; Crypto Obfuscator For .Net - Enterprise Edition; Reuxables Ultimate Subscription for WPF + Silverlight + Windows Phone 7;

Best C++/MFC article of April 2011
Prizes:
Codejock Xtreme ToolkitPro; The latest C++ books from Apress; CryptoLicensing For MFC - Enterprise Edition; CppDepend;

Best ASP.NET article of April 2011
Marcelo Ricardo de Oliveira - MVC Bricks for ASP.net
Prizes:
Nevron Chart for .NET (Lite edition); The latest ASP.NET books from Apress; Reuxables Ultimate Subscription for WPF + Silverlight + Windows Phone 7; ActiveReports; Spread for ASP.NET;

Best C++/MFC article of March 2011
Prizes:
Codejock Xtreme ToolkitPro; The latest C++ books from Apress; CryptoLicensing For MFC - Enterprise Edition; DragonFireSDK - Windows iPhone Development; CppDepend;

Best overall article of April 2011
Prizes:
DevForce Silverlight; Code Project Mug; Mindscape WPF Elements 4.0; ActiveReports;  Spread for ASP.NET;

Well done!
cheers,
Chris Maunder

The Code Project Offers

Click Here
Master the hottest Microsoft technologies with this library of 3,000 video tutorials by Microsoft MVPs and experts. An entire year of training is just $99.99 for a limited time. Subscribe now!
Click Here
The Award winning choice of .NET and COM Developers for Appointment Scheduling, Tailored UI Design, and Resource Drag and Drop Scheduling Controls. Special Offer - Buy One Get One for Half Price. No Charge to get started. Take Advantage Today!

Latest Additions

154 articles overall 103 new, 84 updated, 1 moved. 42 were edited, 112 unedited
Article topics listed: All Topics
Too many articles? Visit your profile page to change your newsletter article filters.

Tips and Tricks added

Ajax

  • Creating a Delayed Postback - Oakman
    Especially as the use of JQuery grows, there may be time when you'll want a postback to occur but not right away, especially if you want to animate something on the browser first. (Unedited)
    Javascript, ASP.NET

ASP.NET

ASP.NET Controls

  • Create Modal Popup in Ajax UpdateProgress - Shishir Shukla
    A simple method to implement modal popup during ASP.NET asynchronous request using ASP updatepanel and updateprogress (Unedited)
    CSS, ASP.NET, Ajax

HTML / CSS

Web Services

  • Online Geocoder with interactive Map - DrABELL
    Web application capable to extract geographical coordinates and apply them to the Bing Map (Unedited)
    Javascript, WebForms, Web, Language, RIA, HTTP

Database

General Graphics

Programming Tips

Author Resources

VB.NET

  • Checking Internet Is Connected Or Not From .Net - pranav95
    Dim value As Boolean = My.Computer.Network.IsAvailable can be used in a situation where the only network a system will be connected to is the Internet.Dim value As Boolean = My.Computer.Network.Ping(hostNameOrAddress ,timeout) hostNameOrAddress can be any valid website -... (Unedited)
    C#2.0, C#3.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5, ASP.NET

Programming Tips

  • Multiple Event Handling for the Lazy Ones - Simon_Whale
    why not just create a custom handler for all the textboxes? addhandler textbox1.textchanged, addressof textchangedhandler addhandler textbox2.textchanged, addressof textchangedhandler .... 'add additional textbox handlers .... addhandler textbox7.textchanged, addressof... (Unedited)
    VB8.0, VB9.0, VB10, VB.NET
  • Load all the Country Names of the World in DropDown - pranav95
    Use a web service?http://www.webservicex.net/country.asmx[^]http://www.siliconllama.com/services/wsdl/ISOcodesService.wsdl[^] (Unedited)
    HTML, ASP.NET
  • ASP.NET MasterPage getElementById - thatraja
    DescriptionY... (Unedited)
    ASP.NET, Masterpage
  • Show MyComputer, ControlPanel, RecycleBin, NetworkPlaces on Button Click - pranav95
    For Control Panel:Process.Start("control.exe");For My Computer:Process.Start("explorer.exe", Environment.GetFolderPath(Environment.SpecialFolder.MyComputer));For the rest, we can use GUID just like the original.For Recycle... (Unedited)
    C# (C#3.0)
  • C# equivalent of VB's With keyword - CaldasGSM
    You are introducing a variable “p” in the local scope of the whole function :snot really.. you know you can use brackets anywhere inside the code to define subscopes, don't you:{var p = this.StatusProgressBar;p.IsIndeterminate = false;p.Visibility = Visibility.Visible;p.Minimum =... (Unedited)
    C#
  • C# equivalent of VB's With keyword - dzCepheus
    You can limit the scope of 'p' inside your function:private void Whatever() { DoStuffHere();    // 'p' is not in scope. { var p = this.StatusProgressBar; // 'p' is in scope. p.IsIndeterminate = false; p.[etc] } // 'p' is not in... (Unedited)
    C#
  • Show MyComputer, ControlPanel, RecycleBin, NetworkPlaces on Button Click - charles henington
    public enum ProcessType { ControlPanel, MyComputer, NetworkPlaces, RecycleBin } private static string MyComputer = "::{20d04fe0-3aea-1069-a2d8-08002b30309d}"; private static string RecycleBin =... (Unedited)
    C# (C#3.0)
  • Play Video files in Web sites - pranav95
    In HTML5,your browser does not support the video tagRefer http://www.w3schools.com/html5/tag_video.asp[^] for the official details about the video tag and the previous code snippet was taken from the same (http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_video[^]) (Unedited)
    C#, ASP.NET

Technical blogs added

Grid & Data Controls

  • Data Access Using Dynamics - Part I: The DynamicDataReader - MBigglesworth79
    The DynamicDataReader provides a means of retrieving data from a database in a way that involves less code and increases code readability. (Unedited)
    C#, VB.NET, .NET, Dev
  • Data Access using Dynamics - Part II: The DynamicDataSet - MBigglesworth79
    CodeProjectIntroductionIn my previous article, I demonstrated how to leverage the Dynamic Language Runtime (DLR) to create a flexible, dynamic wrapper for the ADO.NET DbDataReader class and its subclasses.In this article, we are going to look at creating a dynamic version of another staple component (Unedited)
    All-Topics

Client side scripting

  • jqGrid Quick Tips - AlexCode
    jqGrid is an Open-Source control registered under the GPL and MIT licenses. (Unedited)
    Javascript, jQuery, Dev
  • Making a jQuery UI DatePicker Read Only - AlexCode
    Block any way for the user to change the textbox value in the DatePicker, either from the calendar popup or by direct input on the textbox. (Unedited)
    Javascript, HTML, jQuery, Dev, scripting, Controls
  • Struts2, JSON, JQGrid with Annotations - AshwinRayaprolu
    Struts2, JSON , JQGrid with Annotations (Unedited)
    All-Topics, Web-Development, JSON

Session State

Silverlight

Trace and Logs

  • A Simple Wrapper for log4net - MBigglesworth79
    A wrapper for log4net which allows logging operations to be accomplished with a single line of code. (Unedited)
    C#, VB.NET, .NET, Dev, log4net

Windows Phone 7

Office Development

Database

SQL Reporting Services

DirectX

  • Introducing DirectX to WPF - Super Lloyd
    CodeProjectI started to learn DirectX. I wanted, of course, to use it in a WPF environment. I don’t hope to write a game (yet?) but I thought it would be a good API for high performance data visualization. Or simply capturing and tweaking web cam output.I discovered SharpDX by Alexandre Mutel, (Unedited)
    C++, Windows, OpenGL

C#

  • Evolution of C# enumerators - PeteBarber
    I needed a very simple tree data structure the other day. Unfortunately C#/.NET doesn't provide one so I implemented a simple one. The need was to create a hierarchy of folders from a flat data structure where each node contained a unique id and its parent id. (Unedited)
    C#

Java

.NET Framework

Algorithms & Recipes

Threads, Processes & IPC

Debug Tips

Design and Architecture

Testing and QA

Uncategorised Technical Blogs

  • Discovering D and Visual Studio (continued…) - Super Lloyd
    CodeProjectThanks for the feedback from the previous article, I know now that: DFL should work with the BCL in D2, but it just doesn’t at the moment, due to some repository snafu… Visual D had building problem due to… tool chain issues! This page about Visual D known issues explain what’s go (Unedited)
    All-Topics
  • D for .NET programmer - Super Lloyd
    CodeProjectRecently it appeared to me that, with D, I could finally write solve a long standing problem, that is write a good advanced installer.What appealed to me where the following features:Statically linked. Produce an exe with no dependency! (Save for win32 that is, fair enough!)Elegant syntax (Unedited)
    All-Topics
  • EntityFramework CodeFirst – DbContext Initializer - ambilykk
    EntityFramework CodeFirst – DbContext Initializer (Unedited)
    All-Topics
  • A Customizable WPF MessageBox - Arik Poznanski
    A Customizable WPF MessageBox (Unedited)
    C#, XAML, WPF-Topics
  • Customizing Visual Studio Extension Icon in Visual Studio 2010 - Abhijit Jana
    How to customize /change the default Visual Studio extension icon and provide your own icon over there. (Unedited)
    Visual-Studio (VS2010)-Topics