Create project file like .psd, .sln, own, etc [closed]

2

I would like to know how to create these types of files, sln, psd, project files, psd from photoshop, sln from visual studio, I want to create my own project type, I tried searching Google, but I did not know as and I did not get results of my interest, I am currently using C # I am a beginner in the language.

    
asked by anonymous 10.10.2015 / 00:04

2 answers

1

The name of this process is file type association . It basically works like this:

  • A program associates a given extension (eg *.minhaExtensao ) with a program (eg C:\Programas\minhaExtensaoEditor.exe ) with Windows.
  • When the user double-clicks the D:\teste.minhaExtensao file, Windows will look in a local storage called Registry for some call associating the extension with a program - and, in this case, this association is found.
  • Windows will then attempt to execute the following command:

    C:\Programas\minhaExtensaoEditor.exe 'D:\teste.minhaExtensao'
    
  • The program minhaExtensaoEditor.exe is called, and a parameter telling the file to be opened is received.

(The process is a little more complicated than this sequence, but it illustrates the basic steps.)

    
10.10.2015 / 01:57
0

PSD files are created within Photoshop itself when creating a new file, while SLNs are created along with Visual Studio solutions.

    
10.10.2015 / 00:11