[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

savefile

Posted on 1998-09-29
4
Medium Priority
?
162 Views
Last Modified: 2013-11-20
now i use visualc++5
when i save file from my program it will saved in icon default of window  i would like to know how i change it to my icon.
please suggest me
thank you
0
Comment
Question by:eakkung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:zhongbing
ID: 1322681
what you mean by save file? save file in your ap or wirte a new icon file?
0
 
LVL 3

Accepted Solution

by:
plaroche earned 300 total points
ID: 1322682
To see the icon of your appliction besides a file you need to register that file type with Windows.  IE: You need to tell the os that this file is of the type that your application understands.  The system will then take the icon from where you specified it or your application.

I will refer you to

Article ID: Q122787

in MSDN. All the registry keys needed to associate a file type with your application is described there.  If you need help in finding the article just post a comment and I'll tell you how.

0
 

Expert Comment

by:SHULTZ
ID: 1322683
Look about RegisterShellFileTypes function of CWinApp class.

0
 

Author Comment

by:eakkung
ID: 1322684
I need help in finding the article that you tell me .please tell me how to use help
thanks you
 aekkung
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

650 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