473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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 2530
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: joethis | last post by:
Is there a way to make sure that a file is already in use using asp? For instance, if one person has opened a file and is about to write to it; then is there a way to keep another user from...
0
by: Vanga Sasidhar | last post by:
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...
2
by: ritesh | last post by:
Hi, I'm facing a problem in which I need to edit an already created file, and the editing needs to be done at the start of the file rather then appending to the file. OS - Linux,Solaris ...
13
by: James Reid | last post by:
I'm looking for the source code for a DOS command line c/c++ program that can change file associations. In other words it can cause any version of Windows to associate a particular .exe file with a...
8
by: pappu | last post by:
Hello friends, I want to convert .xls file into text file.So can anybody pls help me out. Thxxxxxx, Sachin.
2
by: manontheedge | last post by:
I have an issue with a file that is used by multiple people in multiple locations. It's an Excel file, and every now and then someone will forget to close out of it, and it will be inaccessible for...
1
markrawlingson
by: markrawlingson | last post by:
Hi guys/gals, I was wondering if there is a way to globally include files throughout all scripts within PHP. This is possible in ASP within the Global.ASA file but through my research I've found...
1
by: Jason | last post by:
I am wanting to display an excel file on the web and allow it to be editable and be able to be saved online through the web. Any way to do this? thanks.
3
by: askperl | last post by:
Hello Folks, I need a little bit of Help in editing a HTML file. From what i know,i can't directly edit the file using PERL(activePERL,running on windows). i have few questions here,any answers...
27
by: Jason | last post by:
Hi, I need to open an existing file, seek to a position at X number of bytes, and write out Y number of bytes overwriting any existing bytes, but no erasing any other data. Is this possible? ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.