Missing .dll file RRS feed

  • Question

  • My software needs a .dll file, usgsNewTHandlerW32.dll, which is placed by a Declare statement in the VBA code:

    Public Declare Sub SetTerrainPaths Lib "usgsNewTHandlerW32.dll" (.....).  But, even though the file is sitting in the same folder, starting at you in the face, I get the message: "Cant find file usgsNewTHandlerW32.dll".  I did copy and paste it into the System, System32 and SystemWOW64 directories.  No go.  Conclusion: has to get into Register.  Or is there a conflict somewhere.  Guy next door with same computer and system gets it all the time.  Any advice?

    • Moved by Youen Zen Thursday, May 10, 2012 7:10 AM Not VB issue (From:Visual Basic Interop and Upgrade)
    Wednesday, May 9, 2012 4:01 PM

All replies

  • Hi Vpsi1,

    Welcome to the MSDN forum.

    This is a VBA issue, in order to give you a better support; I will move it from “Visual Basic General” forum to “Visual Basic for Applications (VBA)” forum.

    Thank you for your understanding!

    Best regards,

    Shanks Zen
    MSDN Community Support | Feedback to us

    Thursday, May 10, 2012 7:10 AM