Solved

setting folder options from VC++

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

743 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

9 Experts available now in Live!

Get 1:1 Help Now