Click here to Skip to main content
13,087,566 members (93,607 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I down loaded the code from the article: Easy Amazon EC2[^] It was very helpful. I "transalted" much of the code from C# to VB so I could use it in my VB projects.

1. I am not sure how to transfer the code in the "opensslkey.cs" sheet. Should I make this a module in VB or what. It has a "Java Science" namespace identified. Not sure what to do with that either.

2. The significant question is, how to use it? How do I create folders and files on the cloud? How do I open and close them, etc... All the standard data processing needs.
Posted 10-Nov-12 14:14pm
Jason Gleim 10-Nov-12 22:24pm
I can't speak to Amazon but I just wrote an article on using Google Drive. I imagine must of the process is the same once you get past the authentication specifics. So I would suggest looking at the amazon API documents. The google api docs were a huge help. And, In the case of Google, there was a .net library that implements all the functions.

Second, you don't have to convert everything to vb. You can add a second project into your solution, make it a c# library, then add the code files for the 'overhead' stuff. Add a reference to it in the vb project and all those classes become available in vb for your consumption. You don't need the source code for opensslkey... just the classes it exposes. So wrap them as-is and just use the resulting dll. Don't be afraid of c#... it is just vb with semi-colons. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100