Execute the Code
Open your favorite browser and type http://localhost/phpnet.php to see the PHP file in action
Using COM Interop in VB6
You could use the same steps as shown above to create a COM wrapper around the .NET assembly and use it in VB6, here is the code for your reference.
Set MyObj = CreateObject("phpclass.HealthRecord.patient") MyObj.lmp = "05/08/2002" MsgBox "LMP : " & MyObj.lmp MsgBox "EDD : " & MyObj.edd
Un-registering the Type Library
To un-register the type library, run regasm with /unregister switch and the assembly path.
regasm /unregister c:/tgol/phpclass/bin/phpclass.dll