Results 1 to 4 of 4

Thread: please help

  1. #1
    Guest
    In an API callback, the LIB argument is a String containing the name of the DLL you are using. VB looks for this DLL in the windows/system directory. Is there a way for me to tell VB to look in a directory relative to the project?

    There is no way for me to know what Drive this project will be on so the only way for me to be sure that this works is for me to use a relative path to the DLL.

  2. #2
    Lively Member
    Join Date
    Sep 1999
    Location
    u.s.a
    Posts
    127
    "Ani sone dardasim ......."

  3. #3
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Y not go with the flow?

    Hi gargamehl.

    I don't have an answer to your question, but I'm just wondering why you don't want to put the DLL in the Windows/System directory where it belongs? It seems that you would save yourself a lot of trouble if you do so.

  4. #4
    Guest
    The reason is that I want this app to be non-intrusive. Etiquette dictates that I ask the user before I go an install anything on his computer (except of course in the issue of webpages but even then signatures give users the options to decide on if they trust content). The app is going to be packaged on a CD for distribution. I just want the app to launch at runtime without having the user to have to install anything (i've already but all the VB dependent dll's in the same directory).

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