473,327 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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.
Nov 7 '15 #1
4 1632
Rabbit
12,516 Expert Mod 8TB
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.
Nov 7 '15 #2
Sweet, thanks.
I got the vba version all working nicely, and can send it to you if you like.

Arthanzar.
Nov 7 '15 #3
Rabbit
12,516 Expert Mod 8TB
That would be great, thanks! You can post it directly to the original article.
Nov 8 '15 #4
zmbd
5,501 Expert Mod 4TB
Actually, I have such a version available... should have posted it to the thread myself :)
Nov 9 '15 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Richard West | last post by:
I have installed the beta of Dot Net Framework 2.0 on my server, running IIS 5 and Win 2K Server. I have configured my test virutal directory to use ASP.NET version 2.0.40607.0 (under the...
5
by: HydroSan | last post by:
Having a bit of a problem getting UPDATE working. The project in question is a simple MySQL VB.NET frontend, allowing Insertion, Selection, and others. Well, I've gotten Drop and Insert working,...
4
by: hohans | last post by:
Hi all, I have an encryption class that encrypts and decrypts password using TripleDESCryptoServiceProvider. It was written originally in framework 1.0 and been working fine. And those...
2
by: Wizumwalt | last post by:
Hey all, I have an apache 2.0.55 w/ php 4.4 on gentoo. When I browse to my url, all it shows is a directory listing so I don't think I have php properly installed because it doesn't seem to be...
1
by: David Horowitz | last post by:
Hi folks, Just set up Dedicated Server Hosting with GoDaddy. I put a very simple ASP page in the home web directory and try to load it and get a very generic error. A simple HTML file works...
8
by: manmit.walia | last post by:
Hello Everyone, Long time ago, I posted a small problem I had about converting a VB6 program to C#. Well with the help with everyone I got it converted. But I overlooked something and don't...
19
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash...
2
by: Kyaw Han Linn | last post by:
I m a novic programmer for php. Now i would like to create a programming code with php to handle for media file. Including storing file, deleting file and opening files. Please guide me how to...
1
by: natebruneau | last post by:
I want the output to look like this Output(good): findme Output(bad) (findme) I am having trouble getting rid of ( and ). I tried adding \x28 and
5
by: Netwatcher | last post by:
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and turning it vice versa, i've been playing with that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.