Results 1 to 3 of 3

Thread: Declaring Api

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258

    Declaring Api

    Is there a way When declaring a API To use App.Path For the Location of the library Without using Load Library API?

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    The Declare statement will search for the library in App.Path by default... That is, if the library could not be found in the system directory

    For more information about how VB searches for the library, see the documentation for LoadLibrary... VB immediately calls LoadLibrary so it's pretty much the eXact same thing.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    I am Using a declar on a OCX File And it doesn't get it from the App.Path

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