Using DLL?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
can any one please help me in the following problem in VB.NET
I am New to VB.NET

The user will enter some details in the Text box. I want to encrypt it and save it as a encrypted text file. Encryption logic is already available in VB.NET, HOw will i create the DLL and use the Dll methods in the VB form.

This will be of very much help to me

Thanks in advanc
V.Boomessh
 
Hi,
can any one please help me in the following problem in VB.NET?
I am New to VB.NET.

I'll try.
The user will enter some details in the Text box. I want to encrypt
it and save it as a encrypted text file. Encryption logic is already
available in VB.NET, HOw will i create the DLL and use the Dll
methods in the VB form.

To use a dll: Add a reference to it to the project and you will be able to
call the methods ... of course you'll have to import the namespace which is
used in the dll as well.

But:

Encryption algorithms should never be written by yourself - the .NET
framework has everything on board ( just have a look at the
System.Security.Cryptography namespace). "Selfmade" algorithms are never
really safe ... you should really use the stuff that comes with the .NET
Framework ( it's basically using the crypto-API of Windows).

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top