Hi Mike:
I hope you're doing well.
When you say "The task starts to fail", what, do you mean? Is there an error that occurs? Does logic you expect to happen because arg(1)="HI" dpesn't happen?
Just as a thought, are you able to dump the arguments to a text file, which would then be read in "formbg" when it starts up?
Regards
Dave Fullerton