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

File Editing with VB - Is this possible?

P: n/a
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
Share this Question
Share on Google+
4 Replies


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

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

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

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