Pass Command Line Parameters to Inno Setup

August 31, 2023

Inno Setup is a great software installer creator. I use it with Visual Studio as a post-build step to package my software. This software is available as a NuGet package – Tools.InnoSetup.  Unfortunately some capabilities are not as clear as they should be. I needed to set the file path for an assembly that should be included in the… Read More »

What Version of .NET is Installed?

February 28, 2023

In order to determine which version(s) of the .NET framework and SDKs installed, use the dotnet command. Remember that this will not display .NET Framework information. SDK Versions Runtime Versions Standard Installation Folders It is possible that .NET is installed but not added to the PATH variable for your operating system or user profile. Here are standard folders… Read More »

C# Debug Exception Viewer

January 24, 2023

It’s simple enough to add a try/catch block around code to catch any exception. But when you are in the initial stages of generating code, you want quick feedback and it doesn’t exactly need to be pretty. In the catch block, pass the exception to this method to create a string with easy to read information. The Code… Read More »

Rendering Documents and Reports via API

February 28, 2023

The capability to display and print documents programmatically in Select has existed since Select version 4.1. The information below is the curation of multiple topics in the DevForum. Hopefully this presentation is easier to digest. Documents and Reports represent different things under the covers but are all treated in a similar manner. We will refer to all of… Read More »

Windows Command Line Shortcuts for Services

January 24, 2023

You can open the Windows services from the command line instead of clicking around. Below are several I find most useful for my work. Your mileage may vary. Services Be sure to start services from an admin prompt if necessary. Note that you can generally ignore typing the “.msc” extension. For instance, typing “eventvwr” or “services” will start… Read More »

Starting Service Terminates with Exception Code e0434352

January 21, 2023

My goal was write a simple C# service and install it on my local machine. Installing worked fine. However, starting the service failed with this event with .NET Runtime as the source. There was another event in the log with a source of “Application Error” but it did not provide me any further information. It provided the name… Read More »

Development of Windows Services

January 31, 2023

When developing a Windows service, you spend some time on install/uninstall cycles. To manage this, you use the command line tool “sc.exe”. Get Service Information Use PowerShell to get the current running/stopped status. You can use wildcards to get related service names. Start/Stop Service PowerShell provides commands to easily start and stop services. Install Service You can install… Read More »

Get IEnumValue Based Values

March 19, 2021

Select use dynamic “enumerations” to hold values that are user defined and maintained in the database. A partial list of these classes is IBillCode, IState, and ITitleStatus. Below is a static helper to get a member value. Here is an example of how to use the helper. Note that you can pass either an order instance to the… Read More »