Solved

savefile

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

18 Experts available now in Live!

Get 1:1 Help Now