You cannot. VFP will always execute the ones included in the EXE/APP regardless of the path specified. Even if it was possible, the excluded FXP/SCX will not see other components included in the EXE/APP like class libraries, forms, reports etc.
>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
--sb--