|
-
Oct 8th, 2006, 07:38 AM
#1
Thread Starter
Lively Member
Create my own extention files
hi guy's i would like create my own extention like jpeg,dll........
please give me the code
thx milen
regrad's
-
Oct 8th, 2006, 07:44 AM
#2
Re: Create my own extention files
uhh. for doing what?
an extension is nothing fancy, it's basically just something used by the operating system to associate which programs should open it. if you want to make your own file extension, just do it.. rename a file to whatever.yourfileextension, if you'd like. there's really no code or anything involved. if it's just a text file, all you need to do is read it in like a text file. however, if you're planning on making images or binary/"compiled" files, then you'll need to make some application that reads in the information that you wrote, and reads it in the same way you wrote it, so that it comes out correctly, and will do what you want/expect it to do, where in which you can do whatever you like with it. doing something like that is no easy task.
but, if you just want to make your own file extension, rename a file to have whatever extension you'd like.
-
Oct 8th, 2006, 07:49 AM
#3
Thread Starter
Lively Member
Re: Create my own extention files
i want to send my extention to the system do you understand please
i want the code allow me to sen my extention file to the system
-
Oct 8th, 2006, 07:50 AM
#4
Re: Create my own extention files
send it to the system? I don't understand what that means :/
what are you trying to do?
-
Oct 8th, 2006, 07:53 AM
#5
Re: Create my own extention files
 Originally Posted by kows
however, if you're planning on making images or binary/"compiled" files, then you'll need to make some application that reads in the information that you wrote, and reads it in the same way you wrote it, so that it comes out correctly, and will do what you want/expect it to do, where in which you can do whatever you like with it. doing something like that is no easy task.
Actually its just a few registry keys.
Searching the forums will turn up many results.
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Oct 8th, 2006, 07:54 AM
#6
Thread Starter
Lively Member
Re: Create my own extention files
_i means when the user of my app save the file "\*.example" my logo apeared in my the files like when you create dll files
okey
-
Oct 8th, 2006, 07:59 AM
#7
Re: Create my own extention files
 Originally Posted by chemicalNova
Actually its just a few registry keys.
Searching the forums will turn up many results.
chem
uhh, I think you misinterpreted what I said. in the text you bolded, I was referring to reading and writing your own custom extension, for a new type of image/binary, which has nothing to do with the registry.
associating a filetype to a certain program/icon is just a matter of changing a few registry keys, yes.
-
Oct 8th, 2006, 08:02 AM
#8
Thread Starter
Lively Member
Re: Create my own extention files
yes register key
my app extention is *.imp
i want to give me the vb code please to send the register key
sorry, i was'nt know his name(register key)
milen
-
Oct 8th, 2006, 08:11 AM
#9
Re: Create my own extention files
 Originally Posted by kows
I was referring to reading and writing your own custom extension, for a new type of image/binary
But again, depending on what you need, it isn't all that hard. Saving a UDT as binary with "Put" and retrieving it with "Get" is quite simple 
milen: Search the forums, there are many people who ask this. There is a search function for that purpose 
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|