hi guy's i would like create my own extention like jpeg,dll........
please give me the code
thx milen
regrad's
:wave:
Printable View
hi guy's i would like create my own extention like jpeg,dll........
please give me the code
thx milen
regrad's
:wave:
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.
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 :eek2:
send it to the system? I don't understand what that means :/
what are you trying to do?
Actually its just a few registry keys.Quote:
Originally Posted by kows
Searching the forums will turn up many results.
chem
_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
:eek2:
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.Quote:
Originally Posted by chemicalNova
associating a filetype to a certain program/icon is just a matter of changing a few registry keys, yes.
:thumb: 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
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 :pQuote:
Originally Posted by kows
milen: Search the forums, there are many people who ask this. There is a search function for that purpose :p
chem