Click here to Skip to main content

Articles by Richard James Moss (Technical Blogs: 31)

Technical Blogs: 31

RSS Feed
No articles have been posted.

Average blogs rating: 4.60

Button Controls
General
Posted: 27 Jan 2012   Updated: 27 Jan 2012   Views: 6,936   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Another of the peculiarities of Windows Forms is that the RadioButton control doesn't support double clicking. Granted, it is not often you require the functionality but it's a little odd it's not supported.As an example, one of our earlier products which never made it to production uses a popup dia
Combo & List Boxes
ComboBox Controls
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 8,303   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How to add a horizontal scrollbar to a ComboBox using C#.
Dialogs and Windows
Windows Common dialogs
Posted: 28 Aug 2013   Updated: 28 Aug 2013   Views: 5,136   Rating: 4.67/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 117
How to create long running Windows Forms applications without a start-up form
Edit Controls
General
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 13,307   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
An article on how to apply CSS formatting rules to the DigitialRune Text Editor control.
Selection Controls
General
Posted: 23 Jan 2012   Updated: 23 Jan 2012   Views: 9,321   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Enabling shell styles for the ListView and TreeView controls in C#
Static & Panel Controls
Custom Controls
Posted: 29 Jan 2012   Updated: 29 Jan 2012   Views: 9,183   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
This post describes how to create a GroupBox control similar to those used in Microsoft Outlook
ASP.NET
General
Posted: 27 Jan 2012   Updated: 27 Jan 2012   Views: 8,997   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
The quick and easy way of displaying an ASP.net site map (web.sitemap) in an ASP.net page is to use a TreeView control bound to a SiteMapDataSource component as shown in the following example:Which results in a mass of nested tables, in-line styles, and generally messy mark-up.With just a little mor
Howto
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 22,391   Rating: 4.67/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This article will describe how to create a trackback handler for use with MVC and the more traditional webforms.
Samples
Posted: 16 Jul 2012   Updated: 28 Jul 2012   Views: 19,109   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
A sample on displaying the contents of a PDF file in an ASP.NET application using GhostScript.
Charts, Graphs and Images
Images and multimedia
Posted: 20 Jan 2012   Updated: 21 Jun 2013   Views: 37,019   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 2,866
How to convert a PDF into a series of images using C# and GhostScript
Custom Controls
General
Posted: 17 Feb 2013   Updated: 17 Feb 2013   Views: 2,580   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 63
In recent code, I've been trying to avoid displaying validation errors as message boxes, but display something in-line. The .NET Framework provides an ErrorProvider component which does just this. One of the disadvantages of this control is that it displays an icon indicating error state - which mea
HTML / CSS
HTML
Posted: 27 Jan 2012   Updated: 14 Sep 2012   Views: 12,395   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 175
A brief article into how to use a C# library that converts BBCode used by popular forums into HTML
General Graphics
General
Posted: 18 Feb 2013   Updated: 18 Feb 2013   Views: 2,735   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 77
Recently we released the first alpha of our latest product, Cyotek Slicr, a tool for slicing up an image. At the heart of this tool is a series of routines that take a given image and pairs of input points, from which the image is chopped up accordingly. This article describes how to break up a rect
Image Display
Posted: 20 Jun 2012   Updated: 20 Jun 2012   Views: 10,206   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Selecting part of an image.
C#
Applications
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 8,063   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This is the first part in a series of articles that will result in a component for viewing an image. The final component will support zooming and scrolling.In this first part, we're going to create a basic image viewer, without the scrolling and zooming. Rather than having a plain background however
General
Posted: 30 Jul 2013   Updated: 30 Jul 2013   Views: 2,851   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This follow up article expands upon the sample in the first part, to include more concise design time code generation, expandable property support, and finally custom lists of values.
Posted: 30 Jul 2013   Updated: 30 Jul 2013   Views: 3,015   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How to use TypeConverter allowing complex objects to be edited as though they were simple strings.
Reflection
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 17,786   Rating: 4.75/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
How to compare the properties of two objects via Reflection and C#.
XML
General
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 94,361   Rating: 4.14/5    Votes: 10   Popularity: 4.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
How to use the XmlReader class with C#.
Date and Time
Algorithms
Posted: 23 Aug 2012   Updated: 27 Aug 2012   Views: 4,590   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This article describes adding design time support for a TabControl-like component which renders the same way the Project Properties in Visual Studio 2012.
Uncategorised Technical Blogs
General
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 10,634   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
While writing some bitmap font processing for an OpenGL project, I settled on using AngelCode's BMFont utility to generate both the textures and the font definition. However, this means I then needed to write a parser in order to use this in my OpenGL solution.This library is a generic parser for th
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 13,049   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Recently I was writing some code to allow a program to register itself to start with Windows for all users. On Windows 7 with User Account Control (UAC) enabled, trying to write to the relevant registry key without having elevated permissions throws an UnauthorizedAccessException exception. If you w
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 10,719   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
In this article, I'll describe how to extend the ImageBox control discussed in earlier articles to be able to display PDF files with the help of the GhostScript library and the conversion library described in the previous article.Getting StartedYou can download the source code used in this article f
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 10,594   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In a previous article, Creating a WYSIWYG font ComboBox using C#, there is a hacky bit of code which uses a try catch block to handle processing when a given font style doesn't exist. This article describes a better way of handling this requirement without relying on the exception handler.Originally
Posted: 23 Jan 2012   Updated: 23 Jan 2012   Views: 8,347   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This article shows how to use the built in ownerdraw functionality of a standard Windows Forms ComboBox control to display a WYSIWYG font list.
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 7,030   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
In the conclusion to our series on building a scrollable and zoomable image viewer, we'll add support for zooming, auto centering, size to fit and some display optimizations and enhancements.Getting StartedUnlike parts 2 and 3, we're actually adding quite a lot of new functionality, some of it more
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 7,128   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
After part 2 added scrolling support, we are now going to extend this to support keyboard scrolling and panning with the mouse.Design supportIn order to enable panning, we're going to add three new properties. The AutoPan property will control if the user can click and drag the image with the mouse
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 8,031   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
In the second part of our Creating a scrollable and zoomable image viewer in C# series we will update our component to support automatic scrolling when auto size is disabled and the image is larger than the client area of the control.Setting up auto scrollingOriginally we inherited from Control, how
Posted: 12 Apr 2012   Updated: 11 Apr 2012   Views: 7,165   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
While working on a recent gaming project, I was originally using 2D arrays to store information relating to the different levels in the game. But when it came to loop through the contents of these levels, it wasn't as straightforward to do a simple foreach loop due to the multiple dimensions.Instead
Posted: 31 Dec 2013   Updated: 31 Dec 2013   Views: 2,547   Rating: 4.50/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
I recently had a requirement where a user was able to perform an action externally to my application, and my application then had to detect this for processing.I could of course just had a poller running away in the background to check, but as the requirement also needed user input, why not just wai
Reviews on Third Party Products and Tools
General
Posted: 23 Jan 2012   Updated: 23 Jan 2012   Views: 10,100   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This post describes our experiences with a test migration.
No tips have been posted.
No reference articles have been posted.

Richard James Moss
Software Developer (Senior)
United Kingdom United Kingdom
No Biography provided
Follow on   Twitter   Google+


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 18 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid