Solved

Hiding Files

Posted on 2002-06-26
1
189 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now