Results 1 to 2 of 2

Thread: Installing a module and once detected, activates

  1. #1

    Thread Starter
    Hyperactive Member jokerfool's Avatar
    Join Date
    Dec 2006
    Gold Coast, Australia

    Installing a module and once detected, activates

    I am not sure how to even do this or if its even possible.

    In my main application in the menu I would like to add the word Update (But greyed out)

    When you run the application and check the menu you can see the word Update, if you click on it, nothing happened, greyed out.

    However, if I was to install an updater create elsewhere, so this time when the main application is run it detects a file abc.dll which is the updater utility and displays the updater.

    Is this possible to do and how would I go about doing this?

    All I need to know is the code to enter into the main application. I've got the updater set aside for this.

    Thank you.

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005

    Re: Installing a module and once detected, activates

    Do you mean you want to detect if abc.dll has been loaded into the current appdomain you're able to all its methods, or do you mean you simply want to check if abc.dll exists?

    To check if it exists, you can use File.Exists (https://docs.microsoft.com/en-us/dot...tframework-4.8)

    To check if a namespace has been loaded into the appdomain, you can get the current loaded assemblies and see if yours exists using


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width