Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress dialog on MODI PROJ
Message
De
11/06/2015 14:36:50
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
11/06/2015 14:24:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01620914
Message ID:
01620917
Vues:
52
>>Hi
>>
>>I knopw I should know it.
>>
>>I have a
>>
>>MODIFY PROJECT (lcFile) NOWAIT NOSHOW NOPROJECTHOOK
>>
>>
>>this raises a dialog to tell me that the prjecthook library is not found.
>>
>>How can I suppress the dialog so that I just can deal with the error?
>
>Open pjx as dbf and delete the record where it mentions the hook?

Nope. It's intended that the vcx is no there. The VCX will be created from a text file.
If I can MODI PROJ I can ask the project for the hook and process the text file.
If this errors I still can parse the PJX as DBF - but this is so boring. :)
Number one best would be to ignore the err - it will open the PJX with all the info, and I don't need the hook in that moment.

it's just
*... create anything that belongs to the pjx (including pjx) except the hook
      MODIFY PROJECT (lcFile) NOWAIT NOSHOW NOPROJECTHOOK
      loProject = _VFP.PROJECTS(JUSTFNAME(lcFile))
      lcFile    = loProject.PROJECTHOOKLIBRARY
      loProject.CLOSE
*.. post process hook
*now pjx is valid
:)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform