I can't tell you how, but SageMMS does exactly this, customisation scripts
are dropped in a specific folder and read by a specific Sage DLL. Curiously,
the scripting language is VB.NET, but Sage MMS is written in C#, so the
resulting script is case-sensetive - eeww!
Each script must share the name of the module to which it applies, and
conform to:
module addInModule
public sub main
...blah...
end sub
end module
Perhaps while giving no help at all I shown it is possible...
Good Luck
"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi
Is it possible for a .net app to load vb.net source at runtime and run it,
like any other scripting language? Basically I want the advanced app users
to be able to add vb.net code of their own to the app to customise its
behaviour such as additional event trapping, setting some defaults for
fields before a record is saved etc.
Thanks
Regards