Solved

savefile

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 123
ORA-01403: no data found 43 90
How to convert MFC::CString to UTF8 wchar_t* 10 148
Is there a simple front-end menu system. 9 72
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

864 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

25 Experts available now in Live!

Get 1:1 Help Now