Getting AES encryption working.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arthanzar
    New Member
    • Nov 2015
    • 2

    Getting AES encryption working.

    Hi Rabbit,
    I've had a look over your A.E.S. encryption (AES Encryption Algorithm for VBA and VBScript), thanks for posting this. You wrote that it should run in V.B.A., however as posted, it doesn't. Using Option Explicit would have helped. I've working out most if the changes needed to make it work, except oPW; what variable type should this be?

    Arthanzar.
    Last edited by zmbd; Nov 9 '15, 04:46 AM. Reason: [z{placed the URL-tags - and mangled the link :( - Fixed it :) }]
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    The thread has been moved to the Access / VBA forum.

    Sorry about it not working directly as posted. It was developed in VBScript and when I posted it to the VBA forum, I made a few changes but did that from home where I don't have Microsoft Office.

    The original vb script does have Option Explicit. But all the variables are defined so that wouldn't have pointed out any undefined variables.

    oPW is a text box on a form. It's a string that holds the password you want to use to encrypt the file.

    Comment

    • Arthanzar
      New Member
      • Nov 2015
      • 2

      #3
      Sweet, thanks.
      I got the vba version all working nicely, and can send it to you if you like.

      Arthanzar.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        That would be great, thanks! You can post it directly to the original article.

        Comment

        • zmbd
          Recognized Expert Moderator Expert
          • Mar 2012
          • 5501

          #5
          Actually, I have such a version available... should have posted it to the thread myself :)

          Comment

          Working...