Results 1 to 3 of 3

Thread: How to tell if reference is available?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Question How to tell if reference is available?

    I have a program that I use a reference in as a control. This was added in the References section of VB. In my install program I am including the control to be installed also but how can I tell in my VB app if the reference is available on that computer without the whole program bombing out?

    I do this:

    Dim ABC as RefNameHere

    If RefNameHere is not installed, it bombs. Anyone know how to check first?

    Thanks!

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    First thing that springs to mind, is Error Handling.

    If you do it properly, and if for some reason the 'installer' failed to install
    relavent dependancies, then the Error handler will alert the user.




    Bruce.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463
    Thanks. I'm just wondering if I can list or go through the available references at runtime. Anyone know if this is posible? That would solve it perfect.

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