User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » how to create a file type. Page [1]  
MrNiceGuy7
All American
1770 Posts
user info
edit post

Does anyone know of any information that could give any information on how I would go about creating a specific file type. for example, if I have a program tha tI have written and it encodes audio and I wanted the to save the encoded file as a specific type i.e. ".mpx" and have only that program open it and read it, how would this be done?

3/7/2006 5:51:18 PM

qntmfred
retired
40818 Posts
user info
edit post

right click on a file with the .mpx extension, click Open With -> Choose Program. then find the program you want to open it with and optionally checkmark the box "Always use the selected program to open this kind of file"

3/7/2006 5:53:14 PM

tchenku
midshipman
18590 Posts
user info
edit post

open up an explorer folder

tools

folder options

file types

new

OK

find it on the list and Change

[Edited on March 7, 2006 at 5:53 PM. Reason : or that^]

3/7/2006 5:53:28 PM

OmarBadu
zidik
25073 Posts
user info
edit post

how did you get to the point where you can write a program to encode audio but not associate the file with a program - amazing

3/7/2006 5:54:25 PM

qntmfred
retired
40818 Posts
user info
edit post

i thought that was weird too

3/7/2006 6:10:21 PM

Perlith
All American
7620 Posts
user info
edit post

If this program is going to be used on more than one computer, you'll need to export whatever registry keys associated with that filetype and import them onto the other computers.

3/7/2006 6:48:16 PM

MrNiceGuy7
All American
1770 Posts
user info
edit post

thanks perlith, i think you're on the right track. for the clarification of those above...

i'm not trying to change a file to program association. i.e. have windows media player open up all my mp3s. I want to take a program, install it on multiple computers, and then have program ready to open that specific file type immediately after installation. just as when you install winamp it can open mp3's immediately. Perlith is what you mentioned able to complete that task?

3/8/2006 9:26:09 AM

bous
All American
11215 Posts
user info
edit post

you're still retarded.

in your install program you have to add registry entries which will be an option. the registry entries you add will be the associations. MAKE SURE you give the user an option or people will get pissed.

if you're only distributing the main program and no setup, you can just add an option in your program to associate the files using registry code from w/in your program.

you're still retarded.

3/8/2006 10:25:48 AM

OmarBadu
zidik
25073 Posts
user info
edit post

did you write the program to do the encoding - or download it - and at the very most write a VBA wrapper for it?

3/8/2006 10:29:41 AM

Perlith
All American
7620 Posts
user info
edit post

I'm not too familiar with Windows Installers ... Google it and see what you come up with.

3/8/2006 12:59:12 PM

 Message Boards » Tech Talk » how to create a file type. Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.