CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    8

    Path from the Com Dll

    Hi,

    How can i get the actual path from my registred Com dll within my programm??
    With _fullpath(...) i will only get the path of the calling VB exe.

    Chris


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Path from the Com Dll

    if you ask for app.path inside your dll
    (ie: public function retrivemypath() as string
    retrivemypath=app.path
    end function)
    you should (sorry, I cannot test it now!) retrieve the path where your dll is running for your exe.
    Hope this is enough (let me know)


    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured