Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call updated prg/frx/scx that is outside application
Message
De
10/12/2009 05:47:34
Freddie Rodrigues
Bitrun Business Solutions
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to call updated prg/frx/scx that is outside application
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01438358
Message ID:
01438358
Vues:
172
Most often I need to make some quick changes to a specific prg / frx / sct which is in the application / exe. How can I achieve the same without having to completely regenerate the application.

I would have liked the same to be achievable as in the sample code below.

In the example < olw > is the on-line working folder, in which I place the recent changes.
clear all
set talk off
set path to olw,spf,rfs
mChoice = 'A'
do while .t.
 @ 10,10 say "Choice:"
 @ 10,18 get mChoice pict "@m A,B,C,D"
 read
 if inlist(readkey(),12,268)
  exit
 endif
 do case
 case mChoice = "A"
  if file('olw\choicea.fxp')
   do olw\choicea
  else
   do choicea
  endif
 case mChoice = "B"
  do iif(file('olw\choiceb.fxp'),'olw\choiceb','choiceb')
 case mChoice = "C"
  do choicec
 case mChoice = "D"
  do choiced
 endca
enddo
close all
clear all
Is this the right approach. Can someone guide me on this.

Thanks
Helping hands are better than praying lips.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform