[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

setting folder options from VC++

i am trying to hide/show file extensions within Win95 folders from within a VC++ program.

Thanx in advance
peter@icpc.ie
0
pbranagan
Asked:
pbranagan
  • 4
1 Solution
 
stsanzCommented:
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
 
pbranaganAuthor Commented:
source code would be great!

0
 
pbranaganAuthor Commented:
source code would be great!

0
 
pbranaganAuthor Commented:
source code would be great!

0
 
pbranaganAuthor Commented:
source code would be great!

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now