Click here to Skip to main content
15,885,278 members

Articles by charles henington (Articles: 4, Tip/Tricks: 24)

Articles: 4, Tip/Tricks: 24

RSS Feed

Average article rating: 4.53

Desktop Programming
Windows Forms
9 Apr 2011   Updated: 9 Apr 2011   Rating: 4.11/5    Votes: 7   Popularity: 3.47
Licence: CPOL    Views: 32,131     Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
Using System.Convert namespace to convert between base64 and images
Programming Languages
C#
3 May 2011   Updated: 3 May 2011   Rating: 4.43/5    Votes: 4   Popularity: 2.67
Licence: CPOL    Views: 14,060     Bookmarked: 11   Downloaded: 257
Please Sign up or sign in to vote.
A Code Project Search Tool For Beginners
C# 4.0
7 Jan 2018   Updated: 7 Jan 2018   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 9,774     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
A simple workaround for FilePermission in monodevelop
Visual Basic
7 May 2010   Updated: 27 May 2010   Rating: 4.57/5    Votes: 32   Popularity: 6.47
Licence: CPOL    Views: 151,865     Bookmarked: 92   Downloaded: 4,356
Please Sign up or sign in to vote.
Simple Email with Gmail, Yahoo, AOL, and Live mail via SMTP

Average blogs rating:

No blogs have been submitted.

Average tips rating: 3.76

.NET
3 May 2011   Updated: 3 May 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 11,731     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
//Also you can get the path like this because not everyone uses Drive C:\ as I use Drive F:\ string path = Environment.SystemDirectory.Remove(3) + @"Windows\Microsoft.NET\Framework"
Desktop Programming
System
5 Apr 2011   Updated: 5 Apr 2011   Rating: 4.75/5    Votes: 6   Popularity: 3.70
Licence: CPOL    Views: 16,691     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
public class MailClass { public static void CreateMailAddresses(string sender, string reciever, out MailAddress mailfrom, out MailAddress mailto) { MailAddress Mailfrom = new MailAddress(sender); MailAddress Mailto = new...
6 Apr 2011   Updated: 18 Apr 2011   Rating: 4.71/5    Votes: 7   Popularity: 3.98
Licence: CPOL    Views: 14,242     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Sending mail with attachmentspublic partial class Form1 : Form { public Form1() { InitializeComponent(); } public class MailClass : List { public void CreateMailAddresses(string sender, string reciever, out...
Windows Forms
18 Mar 2011   Updated: 19 Mar 2011   Rating: 4.44/5    Votes: 10   Popularity: 4.24
Licence: CPOL    Views: 31,450     Bookmarked: 40   Downloaded: 0
Please Sign up or sign in to vote.
Run Only One Copy Of Application
27 Jun 2011   Updated: 27 Jun 2011   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: CPOL    Views: 43,803     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Game Development
Unity
12 Feb 2014   Updated: 12 Feb 2014   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 5,190     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Send Mail With Attachment File"
Programming Languages
C#
4 Apr 2011   Updated: 4 Apr 2011   Rating: 4.73/5    Votes: 15   Popularity: 5.43
Licence: CPOL    Views: 19,830     Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
4 Jul 2011   Updated: 4 Jul 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 4,180     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
[Serializable]...
11 Apr 2011   Updated: 19 Apr 2011   Rating: 3.50/5    Votes: 8   Popularity: 3.16
Licence: CPOL    Views: 28,800     Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
21 Apr 2011   Updated: 21 Apr 2011   Rating: 3.00/5    Votes: 6   Popularity: 2.33
Licence: CPOL    Views: 14,300     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
21 Apr 2011   Updated: 21 Apr 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 10,170     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Here Is A different way to get the source . This method will explain a small amount of what we can do with the .Net language, it will show you a simple way to use an interface. <Please Note: If You are familiar with how to do so please do not downvote the tip/trick as there are...
22 Apr 2011   Updated: 22 Apr 2011   Rating: 3.00/5    Votes: 3   Popularity: 1.43
Licence: CPOL    Views: 10,850     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Simple class to save your Form's Size To Registry
5 May 2011   Updated: 5 May 2011   Rating: 1.80/5    Votes: 4   Popularity: 1.08
Licence: CPOL    Views: 29,031     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
25 May 2011   Updated: 27 May 2011   Rating: 4.50/5    Votes: 3   Popularity: 2.15
Licence: CPOL    Views: 5,880     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
public enum ProcessType { ControlPanel, MyComputer, NetworkPlaces, RecycleBin } private static string MyComputer = "::{20d04fe0-3aea-1069-a2d8-08002b30309d}"; private static string RecycleBin =...
15 Jun 2011   Updated: 15 Jun 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 20,080     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
25 Jun 2011   Updated: 26 Jun 2011   Rating: 1.92/5    Votes: 3   Popularity: 0.92
Licence: CPOL    Views: 21,801     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
5 Jul 2011   Updated: 9 Jul 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 12,930     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Sending Email with Custom Control
20 Nov 2022   Updated: 20 Nov 2022   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: CPOL    Views: 4,670     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Custom black and white image format
9 Apr 2023   Updated: 9 Apr 2023   Rating: 2.47/5    Votes: 7   Popularity: 2.08
Licence: CPOL    Views: 7,560     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Very simple conversion of bitmap to indexed bitmap
Visual Basic
14 Apr 2013   Updated: 17 Apr 2013   Rating: 2.60/5    Votes: 3   Popularity: 1.24
Licence: CPOL    Views: 18,532     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Convert an Image to grayscale without using unsafe code
27 Jun 2011   Updated: 29 Jun 2011   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 5,280     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
I have used this in the past and have also posted as one of my tip tricks :-} One tip trick that I still like with CreateParams is changing parms.ClassStyle |= 0x200; to parms.ClassStyle = this.Handle.ToInt32(); which will render the form invisible which is much easier than overriding...
Visual Basic 6
15 Mar 2011   Updated: 16 Mar 2011   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 7,340     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This method was converted to VB from C# but I believe to be much easier, althought it does not allow the F5 Key as yours does. Private panel1 As New Panel() Private canMove As Boolean Private currentPosition As Point Public Sub New() ...
XML
7 May 2011   Updated: 7 May 2011   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: CPOL    Views: 9,130     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
using System;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { private Panel panel1; private ComboBox comboBox1; public Form1() { InitializeComponent(); } ...
3 May 2011   Updated: 14 May 2011   Rating: 2.33/5    Votes: 3   Popularity: 1.11
Licence: CPOL    Views: 11,840     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Security
Cryptography
16 Feb 2022   Updated: 16 Feb 2022   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 5,170     Bookmarked: 4   Downloaded: 44
Please Sign up or sign in to vote.
Simple user defined Cipher Transform that I got the idea from https://www.codeproject.com/Articles/5319044/ARC4-Encryption-Library

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
United States United States
I do not claim to be wrong! I just rarely ever write.