>>How can I have the EXE run the scx in a specific folder rather than the one compiled in the EXE...
>
>Not sure this will help, but have tried excluding the one that is being compiled in the EXE to see if that would make a difference?
>
>Mel Cummings
Hi Mel, I used a workaround, it aint't elegant but hey... it's working.
by excluding the screens from the EXE I would have to include all of the forms in the package to distribute and that, we don't want.
the workaround is as follow :
IF DIRECTORY(SYS(5)+SYS(2003)+'\Forms\',1)
IF FILE(SYS(5)+SYS(2003)+'\Forms\_'+m.cClass)
m.cCommand = 'DO FORM "' + SYS(5)+SYS(2003) + '\Forms\_' + m.cClass + '" NAME m.oInstance LINKED NOSHOW'
ELSE
m.cCommand = 'DO FORM "' + m.cClass + '" NAME m.oInstance LINKED NOSHOW'
ENDIF
ELSE
m.cCommand = 'DO FORM "' + m.cClass + '" NAME m.oInstance LINKED NOSHOW'
ENDIF
as I was saying, it's not quite what I wanted but this way I don't have to recompile and redistribute the app each time a mod is made.
Thanks anyway and have a nice day.
Yanick
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only