...

View Full Version : Particular icon with own application



iota
01-08-2006, 12:35 PM
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.

vinyl-junkie
01-08-2006, 05:11 PM
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 (http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype) to it. Basically, that tells the server what kind of file it is and thus how to process it.

KeZZeR
01-08-2006, 05:37 PM
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 (http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype) 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.

vinyl-junkie
01-08-2006, 09:46 PM
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?

glenngv
01-09-2006, 04:08 AM
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?

oracleguy
01-10-2006, 06:37 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum