Contact Info

Crumbtrail

ActiveXperts.com » Support » Network Component Component » KB Article

Knowledge Base FAQ Items

 

Browse "PHP" Questions:
Q1660020: I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught Error: Class "COM" not found in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?
By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file: extension=php_com_dotnet.dll Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid errors like "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php". To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode: REGSVR32 AxNetwork32.dll REGSVR32 AxNetwork64.dll
Network Component > PHP

Q1660030: I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught com_exception: Failed to create COM object 'AxNetwork.DnsServer': Invalid syntax in C:\Xampp\htdocs\networkcomponent\index.php". What's wrong?
First of all, COM is enabled on Xampp, so there's no need to modify PHP.INI. The problem is that the ActiveXperts COM component is not registered. Best is to register both 32-bit and 64-bit DLL's, so you're not dependent on the type of web-application or Xampp version (32/64 bit). The 32-bit and 64-bit ActiveX controls can both be registered at the same time without a conflict. So, make sure you register both 32-bit and 64-bit DLL's from the command line in Admin mode: REGSVR32 AxNetwork32.dll REG...
Network Component > PHP

Q1660010: How do I use the ActiveXperts Network Component objects in my PHP code?
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.
Network Component > PHP

ActiveXperts Error Codes

Click here to view the full list of ActiveXperts error codes

Contact Support

To contact the ActiveXperts Help Desk, click here.