Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing reports in another EXE....
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00473593
Message ID:
00473614
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform