Click here to Skip to main content
14,970,515 members

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

Articles: 4, Tip/Tricks: 21

RSS Feed

Average article rating: 4.53

Desktop Programming
Windows Forms
Posted: 9 Apr 2011   Updated: 9 Apr 2011   Views: 25,071   Rating: 4.11/5    Votes: 7   Popularity: 3.47
Licence: The Code Project Open License (CPOL)      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#
Posted: 3 May 2011   Updated: 3 May 2011   Views: 13,680   Rating: 4.43/5    Votes: 4   Popularity: 2.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 251
Please Sign up or sign in to vote.
A Code Project Search Tool For Beginners
C# 4.0
Posted: 7 Jan 2018   Updated: 7 Jan 2018   Views: 5,884   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
A simple workaround for FilePermission in monodevelop
Visual Basic
Posted: 7 May 2010   Updated: 27 May 2010   Views: 132,235   Rating: 4.57/5    Votes: 32   Popularity: 6.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 92   Downloaded: 4,295
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.96

.NET
Posted: 3 May 2011   Updated: 3 May 2011   Views: 9,931   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      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
Posted: 5 Apr 2011   Updated: 5 Apr 2011   Views: 13,991   Rating: 4.75/5    Votes: 6   Popularity: 3.70
Licence: The Code Project Open License (CPOL)      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...
Posted: 6 Apr 2011   Updated: 18 Apr 2011   Views: 12,841   Rating: 4.71/5    Votes: 7   Popularity: 3.98
Licence: The Code Project Open License (CPOL)      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
Posted: 18 Mar 2011   Updated: 19 Mar 2011   Views: 30,400   Rating: 4.44/5    Votes: 10   Popularity: 4.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 0
Please Sign up or sign in to vote.
Run Only One Copy Of Application
Posted: 27 Jun 2011   Updated: 27 Jun 2011   Views: 38,783   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Game Development
Unity
Posted: 12 Feb 2014   Updated: 12 Feb 2014   Views: 4,050   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      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#
Posted: 4 Apr 2011   Updated: 4 Apr 2011   Views: 17,090   Rating: 4.73/5    Votes: 15   Popularity: 5.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 4 Jul 2011   Updated: 4 Jul 2011   Views: 3,540   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
[Serializable]...
Posted: 11 Apr 2011   Updated: 19 Apr 2011   Views: 24,430   Rating: 3.50/5    Votes: 8   Popularity: 3.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 21 Apr 2011   Updated: 21 Apr 2011   Views: 13,030   Rating: 3.00/5    Votes: 6   Popularity: 2.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 21 Apr 2011   Updated: 21 Apr 2011   Views: 9,390   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      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...
Posted: 22 Apr 2011   Updated: 22 Apr 2011   Views: 9,700   Rating: 3.00/5    Votes: 3   Popularity: 1.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Simple class to save your Form's Size To Registry
Posted: 5 May 2011   Updated: 5 May 2011   Views: 26,271   Rating: 1.80/5    Votes: 4   Popularity: 1.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 25 May 2011   Updated: 27 May 2011   Views: 5,340   Rating: 4.50/5    Votes: 3   Popularity: 2.15
Licence: The Code Project Open License (CPOL)      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 =...
Posted: 15 Jun 2011   Updated: 15 Jun 2011   Views: 18,470   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 25 Jun 2011   Updated: 26 Jun 2011   Views: 19,661   Rating: 1.92/5    Votes: 3   Popularity: 0.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Posted: 5 Jul 2011   Updated: 9 Jul 2011   Views: 11,100   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Sending Email with Custom Control
Visual Basic
Posted: 14 Apr 2013   Updated: 17 Apr 2013   Views: 14,191   Rating: 2.60/5    Votes: 3   Popularity: 1.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Convert an Image to grayscale without using unsafe code
Posted: 27 Jun 2011   Updated: 29 Jun 2011   Views: 4,610   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      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
Posted: 15 Mar 2011   Updated: 16 Mar 2011   Views: 6,550   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      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
Posted: 7 May 2011   Updated: 7 May 2011   Views: 7,550   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      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(); } ...
Posted: 3 May 2011   Updated: 14 May 2011   Views: 11,270   Rating: 2.33/5    Votes: 3   Popularity: 1.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

charles henington
United States United States
I do not claim to be wrong! I just rarely ever write.