Click here to Skip to main content
12,395,871 members (62,360 online)

Articles by Richard James Moss (Article: 1, Technical Blogs: 32)

Article: 1, Technical Blogs: 32

RSS Feed

Average article rating: 4.95

Shell and IE programming
General
Posted: 6 Jul 2014   Updated: 6 Jul 2014   Views: 74,814   Rating: 4.95/5    Votes: 17   Popularity: 6.09
Licence: The MIT License      Bookmarked: 26   Downloaded: 2,570
Helper class for configuring which version of Internet Explorer is used by the WebBrowser control when hosted in a Windows Forms or WPF application.

Average blogs rating: 4.72

Button Controls
General
Posted: 27 Jan 2012   Updated: 27 Jan 2012   Views: 8,590   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.
Combo & List Boxes
ComboBox Controls
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 11,811   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: 8,611   Rating: 4.71/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 189
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: 16,601   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 36
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: 13,471   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 22
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: 11,865   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 11
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: 12,020   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   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 littl
Howto
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 58,241   Rating: 4.67/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 3
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: 37,182   Rating: 4.33/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 650
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: 77,658   Rating: 4.89/5    Votes: 15   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 9,864
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: 4,615   Rating: 4.50/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 116
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.
HTML / CSS
HTML
Posted: 27 Jan 2012   Updated: 14 Sep 2012   Views: 17,672   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 388
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: 5,750   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 143
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.
Image Display
Posted: 20 Jun 2012   Updated: 20 Jun 2012   Views: 17,161   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
Selecting part of an image.
C#
Applications
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 13,512   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 0   Downloaded: 65
AngelCode bitmap font parsing using C#
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 10,490   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   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.
General
Posted: 30 Jul 2013   Updated: 30 Jul 2013   Views: 6,472   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   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: 6,880   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   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: 45,458   Rating: 4.92/5    Votes: 12   Popularity: 5.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   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: 176,027   Rating: 4.62/5    Votes: 11   Popularity: 4.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
How to use the XmlReader class with C#.
Algorithms & Recipes
General
Posted: 15 Jun 2015   Updated: 15 Jun 2015   Views: 3,651   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 185
Dithering an image using the Floyd‑Steinberg algorithm in C#
Date and Time
Algorithms
Posted: 23 Aug 2012   Updated: 27 Aug 2012   Views: 7,742   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   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: 20,000   Rating: 4.80/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   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.
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 13,192   Rating: 5.00/5    Votes: 3   Popularity: 2.39
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 arti
Posted: 20 Jan 2012   Updated: 20 Jan 2012   Views: 13,792   Rating: 5.00/5    Votes: 1   Popularity: 0.00
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.
Posted: 23 Jan 2012   Updated: 23 Jan 2012   Views: 12,562   Rating: 4.20/5    Votes: 4   Popularity: 2.41
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: 8,810   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
Posted: 24 Jan 2012   Updated: 24 Jan 2012   Views: 9,041   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.
Posted: 26 Jan 2012   Updated: 26 Jan 2012   Views: 11,512   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   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
Posted: 12 Apr 2012   Updated: 11 Apr 2012   Views: 15,964   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.
Posted: 31 Dec 2013   Updated: 31 Dec 2013   Views: 5,930   Rating: 4.67/5    Votes: 3   Popularity: 2.15
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 jus
Reviews on Third Party Products and Tools
Community Reviews
Posted: 23 Jan 2012   Updated: 23 Jan 2012   Views: 20,050   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   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


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 24 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid