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:
01015141
Views:
27
Your code works ok as a prg or as a plain exe.
But here's the problem: my project is built as a custom OlePublic class so I can call it as an automation server from another mtdll. If I try something to add your class definition like the following and build into one exe I will get an error on the Report form line the error is ".F. is not an objecdt 1924"
Define class getthehtml as Custom OlePublic
...
loListener = CREATEOBJECT('oListener')
Report Form budget.frx Object loListener
lc=FiletoStr(loListener.targetfilename)
RETURN lc
enddefine

DEFINE CLASS oListener AS HtmlListener OF (HOME()+"FFC\_reportListener.vcx")
  ListenerType = 5  && Not Sure if this is needed
  OutputType   = 5  && Not Sure if this is needed.
  quietmode    = .t.
  PROCEDURE GetPageHeight()
    RETURN 960*11
  ENDPROC
  PROCEDURE GetPageWidth()
    RETURN 960*8.5
  ENDPROC
ENDDEFINE
I need to have the reclassed oListener code in a separate dll maybe ???
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