Solved

Hiding Files

Posted on 2002-06-26
1
196 Views
Last Modified: 2010-05-02
Hi everyone,

I need to know how (and if possible), I can hide files.  And I do not mean setting the hidden attribute.

Could anyone please help and advise me on what to do...  If it is not achievable in vb but another language also, tell me which language.

Thanks,

Joshyy
0
Comment
Question by:Joshyy
1 Comment
 
LVL 2

Accepted Solution

by:
egsemsem earned 100 total points
ID: 7110332
I dont' think there is a simple method to do this. But a fairly good scenario may be as following:

1) When the user selects a file to hide, your project should copy the contents of this file (copy it as binary code, not ASCII) into a big file (eg: HiddenFiles.dat), and then delete the main file.
2) When the user wants to see the file again, your project should know exactly the location of that file in HiddenFiles.dat, extract it, and place it back in its location.

Osama  

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question