Results 1 to 10 of 10
  1. #1
    Phil_Howes is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    5

    Library Finder

    Hi

    I am trying to find a method of identifying which library a function is associated with.. This is not a specific function but functions in general. For instance. When using code snippets from websites. Posters NEVER include the libraries required. The VBA object browser will not find the library unles the library has aleady been added in which case you dont need to find it.



    Can anyone suggest a robust solution to this?? Many people must have come accross this problem.. Has no one got a solution?? Prefferable one that you don't have to throw money at!!!

    Regards

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    Can you give a specific example of the problem?

    Are you talking about References? http://allenbrowne.com/ser-38.html

  3. #3
    Phil_Howes is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    5
    Yes
    Those are the references I am taking about.. For example. If I want to use the DAO.querydefs function I have to include the Microsoft DAO 3.6 Object Library in the references.. However, If I find some code that I want to use that uses the dao.querydefs function, unless I have ALREADY added the Microsoft DAO 3.6 Object Library I cannot find which library this function is from.. I wnat to know how to find, from a given function, which library I need to include.

    Hope this is making Sense.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

  5. #5
    Phil_Howes is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    5
    Thanks , but I have already looked at thes pages..

    They cover the general stuff but I am coming accross things like "GetFirstInstallDate" . It is in a Vendor Specific Library "SystemInformationLib" . These sort of functions aren't covered by the general windows/access/office libraries.

    Thanks for the info

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I'm not clear on your issue.
    When you create vba, you typically store it in modules in your database. And your documentation will/should identify that.
    You may have a Library.mda type file and reference that.
    As for third party libraries, they probably come with installation and maintenance instructions. You may have to deal with vendors/suppliers.

  7. #7
    R_Badger is offline Knows a few tricks
    Windows XP Access 2003
    Join Date
    Feb 2012
    Location
    Suffolk, UK
    Posts
    262
    What I think he means is if he came across a piece of code similar to what is below but without the guide associated to it, how would he know what references he would need:

    http://www.jephens.com/2007/05/13/ho...using-outlook/

  8. #8
    Phil_Howes is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    5
    R_Badger.. Thats right.. If I came across some code on the internet that said it would perform a task that I needed but didn't include which libraries were needed.. How do you find out which library the Classes , methods and functions are from?

    Example:- IOSInfoService.. I want to use this class.. How would you find which library it is in?? ( I know the answer on this occasion but how would you find the answer)>>

    Phil

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I would try google IOSInfoService which results in

    http://xpdll.nirsoft.net/ipnathlp_dll.html
    http://www.win7dll.info/

    But generally the library/reference is with the documentation.
    I guess, bottom line, you use the supplier; Google; general forums; or specific forums if it a very special library/area of study.

  10. #10
    Phil_Howes is offline Novice
    Windows XP Access 2003
    Join Date
    May 2012
    Posts
    5

    Thanks for the Info

    Quote Originally Posted by orange View Post
    I would try google IOSInfoService which results in

    http://xpdll.nirsoft.net/ipnathlp_dll.html
    http://www.win7dll.info/

    But generally the library/reference is with the documentation.
    I guess, bottom line, you use the supplier; Google; general forums; or specific forums if it a very special library/area of study.
    Thats great thanks.. It is a big help in finding which libraries I need to include.

    Phil

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Need help creating library report
    By iansan5653 in forum Reports
    Replies: 5
    Last Post: 01-31-2012, 06:23 PM
  2. Lending Library help
    By sarahlou89 in forum Access
    Replies: 3
    Last Post: 12-12-2011, 08:29 AM
  3. Check Out - Lending Library
    By Surferboy1500 in forum Access
    Replies: 2
    Last Post: 05-30-2011, 09:05 AM
  4. library statistics
    By sonia in forum Access
    Replies: 1
    Last Post: 04-11-2010, 12:22 PM
  5. Stores Library
    By martyparty2006 in forum Forms
    Replies: 5
    Last Post: 05-05-2009, 09:16 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
  •  
Other Forums: Microsoft Office Forums