AMTLINK integation with Visual basic

All documents from the original Software Support Library (SSL)

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

AMTLINK integation with Visual basic

Postby Belinda Frick » Thu Nov 18, 2010 11:05 am

Save the AMTLink.exe file in "C:\Program Files\Datatex\USBClient".
Click on "Start", then click on "Run" and type "cmd" on the dialog box that pops up.
Press enter. This will open a command window.
Type "cd \program files\datatex\usbclient" in the command window and press enter.
Type "amtlink /regserver" in the command window and press enter.
The AMTLink COM object will then be registered. Close the command window.
On Visual Basic, on the menu at the top, click on "Project", and then click "Add Reference".
Select the "COM" tab.
Select "Amethyst Linker Library".
Click the "OK" button.
Now, in the VB Project code, under General declarations, add the text "Imports AMTLink".
Under the form class, add the text "Dim AMTLink as New AMTLinker".

Now you can create buttons that set or get various properties (e.g. AMTLink.SetReference("Test") will set the
USBClient 3rd-party reference to the word "Test").
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (Amethyst)

Who is online

Users browsing this forum: No registered users and 1 guest