Solved

setting folder options from VC++

Posted on 1998-12-10
5
257 Views
Last Modified: 2012-08-13
i am trying to hide/show file extensions within Win95 folders from within a VC++ program.

Thanx in advance
peter@icpc.ie
0
Comment
Question by:pbranagan
  • 4
5 Comments
 
LVL 6

Accepted Solution

by:
stsanz earned 100 total points
ID: 1179823
On Win98/IE4, modify the following key :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, value HideFileExt
Set value to 0 to show file extensions
Set value to 1 to hide file extensions

On Win95/IE3, modify the following key :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer, value ShellState
Set 5th octet of value to 3 to show file extensions
Set 5th octet of value to 1 to hide file extensions

Do you need some source code to modify these keys ?

0
 

Author Comment

by:pbranagan
ID: 1179824
source code would be great!

0
 

Author Comment

by:pbranagan
ID: 1179825
source code would be great!

0
 

Author Comment

by:pbranagan
ID: 1179826
source code would be great!

0
 

Author Comment

by:pbranagan
ID: 1179827
source code would be great!

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

910 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

21 Experts available now in Live!

Get 1:1 Help Now