Your Main.PRG. shall start with the following line...
=myInstance("A name for your Application"
Then uust copy the following code and add it at the end of your main.prg.
******************************************
PROCEDURE myInstance
PARAMETERS myApp
=ddesetoption("SAFETY",.F.)
ichannel = DDEINITIATE("myapp","ZOOM"

IF ichannel =>0
=DDETERMINATE(ichannel)
QUIT
ENDIF
=DDESETSERVICE("myapp","define"

=DDESETSERVICE("myapp","execute"

=DDESETTOPIC("myapp","","ddezoom"

******************************************
PROCEDURE ddezoom
PARAMETER ichannel,saction,sitem,sdata,sformat,istatus
ZOOM WINDOW SCREEN NORM
RETURN
*****************************************
The code was provided by another tek-forum member Nigelgomm and I have just polished it with my wraping. See thread thread182-81006 My appreciation to Nigelgomm. ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
