Task bars have different names
For example, if wexist('Form Designer')
release window 'Form Designer'
endif
if wexist('Standard')
.... etc
Yo may have this data in VFP resource file, which keeps this memory about toolbars
Delete this file near your exe
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.