Barcode Software - SAP
Link auf tec-it.com
Problem: Intermittent crashes on Windows 7 in the Read() method.
Solution: Please install TConnector version 2.4.5, where this problem has been fixed.
In older versions you can use the following workaround: Before entering the Read() method, enable EscapeZeroBytes as follows:
With TCP/IP the Close() function internally marks a connection as to be closed but may not close it immediately.
You can fix the problem by setting the keep-alive time. Pass the keep alive time as second parameter behind the port number (separated by a #), see examples below:
Yes - the Microsoft.NET framework offers a wrapper class for ActiveX® Controls. To host TConnector on a Windows form, you must generate a wrapper control that derives from System.Windows.Forms.AxHost.
The Microsoft .NET framework comes with a tool named Aximp.exe which converts type definitions in a COM type library for an ActiveX control into a Windows Forms control. You can reference this newly created library in your Microsoft .NET project or extend the toolbox.
Below we show you how to license at startup of the database. Create a new Module with the following function (in Microsoft VBA Editor):
Public Function LicenseTConnector()
Dim TC As New TCONNECTOR2Lib.TConnector2
TC.LicenseMe "Mem: Your Licensee Name", eLicKindDeveloper, 1, "Your Key", eLicProdStd
Set TC = Nothing
Create a new Macro named "Autoexec" with the following settings:
Action = RunCode
Functionname = LicenseTConnector()
If the ActiveX Control is used on client side (connecting to COM ports on client computer, not on server), it must be installed and licensed on client side.
Possibilities for installation:
The user can run the MSI file, which is provided by our setup. If you want, you can use also silent mode (no dialogs) and install the component without documentation/samples.
Run: msiexec /i TConnector_Setup.msi ADDLOCAL=FeatTConnector /qn
Optional: add parameter INSTALLDIR=C:\MyApplicationPath for installation into a specific directory.
MSIE supports automatic installation of ActiveX Controls – all you have to do is to specify the download URL to a CAB file setup in the codebase attribute of the TConnector object - here is an example.
<OBJECT classid="clsid:126C289A-607B-4251-BF31-1555A5951948" id="TC2"
.. some more parameters...
A CAB file setup for TConnector is available on request. Please note that the CAB file contains only the TConnector DLLs without the VC++ Runtime (MSVCRT DLLs). If the VC++ Runtime DLLs are not present on the client system, the user (or Admin) has to run the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) separately: Download it from http://www.microsoft.com/downloads.
Usually for web applications, you get one license key, which must be used for all clients.
An alternative (and recommended) way for web applications would be LPK licensing. On request you get an LPK file, which you have to store on the server. Then you add the following html object tag in your html code (on the page, where TConnector is used).
<PARAM NAME="LPKPath" VALUE="./ServerPathToLPK/TConnectorLicense.lpk">
This object is the built-in License Manager in MSIE. The parameter LPKPath must point to the download URL for the LPK file on your server. The license manager object reads the LPK file and licenses the TConnector object on the same page. The license is hidden to the users, ideal for internet usage, no licensing script must be executed. Note: LPK works with Mem: prefixed license keys only.