Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1958 w/ object assisted repo form + no printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01014730
Message ID:
01017365
Views:
16
I have found that I can't deploy code that trys to use the _reportlistener.vcx.

The following code produces the report using the vfp classes on my development machine but does not when deployed to a test machine.
    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
If I can get this figured out then I can subclass the htmllistener and do what you suggested.
I haven't had any luck yet

I Shield redistributables include: Gdiplus.dll, msvcf71.dll, MSVFP 9 Report Apps, MSVFP 9 Runtime Libs and MSXML4.0 twice.
Paul Emery
theoakgrove@lansing.com
the Oakgrove Computer Group, Inc.
Grand Rapids, Michigan, USA
1-616-456-7133
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform