Results 1 to 9 of 9

Thread: Create my own extention files

  1. #1

    Thread Starter
    Lively Member milen's Avatar
    Join Date
    May 2006
    Posts
    116

    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

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    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.
    Like Archer? Check out some Sterling Archer quotes.

  3. #3

    Thread Starter
    Lively Member milen's Avatar
    Join Date
    May 2006
    Posts
    116

    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

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Create my own extention files

    send it to the system? I don't understand what that means :/

    what are you trying to do?
    Like Archer? Check out some Sterling Archer quotes.

  5. #5
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Create my own extention files

    Quote 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

  6. #6

    Thread Starter
    Lively Member milen's Avatar
    Join Date
    May 2006
    Posts
    116

    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

  7. #7
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Create my own extention files

    Quote 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.
    Like Archer? Check out some Sterling Archer quotes.

  8. #8

    Thread Starter
    Lively Member milen's Avatar
    Join Date
    May 2006
    Posts
    116

    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

  9. #9
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Create my own extention files

    Quote 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
  •  



Click Here to Expand Forum to Full Width