Solved

Hiding Files

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

760 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

20 Experts available now in Live!

Get 1:1 Help Now