This topic is locked

How to use a third partly DLL in ASPRunner.NET project

1/25/2018 1:19:20 PM
IronSpeed to ASPRunner.NET transition
admin

We assume that you need to use code from these DLL files in your events. This article was updated to be compatible with version 10.6.

  • You will need to copy some files from ASPRunner.NET installation folder to your project folder. If, for instance, you use ASPRunner.NET 64bit edition your installation folder is C:\Program Files\ASPRunnerNET10.6.

If you need to write C# code copy these two files

<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\include\CommonEvents.vb --> <Project folder>\source\include\CommonEvents.vb
<Installation>\source\include\TableEvents.vb --> <Project folder>\source\include\TableEvents.vb

  • Copy your DLL files to <Project folder>\source\bin folder inside project directory. "bin" folder needs to be created if doesn't exist.

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;
  • Now you can add your code and build your project.