PC Review


Reply
Thread Tools Rate Thread

Altering file associations

 
 
Trent
Guest
Posts: n/a
 
      20th Jan 2005
Hi,
Is it possible to create a sub class for a .hta file association so that a
fully provided name such as MYHTA.HTA would be able to use it's own desktop
icon rather than defaulting to the one assigned to the mshta.exe file that
executes it?

I want my .hta program to have it's own icon without having to change the
mshta.exe icon and have every .hta file come up with that custom icon.
I read something rather vague about sub classes overriding the default
association with a full filename rather than just extension.

If this is possible and someone could give me an example of what the
registry entry would look like I can write the code for my application to
test for and create the proper key. But hey, if you happen to have code
already....

Thanks in advance.
Trent


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Altering a binary file on the fly Family Tree Mike Microsoft Dot NET 2 12th Apr 2009 04:41 PM
print to file - without altering the original file tlevesqu@gmail.com Printers 3 5th Jun 2007 06:55 PM
Altering a DBF File JimmyKoolPantz Microsoft VB .NET 9 5th Nov 2006 06:26 PM
Altering file associations Trent Microsoft Windows 2000 Registry 0 20th Jan 2005 12:38 PM
Re: Altering config.sys file David H. Lipman Microsoft Windows 2000 3 17th Jul 2003 02:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 AM.