.NET
automate.txt
Associated article: Automation Interfaces & .NET Applications
Tags: .NET
Published source code accompanying the article by Scott Swigart in which he builds interfaces for .NET executables that use automation interfaces from other applications. Also see AUTOMATE.ZIP.
Automation Interfaces & .NET Applications
by Scott Swigart
Listing One
public class LineCountFactory
{
public static ILineCountApplication Create(string appPath, bool visible)
{
Assembly assembly = Assembly.LoadFile(appPath);
Type t = assembly.GetType("LineCount.Form1");
Object instance = Activator.CreateInstance(t);
ILineCountApplication ...


