dcsimg
Results 1 to 5 of 5

Thread: Please help: How to find the path of a DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    15

    Please help: How to find the path of a DLL

    I am working on the xls file that uses dlls from the network. I want to check to what locations to dll entries refer since there might me multiple instances of these dlls around. Does anyone know how to get the path to a specific dll or ocx from the registry?

    Any help is much appreciated!
    Denis

  2. #2
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: Please help: How to find the path of a DLL

    which dll's are you looking for?

    becasuse you might be able to get where the system gets it's dll's/ocx's using %path%, but i am not sure if that will show you where all the crucial files are stored, or only where the dll's, ocx's are stored.
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    15

    Re: Please help: How to find the path of a DLL

    I was looking for a dll that my software installs. But since it installs it on the network, I want to push it out to the machine that launches it if it does not have dlls yet. How do you use this path variable?

    Thx a lot,
    Denis

  4. #4
    Lively Member vbgamer45's Avatar
    Join Date
    Sep 2004
    Posts
    67

    Re: Please help: How to find the path of a DLL

    You can check the registry they are located in
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{GUID of DLL or OCX}

    You need to know the GUID of the OCX or DLL though I use this to find out version information on a file, the file path, or to get the toolbox bitmap.
    Semi VB Decompiler 0.07 Getting better everyday
    http://www.visualbasiczone.com/produ...ivbdecompiler/
    VisualBasicZone
    http://www.visualbasiczone.com
    EasyPHPBB.com
    Free PHPBB forums the quick and easy way!

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    15

    Resolved Re: Please help: How to find the path of a DLL

    Thanks vbgamer45. I am doing this but from Excel VBA and for some reason it does not like when I call RegQueryValueEx API and crashes regularly. So I thought maybe there is an API that it would like better... Thanks for your response anyway!
    Last edited by Denis M; Jan 25th, 2005 at 12:44 PM.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width