Thread: File Types

  1. #31
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    If you know of a better way, can you please tell me? The only reason I'm doing this is because I though it said I had to.

    All that I'm trying to do is change the icon of my associated file type.

  2. #32
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I don't think you need to do anything else - a restart, a logout or killing explorer should make the new icon show up if I understand correctly.
    The entire shell is built with COM, Microsoft's pain-in-the-ass was-to-be universal language that does more harm than good.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #33
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    I just don't get it... I did the icon just the way the msdn documentation had it, and it worked at first, but now it just shows the little white page with a small version of my program's icon on the front. I guess I could live with that, but it's not exactly what I wanted.

    I did exactly as MSDN'S example.

  4. #34
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    (Wow, I reply to a lot of my posts, don't I?)
    Anyway, I finally figured out what was wrong. I was just making one of the keys in the wrong spot, throwing the whole thing off. I think one of the moderators should close this thread before I ask another question...
    Again, thank you to Codeplug and Elysia, the only ones who answered.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  3. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  4. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM