472,119 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

File Editing with VB - Is this possible?

Hi All,

Please help me in the following problem.

I am having some files with AVI extension. I want to make two programs in
Visual Basic .NET which will work with these AVI Files. One program should
work as encrypter and another program should work as decrypter.

The frist program, encrypter should lock (the user should not be able to
open) any AVI file by editing the file. The second program, decrypter should
unlock (the user can be able to open) the encrypted file.

The editing (encryption) of the file can be done by any process or any
method. The only thing i need here is the user should not be able to use or
unlock that AVI file with out the second program (Decrypter).

Please help me, whether this Encrypter and Decrypter are possible in
Visual Basic .NET or not. Is there any other option to encrypt or decrypt
AVI Files?

With Regards,
Vanga Sasidhar
Nov 21 '05 #1
4 2464
There is Crypto classes available in the framework that would make this
simple. All you have to do is read the file in as a stream of bytes then
write it back out encrypted. Do the reverse to decrypt.

Here is a link to a very simply way to do it:

http://www.vb-helper.com/howto_net_des_file.html
"Vanga Sasidhar" <va***@hotmail.com> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...
Hi All,

Please help me in the following problem.

I am having some files with AVI extension. I want to make two programs in Visual Basic .NET which will work with these AVI Files. One program should
work as encrypter and another program should work as decrypter.

The frist program, encrypter should lock (the user should not be able to open) any AVI file by editing the file. The second program, decrypter should unlock (the user can be able to open) the encrypted file.

The editing (encryption) of the file can be done by any process or any
method. The only thing i need here is the user should not be able to use or unlock that AVI file with out the second program (Decrypter).

Please help me, whether this Encrypter and Decrypter are possible in
Visual Basic .NET or not. Is there any other option to encrypt or decrypt
AVI Files?

With Regards,
Vanga Sasidhar

Nov 21 '05 #2
There is Crypto classes available in the framework that would make this
simple. All you have to do is read the file in as a stream of bytes then
write it back out encrypted. Do the reverse to decrypt.

Here is a link to a very simply way to do it:

http://www.vb-helper.com/howto_net_des_file.html
"Vanga Sasidhar" <va***@hotmail.com> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...
Hi All,

Please help me in the following problem.

I am having some files with AVI extension. I want to make two programs in Visual Basic .NET which will work with these AVI Files. One program should
work as encrypter and another program should work as decrypter.

The frist program, encrypter should lock (the user should not be able to open) any AVI file by editing the file. The second program, decrypter should unlock (the user can be able to open) the encrypted file.

The editing (encryption) of the file can be done by any process or any
method. The only thing i need here is the user should not be able to use or unlock that AVI file with out the second program (Decrypter).

Please help me, whether this Encrypter and Decrypter are possible in
Visual Basic .NET or not. Is there any other option to encrypt or decrypt
AVI Files?

With Regards,
Vanga Sasidhar

Nov 21 '05 #3
Dear Ray Cassick,

Thanks for your link and I will check out these Cyrpto Classes in
Framework.

With Regards,
Vanga Sasidhar.
"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:Og**************@TK2MSFTNGP10.phx.gbl...
There is Crypto classes available in the framework that would make this
simple. All you have to do is read the file in as a stream of bytes then
write it back out encrypted. Do the reverse to decrypt.

Here is a link to a very simply way to do it:

http://www.vb-helper.com/howto_net_des_file.html
"Vanga Sasidhar" <va***@hotmail.com> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...
Hi All,

Please help me in the following problem.

I am having some files with AVI extension. I want to make two programs

in
Visual Basic .NET which will work with these AVI Files. One program
should
work as encrypter and another program should work as decrypter.

The frist program, encrypter should lock (the user should not be able

to
open) any AVI file by editing the file. The second program, decrypter

should
unlock (the user can be able to open) the encrypted file.

The editing (encryption) of the file can be done by any process or any
method. The only thing i need here is the user should not be able to use

or
unlock that AVI file with out the second program (Decrypter).

Please help me, whether this Encrypter and Decrypter are possible in
Visual Basic .NET or not. Is there any other option to encrypt or decrypt
AVI Files?

With Regards,
Vanga Sasidhar


Nov 21 '05 #4
Dear Ray Cassick,

Thanks for your link and I will check out these Cyrpto Classes in
Framework.

With Regards,
Vanga Sasidhar.
"Ray Cassick (Home)" <rc************@enterprocity.com> wrote in message
news:Og**************@TK2MSFTNGP10.phx.gbl...
There is Crypto classes available in the framework that would make this
simple. All you have to do is read the file in as a stream of bytes then
write it back out encrypted. Do the reverse to decrypt.

Here is a link to a very simply way to do it:

http://www.vb-helper.com/howto_net_des_file.html
"Vanga Sasidhar" <va***@hotmail.com> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...
Hi All,

Please help me in the following problem.

I am having some files with AVI extension. I want to make two programs

in
Visual Basic .NET which will work with these AVI Files. One program
should
work as encrypter and another program should work as decrypter.

The frist program, encrypter should lock (the user should not be able

to
open) any AVI file by editing the file. The second program, decrypter

should
unlock (the user can be able to open) the encrypted file.

The editing (encryption) of the file can be done by any process or any
method. The only thing i need here is the user should not be able to use

or
unlock that AVI file with out the second program (Decrypter).

Please help me, whether this Encrypter and Decrypter are possible in
Visual Basic .NET or not. Is there any other option to encrypt or decrypt
AVI Files?

With Regards,
Vanga Sasidhar


Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by joethis | last post: by
reply views Thread by Vanga Sasidhar | last post: by
2 posts views Thread by ritesh | last post: by
13 posts views Thread by James Reid | last post: by
markrawlingson
1 post views Thread by markrawlingson | last post: by
3 posts views Thread by askperl | last post: by
27 posts views Thread by Jason | last post: by
reply views Thread by leo001 | last post: by

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.