• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 64
    Registered: ‎08-13-2008
    Accepted Solution

    DIESEL Menu Command for .Net Command Loading

    157 Views, 3 Replies
    04-23-2012 12:39 PM

    I'm trying to figure out how to create a DIESEL menu command that will check whether or not a .Net command exists.  If so, then run the command, if not run the netload command and then run it.  I'm trying to not netload it every single time the user runs the menu item.  Once loaded, I want to leave it loaded.  In fact, this particular .Net application automatically sets the registry up for demand loading.  So it only needs to run the netload the user's first time running. 

     

    Does anyone know how to do this?  Any help much appreciated....

    Please use plain text.
    Valued Contributor
    Posts: 64
    Registered: ‎08-13-2008

    Re: DIESEL Menu Command for .Net Command Loading

    04-25-2012 01:56 PM in reply to: bjhuffine

    Is anyone interested in helping with this?  I didn't see any forums (unless I've overlooked them somewhere) for this... any help would be appreciated. 

    Please use plain text.
    Moderator
    Alexander.Rivilis
    Posts: 1,168
    Registered: ‎04-09-2008

    Re: DIESEL Menu Command for .Net Command Loading

    04-25-2012 10:36 PM in reply to: bjhuffine

    DIESEL can not help you. Lisp function (getcname "CommandName") can help you. It it return nil - dll-file which define command "CommandName" is not loaded.


    Пожалуйста не забывайте про Утвердить в качестве решения!Утвердить в качестве решения и Give Kudos!Баллы
    Please remember to Accept Solution!Accept as Solution and Give Kudos!Kudos

    Please use plain text.
    Valued Contributor
    Posts: 64
    Registered: ‎08-13-2008

    Re: DIESEL Menu Command for .Net Command Loading

    04-26-2012 06:01 AM in reply to: Alexander.Rivilis

    Great little command for this!  Worked like a charm.  Thank you! :smileyhappy:

    Please use plain text.