For the purposes of this exercise, the program instance you create will:
- Register itself to the Linxter ISB
- Retrieve its configuration settings
- Activate itself
- Create a communication channel request to itself and automatically accept it
- Send a message (to itself)
- Receive a message back from the ISB
- You will need to download the Linxter SDK before you can begin this section. You will also need to download the Hello World solution.
- Next you will need to download the preconfigured database file for your program, as well as copy your program's Activity ID (assigned when you registered it to the ISB).
- Open Visual Studio.
- Open your Hello World solution. Be sure to have your Solution Explorer view open (View – Solution Explorer)

Click Add Reference as illustrated below and add the following (found in your Linxter SDK download):
- LinxterSDK.dll
- log4net.dll
- System.Data.SQLite.dll
- Next, for each of those dlls, set their Copy Local property to True as illustrated below.

- Now, add the preconfigured database you downloaded for your Program to this project. Copy it into the project, click the “Refresh” icon, and then the “Show All Files”.

- Right click the “LinxterSDKDB” file and select “Include In Project”.

- Right click the “LinxterSDKDB” file again and select “Properties”. Change the “Build Action” to “Content” and “Copy to Output Directory” to “Copy if newer”

- You will now need to open the Program.cs file and replace the ActivityId string value with the Activity ID assigned to your program when you registered it to the ISB.


You are now ready to run your Hello World program. Running the program will open a console window. You may terminate the console application at anytime by hitting ENTER.
Sending and Receiving Messages
Scheduled sending and receiving are automatically enabled when instances of your program are running. All of the timing code for the scheduled sending and receiving is taken care of for you within the SDK. The settings for these events can be dynamically updated through Web Manager. Sending and receving messages is asynchronous and non-blocking to your program. This means your program instance can keep on doing what it is doing and not worry about getting hung while processing a send or receive operation.
Optional: In your code, you can also send and receive on-demand using the SendNow() and ReceiveNow() method calls.
- When your program instance receives a message back from the ISB, it will display the message that was sent to it (found within the Program.cs file).
- That’s it! You have now created your first Linxter enabled program, and sent and received a message over a secure, reliable, dynamic communication channel.
- When you run your program again, it will be faster because it does not need to register itself onto the Linxter ISB and retrieve its settings.
You can have Hello World send multiple messages to itself. However, if you want to experiment with message sending and retrieval speed, check out our open source Visual Basic Performance Tester console app.