newObject from VCX not working

Topics: User Forum
Feb 15, 2014 at 5:55 PM
Hi Sir,

I am trying this code :
    SET CLASSLIB TO "D:\TESTAVFP\_REPORTLISTENER.VCX" ADDITIVE
    oHTML = NEWobject("HtmlListener", "_REPORTLISTENER.VCX")
    oHTML.targetFileName = "D:\TEMP.HTM"
This works in the VFP IDE

In the browser :-
I am getting an error oHTML is not an object from activevfp.dll at line number 3.

is oHTML = newObject("HtmlListener", "_REPORTLISTENER.VCX") not supported?