Most probably, you don't have administrative privileges on the machine where you install the product. You must have local administrator rights to install ActiveXperts Network Component on the computer.
This is not a problem of the ActiveXperts component, but is related to the security settings of your Windows computer.
Please try the following:
To start the command prompt, start it from the start menu by locating the "Command Prompt" in the start menu. Then, right-click on this item and select "Run as Administrator".
Then, issue the following command from the command prompt:
REGSVR32.EXE AxNetwork64.dll
or
REGSVR32.EXE AxNetwork32.dll
You can also try to turn off UAC (User Account Control)
Yes it can. To install the ActiveXperts Network Component DLL on another machine, simply copy either the AxNetwork64.dll (for 64-bit applications) or AxNetwork32.dll (for 32-bit applications) to the target machine and issue the REGSVR32 registration command on that machine.
To register the 64-bit component, issue the following command:
REGSVR32 AxNetwork64.dll
To register the 32-bit component, issue the following command:
REGSVR32 AxNetwork32.dll
Please note that on 64-bit systems, you can register both the 64-bit component (for 64-bit applications) and the 32-bit component (for 32-bit applications).
Yes, on 64-bit systems, you can register both the 64-bit component (for 64-bit applications) and the 32-bit component (for 32-bit applications). You can use the same REGSVR32.EXE command for that:
REGSVR32 AxNetwork64.dll REGSVR32 AxNetwork32.dll
You are right: you cannot install the product in an existing directory.
At uninstall, the original directory (default: C:\Program Files\ActiveXperts\Network Component\) is NOT deleted in case there are files created/modified after the previous installation. You must delete these files/directories manually.
Once the directory (C:\Program Files\ActiveXperts\Network Component\) is deleted, you can re-install it in that directory.
If you used the regular ActiveXperts Network Component Setup (AxNetworkSetup.exe) to install the software, you can simple uninstall the software by using the 'Add/Remove' applet in the control panel.
If you copied the AxNetwork64.dll and/or AxNetwork32.dll file(s) manually to your system and registered manually, you should first unregister the component(s) by running 'REGSVR32 -u AxNetwork64.dll' and/or 'REGSVR32 -u AxNetwork32.dll' from the command-line, and then delete the AxNetwork64.dll and/or AxNetwork32.dll file(s).
To uninstall the 64-bit component, issue the following command from the command prompt:
REGSVR32 -u <path>\AxNetwork64.dll
To uninstall the 32-bit component, issue the following command from the command prompt:
REGSVR32 -u <path>\AxNetwork32.dll
No, it only installs two ActiveX component files: one 32-bit DLL (AxNetwork32.dll) and one 64-bit DLL (AxNetwork64.dll) that both make use of the Operating System.
You can view the ActiveXperts Network Component Release Notes by using the following URL:
http://www.activexperts.com/network-component/releasenotes/
Yes you can. There's a project included in the sample directory. You need Visual Studio 2008 or higher. Make sure you include 'AxNetwork.h' in all source files where you use the component, and add 'AxNetwork_i.c' to your project so it will be compiled and linked with your project.
Wake up on LAN (WOL) means that you can power on a computer by sending a sequence of packets over the network to that specific NIC card. Three conditions must be met:
Yes. You should use the SendBytes method to transmit the bytes to the remote party.
Yes, Network Component is 100% thread-safe. It can be used by multiple applications simultaneously, and each individual application can have multiple simultaneous threads using Network Component. This applies to all Network Component object, i.e. the Icmp object, the Http object, the Ssh object, etc..
There are basically two ways to avoid prompting:
You should call ReceiveBytes to get a stream of binary data.
HTTP versions 1.0 and 1.1 are supported by the component. The 0.9 version of the protocol is not supported. In version 0.9 of the HTTP protocol, responses without an HTTP header are allowed.
Yes this is possible. Just set the 'UsePost' property to TRUE, and fill the 'PostData' property with the data you want to send. You could also have a look at the Manual, HTTP-POST section.
The following security protocols are supported using HTTPS: SSL2.0, SSL3.0 and TLS1.0 including support for client certificates.
The following authentications schemes are supported:
You can use the 'LogFile' property of the Http object, to enable Network Component's trace option.
If you need further logging, you can enable the logging option of the WinHTTP library of the OS. You can do this by using the 'winhttptracecfg.exe' resource utility:
WINHTTPTRACECFG.EXE -e 1 - l c:\temp\winhttptrace.log
No, the Http object makes use of the WINHTTP libraries which do not support these settings. You have to specifiy the setting either manually using the 'ProxyServer', 'ProxyAccount' or 'ProxyPassword' or using the 'proxycfg.exe' system tool.
You can specify the port number directly after the hostname of the proxy server in the 'ProxyServer' property like this: proxy.introweb.nl:3128.
Please read the following document: www.activexperts.com/network-component/tutorials/httpheaders.
Network Component uses an IP to Country database. This database is stored as a data segment inside the ActiveXperts Network Component core component: AxNetwork32.dll. This database doesn't change frequently. Read FAQ #1280040 to learn how to make use of the latest IP-to-Country database.
The accuracy is over 95%. The inaccuracy is due to dynamic IP address allocation by large ISPs such as AOL and MSN TV. It is also due to the use of proxy servers.
The IP-to-Country database is stored as a data segment inside the ActiveXperts Network Component core component: AxNetwork32.dll. The IP-to-Country data doesn't change often. However, to make sure you make use of the latest IP-to-Country database, you can download Network Component's core component (AxNetwork32.dll) at any time to make sure that the IP-to-Country data is up-to-date. You can download AxNetwork32.dll directly from here: www.activexperts.com/files/network-component/AxNetwork32.dll.
There's a list of valid country codes and country names in a CSV file on the ActiveXperts Support Site:
www.activexperts.com/support/network-component/iptocountry/countries.csv
Most probably, RSH is not configured properly on the remote UNIX machine. Be sure to setup your .rhosts file correctly on your UNIX server.
The .rhosts file typically permits network access on UNIX/LINUX systems. The .rhosts file lists computer names and associated logon names that have access to remote computers. When you run rcp, rexec, or rsh commands remotely with a correctly configured .rhosts file, you do not need to provide logon and password information for the remote computer. The .rhosts file is a text file in which each line is an entry. An entry consists of the local computer name, the local user name, and any comments about the entry. Each entry is separated by a tab or space, and comments begin with a pound sign (#). For example:
host7 #This computer is in room 31A
The .rhosts file must be in the user's home directory on the remote computer. For more information about the specific implementation of the .rhosts file on a remote computer, see the remote system documentation.
When troubleshooitingb RSH, also try the Windows built-in RSH client command utility to test if the RSH configuration is working fine.
No, there are no Windows SNMP Services required for the ActiveXperts Network Component SNMP operations.
If you need the Windows SNMP Service for other applications, ActiveXperts will still be able to perform its SNMP Get/GetNext/Set operations.
ActiveXperts doesn't deliver simulation software. However, there are some good SNMP simulation software products available. A recommended product is AdventNet Simulation Toolkit. For details, click here.
No, there is no Windows SNMP Traps Servics required for the ActiveXperts Network Component SNMP Trap operations.
If you have the Windows SNMP Traps Service running, Network Component will NOT be able to receive incoming SNMP Traps. Network Component will still be able to send out SNMP Traps.To listen, Network Component opens an UDP socket (default port 162) to listen for incoming traps; only one process at a time can listen for packets on such port. For that reason, the Windows SNMP Trap Service should not be running.
Yes this is possible. In SNMP V1, there is an extra field in the SNMP PDU, in SNMP V2, the generic trap is represented by an OID. You only have to set the 'GenericTrap' property of the SnmpTrap object as demonstrated in the code snippet below:
Option Explicit ' Declare objects Dim objSnmpTrapManager, objSnmpTrap, objSnmpConstants, objSnmpObject ' Create object Set objSnmpTrapManager = CreateObject ( "ActiveXperts.SnmpTrapManager" ) Set objSnmpTrap = CreateObject ( "ActiveXperts.SnmpTrap" ) Set objSnmpObject = CreateObject ( "ActiveXperts.SnmpObject" ) Set objSnmpConstants = CreateObject ( "ActiveXperts.ASConstants" ) ' Start manager objSnmpTrapManager.Initialize objSnmpTrapManager.ProtocolVersion = objSnmpConstants.asSNMP_VERSION_V2C ' Set trap properties objSnmpTrap.Clear() objSnmpTrap.Host = "192.168.31.98" objSnmpTrap.Community = "public" objSnmpTrap.GenericTrap = objSnmpConstants.asSNMP_TRAP_LINKUP ' Send the trap objSnmpTrapManager.Send objSnmpTrap ' Shutdown the manager objSnmpTrapManager.Shutdown
The following Windows service should NOT run: 'SNMP Trap Service'. This service is available on any Windows installation, as an additional feature. There can only be one process at a time receiving SNMP traps on a particular UDP port.
Yes, it can be done. You only have to modify two registry entries.
Start the registry editor and look for the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASTrpSvc
In this key, you can change the value of the Description and DisplayName. Do not change any of the other values. After modifying this values you have to restart your PC.
This can happen when the command started is a background process which keeps current stdout or stderr open. The solution is to redirect stdout and stderr. Click here for more information.
The other possibility is that you are running a version of OpenSSH which is older than 4.9. These versions contain a bug which causes it to never close sessions for root users. More information in the release notes for version 4.9 under (bz#926).
The SSH component needs read/write access to a temporary folder. There will be three temp files written to it, indicated by the following three undocumented properties:
Make sure that the anonymous ASP user has read/write access to the directory where the files will be written. You can even change the paths for the above three properties and assign different file locations.
It is not possible through Network Component. Network Component makes use of the IP layers of the Operating System. Connection time-out properties can be modified, but only system-wide, by changing the local system registry through the following registry hive:
'HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters'
For instance, set the 'TcpMaxConnectRetransmissions' entry to change the number of connection retries.
Please read the following document: Using Network Component with Visual Basic 6.x. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
Please read the following document: Using Network Component with VBScript. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
You must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Network Component Type Library'.
You have not installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation. You can download the installation file from the ActiveXperts download site.
To install the component manual, see the manual, chapter Installation (Manual).
This is due to the fact that Windows uses the 64bit VBScript interpreter (C:\WINDOWS\SYSTEM32\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WSCRIPT.EXE) by default. Since the ActiveXperts Network Component control is a 32bit control, you should invoke the WOW64 subsystem. This means C:\WINDOWS\SYSTEM32\WOW64\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WOW64\WSCRIPT.EXE.
Please read the following document: Using Network Component with HTML. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
Yes it is possible. There is an online sample that shows how to use the component inside an HTML page.
In this sample, the ActiveXperts Network Component ActiveX component is downloaded and installed automatically from the following location: www.activexperts.com/files/network-component/AxSerial32.dll. You get prompted to trust the activexperts.com site. You can customize this HTML sample, and let the ActiveX source point to another location by changing the 'codebase' reference inside this HTML file.
To avoid prompting, please read article FAQ Article 1380025.
There are basically three ways to avoid prompting:
Please read the following article: How to digitally sign an ActiveXperts software component.
You need Microsoft Visual Studio 2008 or higher. All sample projects are created in Visual Studio 2008. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.
If you use an older version of Visual Studio, you must recreate the sample projects yourself and add the source files.
In all C++ files that make use of an ActiveXperts Network Component object, you must include 'AxNetwork.h' and 'AxNetworkConstants.h'. Also add 'AxNetwork_i.c' to the project, so it will be compiled and linked.
Yes, you can, but you can only compile the Console Applications. The Forms applications make use of the Microsoft MFC framework, which is not supported by Microsoft Visual Studio Express.
xIn all C++ files that make use of an ActiveXperts Network Component object, you must include 'AxNetwork.h' and 'AxNetworkConstants.h'. Also add 'AxNetwork_i.c' to the project, so it will be compiled and linked.
You need Microsoft Visual Studio 2008 or higher. All sample projects are created in Visual Studio 2008. If you use a newer version of Visual Studio, then Visual Studio will prompt you to convert the project file.
All .NET samples make use of .NET framework 2.0
The samples require .NET Framework 2.0 or higher.
Please read the following document: Using ActiveXperts Network Component with Visual Basic .NET. This document describes how to refer to the SMS Component library, and how to declare, create and use the objects.
Please read the following document: Using ActiveXperts Network Component with Visual C# .NET. This document describes how to refer to the SMS Component library, and how to declare, create and use the objects.
You haven't installed and registered the ActiveXperts Network Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or by registring manually (see also FAQ Q1000015).
You haven't installed and registered the ActiveXperts Network Component ActiveX component properly. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or by registring manually (see also FAQ Q1000015).
See FAQ 1480002.
See FAQ 1480003.
See FAQ 1480003.
See FAQ 1480007.
See FAQ 1480025.
See FAQ 1480030.
See FAQ 4600007.
Please read the following document: Using Network Component with ASP. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
Please read the following document: Using Network Component with Delphi. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
Please read the following document: Using Network Component with PHP. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
Please read the following document: Using Network Component with ColdFusion. This document describes how to refer to the ActiveXperts Network Component library, and how to declare, create and use the objects.
The problem is, that you must refer to the object before you can declare and create it. Go to the 'Project' menu, choose 'References...' and put the checkbox near 'ActiveXperts Network Component Type Library'.
You haven't installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or can be downloaded from our website and registered manually by running the following command:
REGSVR32 AxNetwork32.dll
You haven't installed and registered the ActiveXperts Network Component ActiveX component. This component can be installed and registered automatically by running the ActiveXperts Network Component installation, or can be downloaded fron our website and registered manually by running the following command:
REGSVR32 AxNetwork32.dll
To learn about the different license options for ActiveXperts Network Component, click here.
After 30 days of evaluation, you won't be able to call the Connect methods anymore. If you call this function, nothing happens and LastError will be set.
Click here for more information about the ActiveXperts Network licensing options.
The 'Distribution License' allows you to 'bundle' the component with your own software. It allows you to ship the product to an unlimited number of customers for an unlimited period of time. There are no limitations to functionality of the software.
Click here for more information about the ActiveXperts Network Component licensing options.
Once you have obtained a Distribution License, you receive a key that you can use on the target computers. Click here to read more about how to distribute this key with the core product DLL on the target computers.
Once you have obtained a Distribution License, you will receive a key that you can use on the target computers.
Please read manual, chapter: Purchase and Product Activation for more info about distributing this license key.
ActiveXperts' Maintenance Agreement entitles customers to use ActiveXperts' technical support services, and to receive all product upgrades, free of charge, during a specified Agreement duration. The Maintenance Agreement applies to all ActiveXperts products.
After purchase, you get 1 year Maintenance for free
After this free Maintenance period, Licensee may purchase Maintenance. The price for the Maintenance Agreement is 15% of the price that was payed for the product.
Read our Maintenance Agreement in PDF format.
For detailed sales information, check the Sales webpage.
Please read the manual, chapter: Purchase and Product Activation.
Renewals that come in after the maintenance has expired will be backdated to start from the old expiry date. Also, you are only able to get Technical Support and Software Maintenance when your support contract is valid.
No, we do not ship or sell the source code of our products.
The only source code that is included with our products are code samples shipped, to show how to use the component in various programming languages.
| Error codes |
|---|
| Click here to view the full list of error codes |