thanks.
could you please repost that code with smilies disabled?

also, where do I put the shellexecute code?

and for the "Hello.doc" part. since I am opening the file from someone dbl clicking it... what will I put there?