>What line of code is causing the error exactly?
Jerry,
The event on the main form is causing the error.
**Olecontrol.Mousedown
cParam1 = THISFORM.Text1.value &&<--- error here <---
DO FORM LOCFILE("c:\b3\magnify.scx") WITH cParam1
Thanks, Brad.
He is there and He is not Silent.