473,626 Members | 3,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2549
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******** *****@TK2MSFTNG P12.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******** *****@TK2MSFTNG P12.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.c om> wrote in message
news:Og******** ******@TK2MSFTN GP10.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******** *****@TK2MSFTNG P12.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.c om> wrote in message
news:Og******** ******@TK2MSFTN GP10.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******** *****@TK2MSFTNG P12.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
4735
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 reading, or writing to that text file until the first user is finished?
0
312
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 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
2
2076
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 For e.g. I have a file test.txt created and I have the path to this file in a
13
3312
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 particular file name extension. It would be preferable if the source code would work with Borland's free DOS command line C/C++ compiler.
8
19310
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
16186
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 hours. The message, "microsoft excel locked for editing" pops up when trying to open it, and you can either do a "read only" or "notify". Is it possible to kick someone out of the file ( it's shared via intranet ), or somehow to take over the...
1
1203
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 that PHP does not have an equivalent to the Global.ASA. I read something about this being possible by editing some parameter in a file called .htaccess but there was no explanation on how to do this. The reason for wanting to do this is because I...
1
1331
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
1356
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 would be appreciated. 1) I have a file by name "xyz.html". i have to add a line in a particular section of that file.So what i'm doing is,creating a another file by name "abc.html" then delete xyz.html file and then rename abc.html to xyz.html....
27
7514
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? I've opened a file in append "a" mode, and then used fseek with SEEK_SET to seek to 0 bytes into the file, but this sets the position at the end of existing data, not actually at the start of the file.
0
8265
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8637
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4197
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2625
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.