Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing reports in another EXE....
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00473593
Message ID:
00473614
Views:
20
Hi!

You might solve this problem by saving report files into disk from exe file and run them from disk. In the exe containing reports make a routine that will do this (it must be together with files in the same EXE). Following is a sample of how to save file from exe to disk:

select 0
create cursor temp (mTemp M)
append blank
append memo from (filename.frx) overwrite
strtofile(mTemp, 'C:\TEMP\filename.frx')
append memo from (filename.frt) overwrite
strtofile(mTemp, 'C:\TEMP\filename.frt')
use

Just an idea, I don't know if it will work...

HTH.

>Hello All,
>
>I have a framework which is divided into four seperate executables. I am having a problem acessing reports that are included in executables if the class calling the report is not in the same executable. Does anyone know how to do this?
>
>The NewObject method is perfect for building such a framework. Is there a similar method or way to access reports in the same manner?
>
>Thanks,
>Will
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform