TheSwamp

Code Red => .NET => Topic started by: www1970 on September 25, 2006, 09:21:48 PM

Title: how to make a cammand with a parameter(VBNet)
Post by: www1970 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
Title: Re: how to make a cammand with a parameter(VBNet)
Post by: Alexander Rivilis on September 26, 2006, 03:06:02 AM
http://through-the-interface.typepad.com/through_the_interface/2006/09/passing_argumen.html
Title: Re: how to make a cammand with a parameter(VBNet)
Post by: www1970 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"
Title: Re: how to make a cammand with a parameter(VBNet)
Post by: Alexander Rivilis 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.
Title: Re: how to make a cammand with a parameter(VBNet)
Post by: www1970 on September 26, 2006, 09:02:04 PM
tanks! :-(