Tag: c#
-
Visual studio project configuration file settings priority
THE PROBLEM For multiple versions (Dev, Test, Prod) of a single ClickOnce application one has to name assemblies differently. In this way you can have all three versions on the same computer. This can be easily achieved by using configuration in Visual Studio. The problem I had was that no matter what the assembly name […]
-
Use iText 4.1.6 to signing a PDF file with C#
Here is an C# example of signing a PDF file with certificate in file using the latest free MPL & GPL version of iText. It can be downloaded from here (source) or here(DLL) or via NuGet package manager in Visual Studio. After importing iText in the project you have access to the following functions. The […]
-
Use iText 5.4.x to signing a PDF file
Here is a sample code to sign a PDF using iTextSharp library and it is using a certificate file (with private key).
-
Snippet for Ctrl-A Shortcut To Select All Text (Windows.Forms.TextBox)
Set this event handler for your textbox to enable Ctrl-A shortcut and select all text: Thanks to: http://www.dzone.com/snippets/ctrl-shortcut-select-all-text