Unit Testing, Agile Development, Leadership & .NET - By Roy Osherove
If I create a text file with the script commands in it, how should I best load and execute the script in that file.
To make this work in VB2005, change your class definitions:
<ComVisible(True)> Public Class ClassNameToAddToScriptControl
to enable .AddObject for a class.
Great article - this is just what I was looking for. Was having an issue with the AddObject until I added this <ComVisible(True)> works fine now....
This is definately an interesting article. However, since the article was first published, other alternatives have been introduced. A good (and surprisingly easy) example is hosting IronPython within your application.