Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2005, 12:03 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default hide files/folders under window 98? Help me....!!!

I have a project: how to hide a file/folder under window 98, it must can use HOOK such but i dont know how to solve it? Can anybody help me?

Thanks, best regard!

 
Old November 22nd, 2005, 09:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

If its just normal hiding of file and folder that you want to achive, then simply set the attributes to hidden and system from your program.

Regards
Ankur Verma
 
Old November 23rd, 2005, 04:00 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i tried that but ... when you use window commander, files/folders are still available although i set hidden attribute.

Can u give me other solutions?

Thanks

Best Regard!


 
Old November 23rd, 2005, 06:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

As I specified earlier, try setting the attributes to hidden AND SYSTEM. If, however, you have configured your Window Commander to show System and Hidden files (Configuration->Option->Display) it WILL show you the HIDDEN and the SYSTEM files.
What you can do then is to deny the user all the rights on the folder/file. Yhe user whome you have denied all rights on a particular file/folder wont be able to see that file/folder.

Regards
Ankur Verma
 
Old November 23rd, 2005, 09:47 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gtaylor
Default

Another Note: your client needs to consider moving out of 95/98. the expiration on that OS has come and gone I believe. continuing to support that OS can only lead to future problems in development and deployment.





Similar Threads
Thread Thread Starter Forum Replies Last Post
grep-search for text within files, within folders crmpicco Linux 2 September 1st, 2007 10:23 AM
connect to files from different folders lcyean ASP.NET 2.0 Basics 1 May 11th, 2007 07:23 AM
Copy Files and Folders on Local Network rupakroy5 VB.NET 2002/2003 Basics 1 May 22nd, 2006 10:09 AM
Exploring Folders in same window Anantsharma VB How-To 0 October 29th, 2004 05:45 AM
Including files across folders dsunmedia Beginning PHP 3 July 26th, 2004 04:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.