KevinBarnett
2005-01-27, 09:00 AM
Greetings,
I am trying to issue ade functions within VBA (Map 2005) using Frank's VLAX:
retval = obj.EvalLispExpression("(ade_projsetsrc " & _
Chr(34) & ComboBox1.value & Chr(34) & ")")
retval = obj.EvalLispExpression("(ade_projsetdest " & _
Chr(34) & ComboBox2.value & Chr(34) & ")")
retval = obj.EvalLispExpression("(ade_projptforward " & _
"(list " & Trim(TextBox1.Text) & " " & Trim(TextBox2.Text) & "))")
But it does not appear to respond.
I have a feeling that this line in the class:
Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.16")
is only loading the base lisp and not the ade's.
Does anybody know the solution?
Thanks,
Kevin.
I am trying to issue ade functions within VBA (Map 2005) using Frank's VLAX:
retval = obj.EvalLispExpression("(ade_projsetsrc " & _
Chr(34) & ComboBox1.value & Chr(34) & ")")
retval = obj.EvalLispExpression("(ade_projsetdest " & _
Chr(34) & ComboBox2.value & Chr(34) & ")")
retval = obj.EvalLispExpression("(ade_projptforward " & _
"(list " & Trim(TextBox1.Text) & " " & Trim(TextBox2.Text) & "))")
But it does not appear to respond.
I have a feeling that this line in the class:
Set VL = ThisDrawing.Application.GetInterfaceObject("VL.Application.16")
is only loading the base lisp and not the ade's.
Does anybody know the solution?
Thanks,
Kevin.