Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    592
    Thanks
    0
    Thanked 1 Time in 1 Post

    Particular icon with own application

    Hi masters,


    For example,I save a file with .iota extension. The saved file icon image is system default 'cos the OS doesn't know which program is to use to open that file.

    So how can I register .iota extension file in OS to show appropriate icon?

    Let me know any programming code you show, esp in VB.Net.
    Thank you so much.
    Last edited by iota; 01-08-2006 at 12:40 PM.

  • #2
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,096
    Thanks
    2
    Thanked 23 Times in 23 Posts
    What you need to do is add a file called .htaccess to your server root (or modify the existing one) and add an AddType directive to it. Basically, that tells the server what kind of file it is and thus how to process it.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Location
    England
    Posts
    282
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by vinyl-junkie
    What you need to do is add a file called .htaccess to your server root (or modify the existing one) and add an AddType directive to it. Basically, that tells the server what kind of file it is and thus how to process it.
    I didn't see him mention anything about a server for viewing the files.

  • #4
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,096
    Thanks
    2
    Thanked 23 Times in 23 Posts
    Quote Originally Posted by KeZZeR
    I didn't see him mention anything about a server for viewing the files.
    Don't you have to run VB.Net on a server?
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!

  • #5
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,074
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Quote Originally Posted by iota
    So how can I register .iota extension file in OS to show appropriate icon?
    In Windows Explorer, go to Tools > Folder Options > File Types tab and then create the new extension .iota and choose the Associated File Type that is needed to run the file with .iota extension. The icon associated to the chosen file type will be automatically used. You can change it by specifying a new icon in the Advanced dialog.

    Is that what you're looking for?
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by vinyl-junkie
    Don't you have to run VB.Net on a server?
    You can but its also a conventional application programming language that you can build exes, dlls, etc. with.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •