Solved

savefile

Posted on 1998-09-29
4
157 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
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 100 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 63
child constructor and parent constructor, overriding and overloading 6 88
wordcount challenge 11 133
wordappend challenge 8 200
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

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