Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic READ EVENTS stuff
Message
De
22/06/2009 12:19:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01407483
Message ID:
01407601
Vues:
56
>>Sergey:
>>
>>Thanks for all the info.
>>
>>I'm making painful progress. I now have CLEAR EVENTS in the 'Close' button:
>>
>>
>>Thisform.Release()
>>CLEAR EVENTS
>>
>>
>>and READ EVENTS in the controlling program:
>>
>>
>>DO FORM c:\posprgs\utils\skud.scx
>>READ events
>>
>>
>>BUT, the following code works in the IDE, but not in the EXE. It is in a button called 'List Dupes', which is supposed to display a text file created in another button.:
>>
>>
>>Thisform.ListDupes()
>>
>>
>>
>>*Method ListDupes - doesn't seem to execute
>>LOCAL lcPath
>>
>>lcPath = ADDBS(justpath(FULLPATH(thisform.FileName)))
>>MODIFY FILE (lcPath + 'SKUDUPES.TXT') NOEDIT 
>>
>>
>>
>>It's the MODI FILE that is not execcuting - I put in some WAIT WINDOW commands.
>>
>Try to specify a window with define window to view the file (MODI FILE ... in WINDOW).
>
>Alternatively you can call Notepad with ShellExecute to view the file, but then you would need to set file attribute read-only first.
>
>>One more problem: In the task manager I still see the EXE file exen after I close with thisform.release()
>>
>Make sure to add QUIT as the last line in your main program.

Why doesn't the MODI FILE work?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform