>>Trey,I pasted it in and ran it. Is the form supposed to run normally or am I supposed to modify it. It appears to be in the modi state and the form never releases even when I hit cmd1 button, instead it is in modi state.
>
>Exactly.
>The WriteMethod() method only works at design time, so the form is in a design state.
>
>The point was not to run the form, but to illustrate how WriteMethod() works.
>
>Add the following code to the bottom of the previous code to run it automatically.
>
Keyboard "{ENTER}"
>Do form myform
That worked, however will it suit my purpose? I was trying to create a small informational form on the fly(programatically) from within another form and have a button on it for release. Probably not my best option? Still can't figure out how doing it the way you showed me would be useful.
PS, I live in Walpole, MA..
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."