By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,345 Members | 2,404 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,345 IT Pros & Developers. It's quick & easy.

Using DLL?

P: n/a
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
Nov 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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,

--
Frank Eller [.NET MVP]
www.frankeller.de
..NET Developers Group Munich- www.munichdot.net
Nov 22 '05 #2

P: n/a
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,

--
Frank Eller [.NET MVP]
www.frankeller.de
..NET Developers Group Munich- www.munichdot.net
Nov 22 '05 #3

P: n/a
Thanks, I will try out that .

V.Boomessh
Nov 22 '05 #4

P: n/a
Thanks, I will try out that .

V.Boomessh
Nov 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.