Author Topic: how to make a cammand with a parameter(VBNet)  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

www1970

  • Guest
how to make a cammand with a parameter(VBNet)
« on: September 25, 2006, 09:21:48 PM »
 <CommandMethod("TEST1")> _

    Public Sub SendStringToExecuteTest()

       。。。。

    End Sub

if I want make "test1" can get a parameter, how to carry out

Alexander Rivilis

  • Bull Frog
  • Posts: 212
  • Programmer from Kyiv (Ukraine)

www1970

  • Guest
Re: how to make a cammand with a parameter(VBNet)
« Reply #2 on: September 26, 2006, 04:02:44 AM »
thanks!
 but I want to input a parameter which is a user define type , like a dialogbox .

or is this purpose:
    I make a common Lib--include myseleft defined drawing function,now I want load it in Windows EXE application, How to carry out? Example my common lib is A, it clude a Function B, Now my Exe application give UI to get parameters, give them to A, Let A.B carry out function. because A
is a lib use "Managed Class ", when define A instance, it show "can not find the directory"
« Last Edit: September 26, 2006, 04:24:18 AM by www1970 »

Alexander Rivilis

  • Bull Frog
  • Posts: 212
  • Programmer from Kyiv (Ukraine)
Re: how to make a cammand with a parameter(VBNet)
« Reply #3 on: September 26, 2006, 08:33:47 AM »
From Windows exe-application you may not use function from ObjectARX .NET API. It can be called only from netload'ed dll-file. If you want using external exe-file you need explore ActiveX (COM) model of AutoCAD.

www1970

  • Guest
Re: how to make a cammand with a parameter(VBNet)
« Reply #4 on: September 26, 2006, 09:02:04 PM »
tanks! :-(