private
{
Type theFunctionType = Type.GetType("XMLTree1.Form1");
Type[] paramTypes =
MethodInfo funcInfo = theFunctionType.GetMethod( e.Node.Tag.ToString(),paramTypes);
Object[] parameters =
}
}The problem is when the funcinfo.Invoke is executed I get the following exception..."An unhandled exception of type 'System.Reflection.TargetException' occurred in mscorlib.dll
Additional information: Object does not match target type."Can someone help please I am stuck to why this occurs..Thanks