Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deploying htmllistener in a exe
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Deploying htmllistener in a exe
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017368
Message ID:
01017368
Views:
56
I have found that I can't deploy code in a com object that trys to use the _reportlistener.vcx. For example:

The following code produces the report using the vfp classes on my development machine but does not when deployed to a test machine. Instead lolistener = .f.
    define class getstream as custom OlePublic
    . . . 
    lctheoutput=""
    loListener = .null.
    Set Classlib To _reportlistener.vcx Additive
    loListener = Createobject("htmllistener")
    IF TYPE("lolistener") <> "O" then
         CLOSE TABLES all
         RETURN "Createobject('htmllistener') does not create an Object"
    ELSE   
    Report Form regionbudget.frx Object loListener
    lctheoutput=Filetostr(loListener.targetfilename)
    return lctheoutput
    . . . 
    enddefine


The project includes classes: _htmllistener.vcx and _fixcursor.vcx

I Shield redistributables include: Gdiplus.dll, msvcf71.dll, MSVFP 9 Report Apps, MSVFP 9 Runtime Libs and MSXML4.0 twice.

Any help would be greatly appreciated. I am greatly stuck.
Paul Emery
theoakgrove@lansing.com
the Oakgrove Computer Group, Inc.
Grand Rapids, Michigan, USA
1-616-456-7133
Reply
Map
View

Click here to load this message in the networking platform