Results 1 to 7 of 7

Thread: Path of All Referenced Components and Libraries

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Path of All Referenced Components and Libraries

    I know how to do this in VBA but I can't remember how to do it in VB6.
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

  2. #2
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    671

    Re: Path of All Referenced Components and Libraries

    VBP files + Notepad = ...

    Regards, Phill W.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Re: Path of All Referenced Components and Libraries

    Was hoping to get the list during run time so that I know which dll is being run from my exe.
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

  4. #4
    Addicted Member Wolfgang Enzinger's Avatar
    Join Date
    Apr 2014
    Location
    Munich, Germany
    Posts
    141

    Re: Path of All Referenced Components and Libraries

    Quote Originally Posted by Liquid Metal View Post
    I know how to do this in VBA but I can't remember how to do it in VB6.
    In VBA you would use the References collection of the Application object.

    In VB6 I guess it's impossible since there is no Application object.

    Wolfgang

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Re: Path of All Referenced Components and Libraries

    I believe you are right Mr. Wolf. I was up all night looking what to assign to VBEditor. In Excel, it would be:

    Set VBEditor = application.vbe.activeproject

    In VB, there is no application.
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

  6. #6
    Addicted Member
    Join Date
    Jun 2002
    Location
    Finland
    Posts
    159

    Re: Path of All Referenced Components and Libraries


  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Re: Path of All Referenced Components and Libraries

    I will check it out tonight. Thank you
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

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