Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900