hi
i found a way to include an external dll where i can store some
functions i want to use in the vb component...
it works! but more! and thats the problem....
GH_VB:
Sub RunScript(ByVal y As On3dPoint, ByVal x As On3dPoint)
Dim asm As System.Reflection.Assembly =
System.Reflection.Assembly.LoadFile("c:\lib.dll")
Dim class01 As Type = asm.GetType("lib.class01")
Dim obj As Object = asm.CreateInstance("lib.class01", True)
' function: move vertex along line by distance
Dim VertexMove As System.Reflection.MethodInfo = class01.Getmethod
("vertex_move")
Dim param() As Object = {x,y,70.9}
Dim z As On3dPoint = VertexMove.Invoke(obj, param)
A = z
End Sub
somebody an idea for an practical and SMART solution to use functions
from an external file? because that cannot be the right way....
Johannes