>>There is nothing to stop you from creating, modifying, and saving an object from withing a code segment.
>
>Apart from the fact that you can't use WriteMethod while your program is running - ONLY while the class or form designer is running.
>
>> So while you are doing this, you can call, from within your codes, the object's WriteMethod, WriteExpression methods to modify methods and properties.
>
>To modify a property, you just change its value.
>
>
>> Then you can save the object by using it's SaveAs or SaveAsClass methods. After saving this object, you can then turn around and instantiate it.
>
>But not in a runtime environment, from a .APP or .EXE because there is no way to COMPILE the code you have just written.
Good points.
Paul
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement