•  Sponsored Links
  •  Links
  •  
  • Pub Date: 10/30/2008
    There was once a time when multiple language support for a Windows application used to be a three to six months call, but with the advent of .NET, not...
    Pub Date: 10/30/2008
    Some countries and languages standardize on number and date formats that don't translate smoothly between cultures. It is important for C++/Windows de...
    Pub Date: 10/30/2008
    The last days I finished a small pocket PC clock application to use when I am working in another city (I am boring to wake up in morning with the wind...
    Pub Date: 10/30/2008
    Recently, I have been involved in localization of software applications for global markets. Although software localization and translation is usually ...
    Pub Date: 10/30/2008
    I have read a lot of good articles on CodeProject. Now it's time for me to provide one. Please leave any comment or suggestion you may have. All are w...
    Pub Date: 10/30/2008
    While seeking on the internet for a solution to implement localization within an ASP.NET application using a MasterPage, I realized that a lot of peop...
    Pub Date: 10/30/2008
    This article contains MUST HAVE tables and data for proper multi language development.I highly recommend to use ISO (International Organizations for S...
    Pub Date: 10/30/2008
    In today's world, localization and translation of software has become an important feature since it dramatically helps in boosting sales. As far as Wi...
    Pub Date: 10/30/2008
    This program demonstrates how you can selectively copy some resources from other binary (EXE/DLL) files into a target binary (EXE/DLL) file. The best ...
    Pub Date: 10/30/2008
    This article describes a simple .NET API for using the ZoneInfo database, which is also known as the tz database or Olson database.The API is availabl...
    Pub Date: 10/30/2008
    ?
    Pub Date: 10/30/2008
    ad>Download source files - 30 KbDownload demo application - 4 KbThis tutorial could well be the simplest windows program you couldever write. Al...
    Pub Date: 10/30/2008
    This article's main purpose is to show another aspect of BEGIN_MESSAGE_MAP(). In MFC, whenever there is a need to make a button control dynamic, we of...
    Pub Date: 10/30/2008
    1.This article presents the construction of a templated ASP.NET control, working as a PleaseWait button. Using C# with Asp.Net 2.0, you will see how t...
    Pub Date: 10/30/2008
    For beginners working with VC++ for the first time, they always find a very silly example called “Hello World” when I first studied C I had it, then I...
    Pub Date: 10/30/2008
    Some time ago, I tried to find a nice round-button control. I couldn't find one, so in the time-honoured tradition, I decided to write my own. I "...
    Pub Date: 10/30/2008
    First of all, thanks to everyone. I am grateful to know that people value this effort. I remember like yesterday when I was sixteen, more or less, and...
    Pub Date: 10/30/2008
    Checkbox images are often useful in situations such as tree controls andlist controls, where using an actual checkbox control would be difficult or wo...
    Pub Date: 10/30/2008
    There are many owner-draw button written using C++ and the MFC classes. There are also many ActiveX controls, mostly written in Visual Basic.While wit...
    Pub Date: 10/30/2008
    ScreenshotsSample application using a standard glass button with image:The same application, but this time it has a customized glass button:MFC applic...
  •  
  • Tags:  C++ & MFC | Managed C++ | DirectX | GDI | ATL & WTL Programming | COM+ | ComboBox | Asp.net | Net Security | C#
  • Top  Java  
    Pub Date: 10/14/2008
    A switch-block becomes complex very easily. All code is placed in one method and parts of it are used multiple times. In a lot of cases, a switch-bloc...
    Pub Date: 10/14/2008
    This is the first part of perhaps four articles describing an approach to building applications that greatly reduces the complexity of their implement...
    Pub Date: 10/14/2008
    Everybody knows the frustration caused by a new progress bar popping up and starting from 0% just after the previous one reached 100%. This annoyance ...
    Pub Date: 10/14/2008
    At the beginning, there was no easy way to build a Windows service using Visual Studio and .NET Framework. Now that Microsoft has integrated this func...
    Pub Date: 10/14/2008
    I think your first thought about this article would be that: "oh, another tool to parse XML like MSXML". In fact, this article is based on M...
    Pub Date: 10/14/2008
    Suppose you have written a function with a specific set of parameters. However, this function is designed in such a way that sometimes it needs more p...
    Pub Date: 10/14/2008
    It is always a dream for every programmer under the sun, to write programs that never smash. So this article presents some guidelines in trapping exce...
    Pub Date: 10/14/2008
    There may be times when you wish to send an email or SMS text message from your application but ran across any of the following obstacles: you don't h...
    Pub Date: 10/14/2008
    A discussion in the Subtle Bugs forum concerning floating point number comparisons caused me to recall some code I wrote about 15 years ago. Back then...
    Pub Date: 10/14/2008
    Model-view-controller (MVC) is a pattern used to isolate business logic from the user interface. Using MVC, the Model represents the information (the ...
    Pub Date: 10/14/2008
    This article shows an example of how we can easily design a web server control that can load or read the ASP.NET Controls collection. This can be real...
    Pub Date: 10/14/2008
    This article assumes that you have basic knowledge of creating a simple UserControl, so I am not going to go into much detail on creating one here. To...
    Pub Date: 10/13/2008
    Yahoo Finance offers 15 minutes delayed Stock quotes packed in a neat .csv format. Using this service for my own on the Desktop PC for quite a while, ...
    Pub Date: 10/13/2008
    ContentsBackground The protocol Calculating the checksum Extracting data from the messages Track points Tracks Using the code Problems implementing th...
    Pub Date: 10/13/2008
    This is a simple GPS tracer developed for Window Mobile 2005/2003 on Compact Framework 2.0 SDK. So first of all, you need VisualStudio 2005 and Window...
    Pub Date: 10/13/2008
    This article describes the implementation of a Windows Mobile desktop remote controller. With this application, you will be able to remotely control y...
    Pub Date: 10/13/2008
    Have you ever wanted to be able to control your TV, Hi-Fi, or Video using the IR port on your pocket PC? Here's how to do it. Background I recently lo...
    Pub Date: 10/13/2008
    Contents& Background The list of tools you will need Limitations The solution for the currency converter application The SmartDeviceCurrency proje...
    Pub Date: 10/13/2008
    I set up wireless at home a couple of weeks ago and became interested in wireless tools. I wanted to know how AP scanner software works. I did a bit o...
    Pub Date: 10/13/2008
    , etc) ForestPad is a method for storing and retrieving textual information and consists of three applications: A PocketPC application (screenshot)...
  •  
  • Tags:  VB.NET | Pocket PC | Sample Chapter | Mobile Internet Toolkit | Client side scripting | JAVA | Programming Tips
  • Pub Date: 10/28/2008
    I have a Motorola Razr cellular phone, and I was sending some text messages one day, and was really impressed with their "autosuggest" featu...
    Pub Date: 10/28/2008
    Sometime back, I came across the Spell with flickr web page. You can enter some text in the web page and the text is spelled using images from the one...
    Pub Date: 10/28/2008
    The ASP.NET 2.0 framework comes with the GridView, a feature-rich ASP.NET server control to display, page through, and edit data on a webpage. Paging,...
    Pub Date: 10/28/2008
    This article explains the development of client controls using the new AJAX framework. I have attached some sample client controls which are developed...
    Pub Date: 10/28/2008
    Having developed an Atlas composite social security control, I wanted to change the root namespace from the default (<Project Name>) to the stan...
    Pub Date: 10/28/2008
    ContentsServer Controls, AJAX Server Controls, and AJAX Extenders The Proactive Session Timeout Watcher Project The ASP.NET Server Control Timeout Wat...
    Pub Date: 10/28/2008
    My website is a rich social network that offers users many web forms to fill. For example, users can post articles and edit lengthy profiles. Often th...
    Pub Date: 10/28/2008
    Highrise and other new AJAX enabled tools have this feature that when you type in a search query, it automatically updates the search results below. I...
    Pub Date: 10/28/2008
    While dynamically loading TabPanels into a TabContainer, I noticed that the border on the TabContainer wouldn't automatically resize itself. I also co...
    Pub Date: 10/28/2008
    The purpose of creating this ASP.NET AJAX Extender Control is to enrich client validation behavior based on the .NET client validation mechanism. This...
    Top  SQL  
    Pub Date: 10/8/2008
    The Extensible Markup Language (XML) is a general-purpose markup language. It is classified as an extensible language because it allows its users to d...
    Pub Date: 10/8/2008
    This is a beginner level article giving basic introduction to SOAP. The purpose of this article is to introduce the SOAP concept. This article does no...
    Pub Date: 10/8/2008
    This article is meant to be a step by step guide to give its reader a gist of .NET Remoting. I've tried to search good tutorials, but it was rather ha...
    Pub Date: 10/8/2008
    Earlier this week, Microsoft posted the long awaited "SOAP Toolkit for Visual Studio 6.0" at http://msdn.microsoft.com/xml/general/toolkit_i...
    Pub Date: 10/8/2008
    XSD Tutorial PartsElements and Attributes Conventions and Recommendations Extending Existing Types Namespaces Other Useful bits... NamespacesSo far we...
    Pub Date: 10/8/2008
    This article is about a simple and fast C++ XML parser class. There is often a need for an effective XML parser that is able to load the XML document,...
    Pub Date: 10/8/2008
    Microsoft is trying to push new file formats that are using ZIP and XML. Are those new file formats any good for Office developers ? In other words, s...
    Pub Date: 10/8/2008
    Microsoft has made available the Internet Explorer Web controls which are not included in the framework by default. The assembly includes several cont...
    Pub Date: 10/8/2008
    For those of us unfortunate enough to have to deal with it, HL7 is a commonly encountered language used by medical systems to communicate with each ot...
    Pub Date: 10/8/2008
    There have been times when I've needed to parse an XML file and configure some objects. XmlReader is very flexible, but too low level for the simple t...
  •  
  • Tags:  Database | XML | Scrapbook | Win32/64 SDK & OS | Design and Architecture | Cross Platform
  • Pub Date: 10/8/2008
    Masterpage is one of the good features of the ASP.NET 2.0. But if you are a beginner in .NET 2.0 and Masterpage, you would stuck up in accessing the c...
    Pub Date: 9/9/2008
    The article explains how to integrate my Graphical Status display control (CStatusGraphCtrl) with your application. Many real-time applications will h...
    Pub Date: 9/9/2008
    Proper progress notificationThis is going to be met with great skepticism but I’m going to say it anyway… There is only one best way to show a progres...
    Pub Date: 9/9/2008
    This article describes a very small dialog based application allowing to change the color of the progress bar; using PBM_SETBARCOLOR to change the col...
    Pub Date: 9/9/2008
    What are they?Here I present some animation provider classes that you may use withany CWaitingTreeCtrl-derived class (see article).They're just exampl...
    Pub Date: 9/9/2008
    CShellTreeCtrlThis is just an example of a content provider class (see article),which overrides the PopulateItem virtual function to show theShell's r...
    Pub Date: 9/9/2008
    What is it & Why?My real intention, when I started this project, was to develop a treecontrol to display network resources. Enumerating network re...
    Pub Date: 9/9/2008
    CNetworkTreeCtrlThis is just an example of a content provider class (see the article CWaitingTreeCtrl), which overrides the PopulateItem virtual funct...
    Pub Date: 9/9/2008
    In a previous tutorial (CWinListBox), I discussed the step-by-step creation of a listbox from scratch, as a custom control derived from CWin. I would ...
    Pub Date: 9/9/2008
    What's New with 2.0The long awaited 2.0 version is here. Good news is you get new features, new options, new items, and new bugs. Bad news is, a lot h...
    Top  ajax  
    Pub Date: 10/28/2008
    I will show you how I built a start page similar to Google IG in 7 nights using ASP.Net Ajax, .NET 3.0, Linq, DLinq and XLinq. I have logged my day to...
    Pub Date: 10/28/2008
    Please read instructions at the end of article on how to run the application after downloading the source. ASP.NET Atlas is a rich set of client sid...
    Pub Date: 10/28/2008
    This tutorial is intended to help readers understand how certain aspects of Microsoft's new AJAX Extensions technology works. AJAX Extensions is inten...
    Pub Date: 10/28/2008
    First "Second Encounter" With Atlas (Now called "Microsoft ASP.NET AJAX") I’ve always loved the “Hands on” way of playing with new...
    Pub Date: 10/28/2008
    In this article I'll demonstrate how easy it is, to create a usable webpage with some advanced technologies (such as fast asynchronous web search) in ...
    Pub Date: 10/28/2008
    Salajax is a simplified Ajax library that handles back buttons, bookmarks and is extremely simple to use. Yes, Ajax is great. It does have some minor ...
    Pub Date: 10/28/2008
    ASP.NET AJAX has a cool UpdateProgress control that provides a visual indicator while one or more of the UpdatePanel controls are being updated. Howev...
    Pub Date: 10/28/2008
    Ajax without Javascript ... don't believe it ... it's just "marketing" (haha). Another understanding would be "keep Javascript simple&q...
    Pub Date: 10/28/2008
    This article shows you a useful technique to cache some of that pagedata on the browser in-memory. Since we use Ajax, the page is not reloaded eachtim...
    Pub Date: 10/28/2008
    In my previous article, I explained how to partially render pages in ASP.NET 2.0 and ATLAS with client script. In this article, I will try to help you...
  • admin - 10/30/2008
    There was once a time when multiple language support for a Windows application used to be a three to six months call, but with the advent of .NET, not anymore. Here is a 20 minutes crash course for globalization / localization of a Windows application. I think you'll find it as useful as I do.
    admin - 10/30/2008
    This article describes UITestBench, a small but efficient library to implement User-Interface tests that can be run with NUnit or any other unit test framework. The source code provided with this project, a Visual Studio 2005 solution, is split into three parts/projects: A small sample application The UITestBench classes Two NUnit test cases for the demo application using the UITestBenc
    admin - 10/28/2008
    On occasions, one needs to take time samples of an operation but only as a diagnostic during development and/or testing in a debug build. And, while there is an excellent Stopwatch class in .NET 2.0, this class is inappropriate for non-diagnostic time sampling because it: is not a static class, and therefore does not support conditional debug builds.
    admin - 10/26/2008
    After procrastinating, I finally decided to sit down and learn to program in F#, since functional programming has always intrigued me. Although I had some experience with Prolog many moons ago, I have done most of my programming using imperative rather than functional or declarative languages, with recent work mostly in C#. Whenever I've learned new languages, there is always an effort required to "get up to speed", but with F# I found the initial steps were more difficult than I anticipated due to the lack of a mature IDE on top of learning a new language and adjusting to a different programming paradigm. I'm still no expert in F#, but perhaps some of my early stumbling might be of use to others, so they don't have to go through the same pain that I did.
    admin - 10/16/2008
    This article describes a set of classes that are used to perform string conversions between the Unicode and ANSI character sets. Why is it needed? There are several reasons: If you are developing for COM, then all strings passed via the COM interfaces are wide strings (unless they are part of the VARIANT structure). If you are developing communication applications then (most probably) you need to send/receive data to/from the communication channel in ANSI character set (and your application is either Unicode or ANSI). If you want to have a portable application and you need to use either ANSI or Unicode strings for any reason. You are developing a DLL, service or applications that are not MFC based and you cannot use CString. In addition, one should consider the following: When passing wide strings via the COM interfaces, memory for these strings must be allocated with CoTaskMemAlloc() and released with CoTaskMemFree(). In any other situation, it is allowed to use new and delete. Besides ANSI and Unicode strings, there is also a BSTR string. Microsoft class _bstr_t encapsulates the BSTR strings.
    admin - 10/14/2008
    This article shows an example of how we can easily design a web server control that can load or read the ASP.NET Controls collection. This can be really helpful in a situation where we want to store the user selected values in a form which need to be loaded back automatically when he/she logs back in. The control can work on any number of web controls and in any order. You just have to encompass all the controls that you want to load/store within the template of this control, and that’s it. The best part is that you do not have to configure the control on individual pages on what controls to store or restore, it automatically does that.
    admin - 10/14/2008
    This article assumes that you have basic knowledge of creating a simple UserControl, so I am not going to go into much detail on creating one here. To demonstrate the Property Editors, I decided to make a control that draws itself in a selected shape. This gave me lots of options to demonstrate different design time editors. This demo uses UITypeEditors, Smart Tags, ControlDesigner Verbs, and Expandable Properties.
    admin - 9/23/2008
    There are many Windows C++ programming books that contain chapters on how to use the clipboard and drag-and-drop. Some show how to perform these operations the basic Windows API, some use MFC, and others use COM/OLE to do the job. However, when I wanted to start doing clipboard operations of my own, I discovered that all of these sources had one limitation in common: They usually only dealt with plain text (CF_TEXT) transfers, but I had to handle my own special objects. Then I read an article by Keith Rule, showing the use of CMemFile and CSharedFile objects to transfer text blocks via serialization. I decided that this process could be expanded to work on any class which was derived from CObject, as long as the class in question had its own Serialize() method. The result is the drag-drop manager described in this article.
    admin - 9/23/2008
    This piece of code is to help you backup your clipboard data and restore it after you have finished other clipboard operations. My experience: while I'm developing Word add-in programs, the icon of the new-added button can only be set through clipboard by "...->PasteFace()". This will empty the clipboard data which is going to be pasted in Word. So, I wrote this class, and it helped me a lot.
    admin - 9/23/2008
    While I was reading Charles Petzold's Programming Windows book, more specifically the chapter on metafiles, I was wondering what could be the potential usages of such a feature in a real world application. The chapter describes in length what metafiles do and how they work, but little is said about what you can do with them or why you should use them. I think that I found a worthwhile application for metafiles and I am going to share it with you. This article has no claims of inventing a revolutionary technique as it is ridiculously simple, but at the same time, it does not seem to be widely known. This technique is for sharing data among different applications, as for sharing the data among the same application, private data formats might be more appropriate. In this article, I will give a brief overview of what metafiles are, and then I will present the technique.
    admin - 9/23/2008
    Recently, I had cause to save a DIB to the clipboard. I tried numerous methods over a four-week period, but none of them worked (many thanks to Chris Losinger and Christian Graus for their willingness to try and provide me with guidance, an answer, or both). This article describes how I finally attained my goal, but also falls neatly into the category It Ain't Pretty But It Works.
    admin - 9/23/2008
    This article would be a late follow-up to my previous article, A Separator Combo Box, regarding a control class derived from MFC CCombobox. Since it was posted, several readers have asked for a similar separator combo box in C#. While touching C# programming, I found it easier to write such a custom combo box control as shown in above screen shot. The main point in implementing the separator in a combo box is that a separator should not be selected either from UI or in code logic. We have two choices: let a separator occupy an item space or let a separator reside between items without extra space. I like the latter; it simply draws a line between items, saving space for the whole combo box. Since both combo box and list box are derived from Windows.Forms.ListControl, they have the same virtual OnDrawItem() and OnMeasureItem() functions available in my customization. Here, the implementation of adding a separator to the combo box can also be applied to the list box. So, I present both SeparatorComboBox and SeparatorListBox, giving the demo as you see it in the screen shot. For simplicity, I only discuss the combo box in the following sections.
    admin - 9/18/2008
    Microsoft enters the ORM (Object Relational Mapping) world with the introduction of LINQ (Language Integrated Query). This is provided as a built-in feature in Visual Studio 2008 and the .NET Framework 3.5 which was released to the public on November 19, 2007.
    admin - 9/18/2008
    This article discusses EGen - a code generation framework implemented in Ruby that attempts to go beyond the classic substitution of variables in templates. It allows you to create stand-alone templates or embed marked template blocks into C/C++/C#/Java code. These templates contain Ruby code for simple generation but are also able to import and process designated portions from other files in the project that otherwise would need to be synchronized and maintained manually. It applies the Don't Repeat Yourself(DRY) principle by keeping it's metadata in one place (a lightweight text database) and letting you use it to generate various portions of the project's code. Keeping the metadata database and templates as text makes it easy to add them to the repository with the rest of the project files and can be restored or branched along with them. The main focus of the framework is on active code generation. The templates become part of the host project and allow you to automatically refresh the code as the metadata changes and maintain dependencies among code sections. Upon such changes traditional wizards can only re-create the skeleton code and you need to carry over manually all custom modifications from the old code into the new one. For completeness some passive code generation capability is included although it is less important now that most modern IDEs include plenty of wizards. The demo included with the article shows its use in a C++ project using Visual Studio 2005. The framework however is dependent only on Ruby and two Ruby gems, therefore it can be used with other development environments and/or languages that use slash-star (/* */) comments. The included AddIn is specific to Visual Studio 2005.
    admin - 9/18/2008
    Code generation is a fundamental aspect of flexible, rapid application development. There are many open source and commercial solutions available, such as Microsoft T4 or CodeSmith Tools, but often times these tools are targeted at specific technologies or platforms. With a little legwork you can leverage template processing libraries in modern scripting languages such as Ruby or Python to create powerful, open-ended template engines. You can use these template engines with any language or platform to generate source code, database scripts, configuration files, or any other text-based file.
    admin - 9/18/2008
    Intrusion Detection Systems using SNORT (Sourcefire and Snort are Trademarks or Registered Trademarks of Sourcefire, INC) have an ongoing good track record of reporting any event on networks where you can formulate a detection rule. An unfortunate aspect to the use of SNORT or any other IDS system is that you have to know a fair amount about network topology in order to begin to approach the reports. This application takes an approach that considers the users need to be able to perform triage on an infested network at 3:00am and sleep deprived. MYSQLIDS produces a report based upon 5 time criteria as shown above with the ability to correct for 3 time zones. It also allows for optional printing of the payload data. The output is created in a common text file for a reason. File types with complex automation support provided by the OS or