1. You will need to copy some files from ASPRunner.NET installation folder to your project folder. If, for instance, you use ASPRunner.NET 32bit edition your installation folder is C:\Program Files (x86)\ASPRunnerNET9.8
If you need to write C# code copy these two files
<Installation folder>\source\eventsProjectCS.xml --> <Project folder>\source\eventsProjectCS.xml
<Installation folder>\source\include\CommonEvents.cs --> <Project folder>\source\include\CommonEvents.cs
<Installation folder>\source\include\TableEvents.cs --> <Project folder>\source\include\TableEvents.cs
If you need to write VB.NET code copy these two files
<Installation>\source\eventsProjectVB.xml --> <Project folder>\source\eventsProjectVB.xml
<Installation>\source\include\CommonEvents.vb --> <Project folder>\source\include\CommonEvents.vb
<Installation>\source\include\TableEvents.vb --> <Project folder>\source\include\TableEvents.vb
2. Copy your DLL files to <Project folder>\source\bin folder inside project directory. "bin" folder needs to be created if doesn't exist.
3. If you write events in C# open <Project folder>\source\eventsProjectCS.xml file in any text editor and add a reference to your DLL file where you see a bunch of other references. Add your reference at the end of section and it should look like this. This example assumes that your DLL file name is LibraryName.dll.
Quote
<Reference Include="LibraryName">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\LibraryName.dll</HintPath>
<Private>False</Private>
</Reference>
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\LibraryName.dll</HintPath>
<Private>False</Private>
</Reference>
4. If you need to add your code to common events that doesn't belong to any table open <Project folder>\source\include\CommonEvents.cs in text editor. If you need to add code to table events edit <Project folder>\source\include\TableEvents.cs file. Add the following line after all other "using" statements in the beginning:
using LibraryName;
5. Now you can add your code and build your project.