You are here:

ActiveXperts.com > Support > All > ActiveSocket

ActiveSocket Toolkit Add network capabilities to any Windows or .NET application

Quicklinks


Network Communication Toolkit - SDK for Windows by ActiveXperts


[ ACTIVESOCKET - INSTALLATION ]

Q1000010 - When I run Setup, I get the following error message: "Error installing iKernel.exe (0xa00)". What's wrong?

A:

Most probably, you don't have administrative privileges on the machine where you install the product. You must have local administrator rights to install ActiveSocket on the computer.



Q1000012 - When trying to register your component (asocket.dll), REGSVR32 returns the following error: 0x80070005

A:

This is not a problem of the toolkit itself, but has something to do with security settings on Windows 7, Windows Vista, Windows 2008 and higher.

Please try the following:

When starting the command prompt, start it from the start menu by locating the "Command Prompt" in the start menu, now right click on this item and select "Run as Administrator". When you try to register the component from the command prompt it should work okay.

You can also try to turn of UAC (User Account Control)



Q1000015 - Can ActiveSocket be installed manually?

A:

Yes it can. To install the ActiveSocket COM component on another machine, simply copy the ASocket.dll (or ASocketX64.dll) to another machine and issue the following command from the command prompt:

REGSVR32 <destination-path>\Asocket.dll


Q1000016 - Can I use REGSVR32 to register your 64-bit component?

A:

Yes, you can use REGSVR32 to register the 64-bit component (ASocketX64.dll), e.g.:

REGSVR32 ASocketX64.dll

You can also register the 32-bit component (ASocket.dll) on a 64-bit system in the same way, e.g.:

REGSVR32 ASocket.dll

To make use of the 64-bit DLL, you should use a 64-bit application or 64-bit interpreter, e.g.:

CSCRIPT.EXE Icmp.vbs


Q1000017 - I want to re-install ActiveSocket. I uninstalled first, but now the installation tells me that I cannot install it in the same destination directory as before. Am I doing something wrong?

A:

You are right: you cannot install the product in an existing directory.

Upon un-installation, the original directory (default: C:\Program Files\ActiveXperts\ActiveSocket) 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\ActiveSocket) is deleted, you can re-install it in that directory.

In previous versions of the product, it was possible to install in an existing directory, but this often lead to interference with previous installations.



Q1000020 - How can I uninstall ActiveSocket?

A:

If you used the regular ActiveSocket Setup program to install the software, you can simple uninstall the software by using the 'Add/Remove' applet in the control panel.

If you copied the ASOCKET.DLL file manually to your system and registered manually, you should first de-register the component by running REGSVR32 -u ASOCKET.DLL, and then delete the ASOCKET.DLL file.



Q1000022 - I want to uninstall the ActiveSocket software manually. How can I do this?

A:

You can do it in the following way:

  • Start the registry editor (REGEDIT.EXE);
  • Open the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ key;
  • Delete the 23E6B3C8-F4B1-4F38-B2BE-1901814A7020 key.
  • Delete the C:\PROGRAM FILES\ACTIVEXPERTS\ACTIVESOCKET directory and all it sub-directories.
  • Delete the 'ActiveXperts:ActiveSocket' program group from the Start menu.



Q1000025 - I manually registered the ActiveSocket COM component on another machine, and now I want to unregister. How can I do this?

A:

Issue the following command from the command prompt:

REGSVR32 -u <path>\ASocket.dll


Q1000030 - Does the ActiveSocket installation overwrite existing Operating System files?

A:

No, it only installs an ActiveX component that uses files of the Operating System.



Q1000035 - Where can I find the ActiveSocket Release Notes?

A:

You can find the ActiveSocket Release Notes here.






[ ACTIVESOCKET - USING ACTIVESOCKET ]

Q1100010 - Can I use Visual C++ to include the ActiveSocket component?

A:

Yes you can. There's a demo included in the sample directory. You need VC++ 6.x or higher. All of the ActiveSocket logic is put together in the 'ASocketDemoDlg.cpp' file. Most important, the files ASocket.h and ASocket_i.c must be included in your sourcefile, because these file include the ISocket interface and the Socket CLSID.



Q1100015 - I want to create a new project in Visual C++ 6.x. What kind of project should I create so i can include ActiveSocket inside my code?

A:

In the 'New' dialog, start the MFC AppWizard. When you are asked for compound document support, select 'Container', and choose for 'Automation' support. Don't forget to include ASocket.h and ASocket_i.c.



Q1100020 - When I do a Wake Up on LAN, the machine doesn't wake up at all. What's wrong?

A:

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:

  • Wake up on LAN must be supported by the remote computer's BIOS;
  • Somehow, there must be a link between the computer's NIC card and the BIOS. For NIC cards that are not integrated on the motherboard, a separate cable is needed to connect the NIC card to the motherboard;
  • A valid MAC address must be used to send the WOL message to.



Q1100025 - I'm implementing a client server application. Is it possible to transmit binary data?

A:

Yes. You should use the SendBytes method to transmit the bytes to the remote party.



Q1100030 - Is ActiveSocket thread-safe?

A:

Yes, ActiveSocket is 100% thread-safe. It can be used by multiple applications simultaneously, and each individual application can have multiple simultaneous threads using ActiveSocket. This applies to all ActiveSocket object, i.e. the Icmp object, the Http object, the Ssh object, etc..



Q1100035 - We are using the component within HTML/Javascript code. The browser is Internet Explorer. Each time the ActiveX control is loaded by the browser, a security warning is displayed. Have you any suggestion to remove this message?

A:

There are basically two ways to avoid prompting:

  • Add the website that hosts the ActiveX component to the trusted sites of all Internet Explorers. This would need some automatic configuration on your LAN's Internet Explorers, for instance through Group Policy (recommended) or through logon script. This way you only decrease Internet Explorer security for that particular site. Security for all other sites remain the same. This solution only works as long as the ActiveSocket users are part of your network.
  • You can sign the component (the actual ASocket.dll). If you only use the component for internal use (i.e. in your network), you can use the standard Windows Certificate Server (part of Win2000 and higher). For more more information on signing an ActiveX component yourself, see www.activexperts.com/support/toolkits/sign. If the component is used outside your network, you should use a public Certificate Authority, for instance Verisign.
    ActiveXperts Software does not offer facilities to sign ActiveX COM/OLE components.



Q1100040 - How can I receive binary data from a remote client?

A:

You should call ReceiveBytes to get a stream of binary data.






[ ACTIVESOCKET - HTTP ]

Q1140010 - Which HTTP versions are supported?

A:

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.



Q1140020 - Is it possible to send HTTP POST requests using your component?

A:

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.



Q1140030 - Which protocols are supported using HTTPS ?

A:

The following security protocols are supported using HTTPS: SSL2.0, SSL3.0 and TLS1.0 including support for client certificates.



Q1140040 - Which authentication schemes can be used by password protected websites and proxy servers?

A:

The following authentications schemes are supported:

  • Basic
  • Digest
  • NTLM
  • Negotiate
  • Kerberos
  • Microsoft Passport



Q1140100 - Is there some kind of tracing possible with ActiveSocket? I want this for troubleshooting purposes.

A:

You can use the 'LogFile' property of the Http object, to enable ActiveSocket'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


Q1140200 - I Want to send the HTTP requests through a proxy server. Can I use the Microsoft Internet Explorer connections settings for this?

A:

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.



Q1140210 - Can I use an alternate port to access the proxy server?

A:

You can specify the port number directly after the hostname of the proxy server in the 'ProxyServer' property like this: proxy.introweb.nl:3128.



Q1140220 - How can I show read HTTP Header of the web site I am connecting to?

A:

Please read the following document: www.activexperts.com/network-component/tutorials/httpheaders.






[ ACTIVESOCKET - IPTOCOUNTRY ]

Q1160020 - How does ActiveSocket map a country to an IP address? Does it connect to an external database for that?

A:

ActiveSocket uses an IP to Country database. This database is stored as a data segment inside the ActiveSocket core component: Asocket.dll. This database doesn't change frequently. Read FAQ #1280040 to learn how to make use of the latest IP-to-Country database.



Q1160030 - What is the accuracy of the IP-to-Country database used by ActiveSocket?

A:

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.



Q1160040 - How can I make sure that the IPtoCountry object makes use of a recent IP-to-Country database?

A:

The IP-to-Country database is stored as a data segment inside the ActiveSocket core component: Asocket.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 ActiveSocket's core component (Asocket.dll) at any time to make sure that the IP-to-Country data is up-to-date. You can download Asocket.dll directly from here: www.activexperts.com/files/network-component/asocket.dll.



Q1160050 - I'm looking for a list of valid country codes and country names returned by the IPtoCountry object. Where can I find it?

A:

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






[ ACTIVESOCKET - RSH ]

Q1180010 - I have a UNIX machine, but when using ActiveSocket's RSH object, I cannot connect to the UNIX machine ('Unable to connect to remote computer'). What's wrong?

A:

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.






[ ACTIVESOCKET - SNMP AND SNMPTRAPS ]

Q1200010 - I'm not able to use SNMP, even when I try to query SNMP on my local machine. Result: Error 22218 or Error 22219.

A:

ActiveSocket requires an SNMP Agent running on your local computer. By default, SNMP is not installed on a Windows platform. This applies to all major Windows platforms, i.e. Windows XP, Windows 2000, Windows 2003 and Windows 2008.

To install the SNMP agent on a Windows XP/2000/2003/2008 platform, please do the following:

  • Open the Control Panel, choose 'Add/Remove Programs' and select the 'Add/Remove Windows Components' icon from the left-pane;
  • Select 'Management and Monitoring Tools' and click on 'Details';
  • Select 'Simple Network Management Protocol' and click 'OK';
  • Click 'Next'; it will now install the SNMP Agent software.

On Windows XP SP2 and Windows 2003 stations, you must configure the SNMP Agent service after installation of the SNMP Agent service.



Q1200015 - I'm not able to use SNMP on my Windows 2003 station. The Windows SNMP service is already running.

A:

On Windows 2003, you need to configure the SNMP service before you can actually use it. You can configure the service in the following way:

  • Open the 'Services' applet from the "Administrative Tools' group in the 'Start' menu;
  • Select 'SNMP Service' and select 'Properties' from the context menu (right mouse-button);
  • In the 'Accepted Community Names' list, add a new community, for instance: 'Public' (READ_ONLY);
  • Enable 'Accept SNMP Packets from any host', or add all hosts that you want to allow. IMPORTANT: Do NOT use localhost is the list of accepted hosts, it will not work!!;
  • Restart the SNMP Service.



Q1200030 - I want to test ActiveSocket's SNMP features, but I don't want to use our internal Cisco switches for that. Is there any simulation software available for testing?

A:

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.



Q1200035 - When I try the SET command, ActiveSocket tells me that it is not possible to write. It looks like there's no permission to perform a SET operation. What is the problem?

A:

First of all, SET operation must be performed on an OID that is READWRITE, otherwise it won't work. In general, most SNMP OID's are READ ONLY.

Second, make sure that your SNMP Service has write permission on the community. By default, your SNMP Service it is NOT configured like that! Configure your SNMP Service as shown here in order to allow SNMP Set operations.



Q1200040 - Is possible to define specific and generic traps using ActiveSocket SnmpTrapManager Object?

A:

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


Q1220010 - I can't receive SNMP traps on the machine where ActiveSocket is installed. I'm sure I have configured the remote trap sender well. What can be the reason?

A:

The following Windows service must run: 'SNMP Trap Service'. This service is available on a default Windows installation. The SNMP Trap Service can be installed by installing the 'SNMP Agent' (described in FAQ #1200010).

Please note that the startup-type of this service is set to 'Manual' by default, so it is not started automatically!



Q1220020 - Do I need the 'SNMP Trap Service' to be installed on my machine in order to send out SNMP traps?

A:

No; this service is only required to receive SNMP traps.



Q1220030 - I want to change the displayname and description of the ActiveXperts SNMP Trap Service. Is this possible ?

A:

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.






[ ACTIVESOCKET - SSH ]

Q1230010 - Why are remote sessions not closed ?

A:

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).



Q1230020 - I get the following error when rusing SSH: "22480 Failed to create temporary file". I'm using your ASP sample. What's wrong?

A:

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:

  • sysTmpFileRes
  • sysTmpFileOut
  • sysTmpFileErr

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.






[ ACTIVESOCKET - TCP ]

Q1260010 - Is there any way I set the timeout that is used with the 'Connect' function?

A:

It is not possible through ActiveSocket. ActiveSocket 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.






[ ACTIVESOCKET - VISUAL BASIC AND VBSCRIPT ]

Q1320010 - How do I use the ActiveSocket Toolkit object in my Visual Basic project?

A:

Please read the following document: Using ActiveSocket with Visual Basic 5.x/6.x. This document describes how to refer to the ActiveSocket library, and how to declare, create and use the objects.



Q1320020 - How do I use the ActiveSocket object in my VBScript program?

A:

Please read the following document: Using ActiveSocket with VBScript. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.



Q1320030 - When running the Visual Basic sample project, I get an error: "User-defined type not defined". What's wrong?

A:

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 'ActiveSocket Type Library'.



Q1320040 - Why am I getting the following error message when running a VBScript including the ActiveSocket component:
    "Microsoft VBScript runtime error: ActiveX component can't create object: 'ActiveXperts.Socket'"


A:

You haven't installed and registered the ActiveSocket ActiveX component. This component can be installed and registered automatically by running the ActiveSocket installation, or can be downloaded from our website and registered manually by running the command:

REGSVR32 ASOCKET.DLL


Q1320100 - I'm using Windows 64bit and I'm getting the following error when using your VBScript sample:
    "Microsoft VBScript runtime error: ActiveX component can't create object: 'ActiveXperts.Tcp'".
This applies toall other ActiveSocket objects, and applies for both CSCRIPT.EXE (command-line VBScript interpreter) and WSCRIPT.EXE (GUI VBScript interpreter)


A:

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 ActiveSocket 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.






[ ACTIVESOCKET - HTML AND JAVASCRIPT ]

Q1380010 - How do I use the ActiveSocket Toolkit object in my HTML form?

A:

Please read the following document: Using ActiveSocket Toolkit with HTML. This document describes how to refer to the ActiveSocket library, and how to declare, create and use the objects.



Q1380020 - Is it possible to use the component in an HTML page? Do you have an HTML sample available?

A:

Yes it is possible. There is an online sample that shows how to use the component inside an HTML page.

In this sample, the ActiveSocket ActiveX component is downloaded and installed automatically from the following location: www.activexperts.com/files/network-component/acomport.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.



Q1380025 - We are using the component within HTML/JavaScript code. The browser is Internet Explorer. Each time the ActiveX control is loaded by the browser, a security warning is displayed. Have you any suggestion to avoid this message?

A:

There are basically three ways to avoid prompting:

  • Add the website that hosts the ActiveX component to the trusted sites of all Internet Explorers. This would need some automatic configuration on your LAN's Internet Explorers, for instance through Group Policy (recommended) or through logon script. This way you only decrease Internet Explorer security for that particular site. Security for all other sites remains the same. This solution only works as long as the ActiveComport users are part of your network.

  • You can sign the component (the actual AComport.dll). If you only use the component for internal use (i.e. in your network), you can use the standard Windows Certificate Server (part of Win2000 and higher). For more more information on signing an ActiveX component yourself, see www.activexperts.com/support/toolkits/sign. If the component is used outside your network, you should use a public Certificate Authority, for instance Verisign.
    ActiveXperts Software does not offer facilities to sign ActiveX COM/OLE components.

  • From the Internet Explorer menu, select "Tools" -> "Internet Options"; click the security tab, and click the 'Custom level...' button.
    In the list of options, change the 'Initialize and script ActiveX controls not marked as safe for scripting' setting from disable to prompt. When you restart Internet explorer and run the page again, Internet Explorer will ask you whether to run the control or not. When asked click 'Yes' and the page should work correctly.



Q1380040 - I want to sign the ActiveSocket module so it can be used by any browser in our network without any security alerts. How can I digitally sign the module?

A:

Please read the following article: How to digitally sign an ActiveXperts software component.






[ ACTIVESOCKET - VISUAL C++ ]

Q1420010 - How do I use the ActiveSocket Toolkit objects in my Visual Studio C++ 6.0 project?

A:

Please read the following document: Using ActiveSocket Toolkit with Visual C++. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the object.



Q1420020 - I want the create a new project in Visual C++ 6.x. What kind of project should I create so I can include ActiveSocket inside my code?

A:

In the 'New' dialog, start the MFC AppWizard. When you are asked for compound document support, select 'Container', and choose for 'Automation' support. Don't forget to include ASocket.h and ASocket_i.c (see manual).



Q1420030 - Can I use Visual Studio .NET to build the Visual C++ samples?

A:

Yes you can. Visual Studio .NET supports Visual C++ projects. When you open a Visual C++ project for the first time, Visual Studio .NET will first convert the project to the current project format. After conversion, you'll be able to use the project.

NOTE: Visual Studio Express Edition does NOT support Visual C++ MFC projects. See also FAQ#Q1420040.



Q1420040 - Can I use Visual Studio Express Edition to build the Visual C++ samples?

A:

No you can't. Microsoft Visual Studio Express Edition is a free, lightweight and easy-to-use tool, and has no support for Visual C++ MFC projects. You can however use it to build one of the console applications shipped with the product.






[ ACTIVESOCKET - VB.NET,VC#.NET ]

Q1480005 - What .NET framework is required to run the .NET ActiveSocket Toolkit sample projects?

A:

ActiveSocket Toolkit is compatible with .NET Framework 1.0, 1.1, 2.0, 3.5 and 4.0. The .NET samples are created with Visual Studio 2005, and can be used with Visual Studio 2002, 2003, 2005, 2008 and 2010.



Q1480010 - How do I use the ActiveSocket Toolkit objects in my Visual Basic .NET project?

A:

Please read the following document: Using ActiveSocket Toolkit with Visual Basic .NET. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.



Q1480020 - How do I use the ActiveSocket Toolkit objects in my Visual C# .NET project?

A:

Please read the following document: Using ActiveSocket Toolkit with Visual C# .NET. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.



Q1480030 - Is it possible to use the ActiveSocket component in a Visual Studio .NET environment?

A:

Yes, the ActiveSocket component can be used in .NET development environments like Visual C# .NET, Visual Basic .NET and ASP .NET. During installation, samples for Visual Basic .NET and Visual C# .NET are installed (together with samples for VBScript, Visual C++, Visual Basic and ASP).



Q1480040 - Why am I getting the following error message when compiling your Visual Basic .NET sample:
    "Namespace or type 'ASOCKETLib' for the Imports 'ASOCKETLib' cannot be found."


A:

You haven't installed and registered the ActiveSocket ActiveX component properly. This component can be installed and registered automatically by running the ActiveSocket installation, or can be downloaded from our website and registered manually by running the command:

REGSVR32 ASOCKET.DLL





[ ACTIVESOCKET - ASP.NET ]

Q1520005 - What .NET framework is required to run the .NET ActiveSocket Toolkit sample projects?

A:

ActiveSocket Toolkit is compatible with .NET Framework 1.1, 2.0, 3.5 and 4.0. The .NET samples are created with Visual Studio 2005, and can be used with Visual Studio 2003, 2005, 2008 and 2010.



Q1520010 - How do I use the ActiveSocket Toolkit objects in my ASP .NET project?

A:

Users of ASP .NET (Visual Basic) should read the following document: Using ActiveSocket Toolkit with ASP .NET (VB). This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.

Users of ASP .NET (C#) should read the following document: Using ActiveSocket Toolkit with ASP .NET (VB)



Q1520020 - How can I use the standard ASP .NET samples?

A:

You need to setup IIS first to be able to use the ASP .NET samples. This applies to both the ASP .Net VB samples as well as the ASP .NET C# samples:

  • Open the Control Panel, and select the 'IIS Manager' from the 'Administrative Tools' Folder;
  • Right-click on the 'Default Website' in the tree-view, and choose New->Virtual Directory from the context-menu;
  • Click 'Next'; in the 'Alias field', type: 'WebApplication' (other names won't work);
  • Click Next and select the path to your ASP.NET sample directory ( i.e. "C:\Program Files\ActiveXperts\ActiveSocket\Examples\ASP.NET C#\wwwroot\WebApplication" );
  • Click 'Next' and check the 'Read' and 'Run Scripts' boxes;
  • Click 'Next' and 'Finish', your ASP.Net application has been setup now;
  • Type http://localhost/WebApplication/Webform1.aspx in the explorer's address bar to start the application.






[ ACTIVESOCKET - ASP ]

Q1580010 - How do I use the ActiveSocket Toolkit objects in my ASP project?

A:

Please read the following document: Using ActiveSocket Toolkit with ASP. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.






[ ACTIVESOCKET - DELPHI ]

Q1620010 - How do I use the ActiveSocket Toolkit objects in my Borland Delphi project?

A:

Please read the following document: Using ActiveSocket Toolkit with Borland Delphi. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.






[ ACTIVESOCKET - PHP ]

Q1660010 - How do I use the ActiveSocket Toolkit objects in my PHP code?

A:

Please read the following document: Using ActiveSocket Toolkit with PHP. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.






[ ACTIVESOCKET - COLDFUSION ]

Q1670010 - How do I use the ActiveSocket Toolkit objects in my ColdFusion project?

A:

Please read the following document: Using ActiveSocket Toolkit with ColdFusion. This document describes how to refer to the ActiveSocket Toolkit library, and how to declare, create and use the objects.






[ ACTIVESOCKET - ERRORS ]

Q1700010 - When running the Visual Basic sample project, I get an error: "User-defined type not defined". What's wrong?

A:

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 'ActiveSocket Type Library'.



Q1700015 - Why am I getting the following error message when compiling your Visual Basic .NET sample:
    "Namespace or type 'ASOCKETLib' for the Imports 'ASOCKETLib' cannot be found."


A:

You haven't installed and registered the ActiveSocket ActiveX component. This component can be installed and registered automatically by running the ActiveSocket installation, or can be downloaded from our website and registered manually by running the following command:

REGSVR32 ASOCKET.DLL


Q1700020 - Why am I getting the following error message when compiling the Visual C# .NET sample:
    "The type or namespace name 'ASOCKETLib' could not be found (are you missing a using directive or an assembly reference?)"


A:

You haven't installed and registered the ActiveSocket ActiveX component. This component can be installed and registered automatically by running the ActiveSocket installation, or can be downloaded fron our website and registered manually by running the following command:

REGSVR32 ASOCKET.DLL





[ ACTIVESOCKET - LICENSING ]

Q1800005 - Where can I find detailed information about licensing?

A:

To learn about the different license options for ActiveSocket, click here.



Q1800010 - What happens after the 30-day trial period?

A:

After 30 days of evaluation, you won't be able to call the Connect method anymore. If you call this function, nothing happens and LastError will be set.



Q1800015 - What is a 'Distribution License'?

A:

The 'Distribution License' allows you to 'bundle' the toolkit 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 restrictions in functionality of the software, and includes multiline send and receive.

Click here for more information about the ActiveSocket Licensing Scheme.

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.



Q1800017 - How to distribute a Distribution License key to target computers?

A:

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.



Q1800020 - When I buy a license, do I have to pay for future releases?

A:

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 paid for the product.

Read our Maintenance Agreement in PDF format.



Q1800030 - Where can I purchase the product?

A:

For detailed sales information, check the Sales webpage.



Q1800035 - I received an activation key. How do I activate the product now?

A:

There are three ways to activate the product:

  • By running the Setup program - it will ask for the key;
  • By calling the Activate function;
  • By entering the key in the registry manually.

A detailed description is provided in the manual, in chapter 'Purchase and Product Activation'.



Q1800050 - How much does a maintenance contract cost?

A:

During the first (1) year after purchase, Maintenance is free. After this free Maintenance year, Licensee may purchase Maintenance. The price for the Maintenance Agreement is 15% of the price that was paid for the product.

Customers choose between one-, two- and three years Maintenance Agreement renewal. Please read the Maintenance Agreement document for more details.



Q1800060 - How long after a maintenance contract has expired can I renew it?

A:

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.



Q1800070 - Is it possible to obtain the sourcecode of your product?

A:

No, we do not ship or sell the sourcecode of our products.The only sourcecode that is included with our products, are the code samples shipped with toolkits or API’s.