Hi Michael
>Has anyone ever used the 'WriteMethod' method. I am trying to get a better understanding of it. The help says that it is used to write specified text to a specifid method. I understand that but what confuses me is that it is only available during design time..... Thanks.
As has been pointed out by others, the intention of WriteMethod() is so that you can programmatically add code to methods when creating objects in builders. This is not intended for run-time use and, in fact, there is no way to actually add code to a method at run time.
If this is what you are wanting to do, the best solution is to define a method that checks for the existence of, and runs when appropriate, a specific programme. You can create and compile programs at runtime very easily...
----
Regards
Andy Kramek