Solved

setting folder options from VC++

Posted on 1998-12-10
5
275 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

828 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