Click here to Skip to main content
14,925,899 members

Articles by George Jonsson (Article: 1, Tip/Tricks: 7)

Article: 1, Tip/Tricks: 7

RSS Feed

Average article rating: 4.63

Programming Languages
C#
Posted: 26 Apr 2016   Updated: 10 May 2016   Views: 69,557   Rating: 4.63/5    Votes: 24   Popularity: 6.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 1,027
Please Sign up or sign in to vote.
Generic C# equivalent of the bit field struct in C

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.66

Desktop Programming
Win32
Posted: 11 Aug 2015   Updated: 11 Aug 2015   Views: 58,394   Rating: 4.71/5    Votes: 21   Popularity: 6.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 2,029
Please Sign up or sign in to vote.
This tip uses SendMessage and WM_COPYDATA to transfer the data.
General Programming
Printing
Posted: 23 May 2016   Updated: 23 May 2016   Views: 26,585   Rating: 4.81/5    Votes: 9   Popularity: 4.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "How to Silently Print PDFs using Adobe Reader and C#"
Programming Languages
C#
Posted: 2 Jul 2014   Updated: 2 Jul 2014   Views: 17,402   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 239
Please Sign up or sign in to vote.
Getting the XML data from a DataRow is surprisingly difficult. Here is one solution.
Posted: 25 Jun 2014   Updated: 27 Jun 2014   Views: 20,341   Rating: 4.65/5    Votes: 7   Popularity: 3.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 68
Please Sign up or sign in to vote.
LINQ methods can be slow inside loops as this little demo shows.
Posted: 21 Jun 2014   Updated: 21 Jun 2014   Views: 18,452   Rating: 4.68/5    Votes: 7   Popularity: 3.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 678
Please Sign up or sign in to vote.
How to calculate the points on a curve from a given polynomial.
XML
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 22,541   Rating: 4.74/5    Votes: 9   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Two ways to serialize and deserialize a property of type TimeSpan to XML
XSLT
Posted: 5 Jul 2014   Updated: 5 Jul 2014   Views: 47,356   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 451
Please Sign up or sign in to vote.
Two approaches for how to transform XML data to another format

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

George Jonsson
Architect
Philippines Philippines
I have worked with mobile phone testing in manufacturing for 20 years.
Originally from Sweden, but moved to China in 2012.
At the moment I am on a sabbatical year in the Philippines.

Over the years I have used various programming languages such as Pascal, C, C++, C#, SQL, XML, XSLT.