Delphi associate file extension application




















Note that this is only the first part of the solution though since it will open the associated application but it won't load the file you clicked. To do this you have to read ParamStr 1 , which would hold the full path of the file you clicked, and run the file name through your file opening routine. Hope this helps! See win Board index » delphi » Associate Files Richard Brad. Associate Files. Rodney E Geraght. Re:Associate Files. Tomaz Koritni. Other Threads 1. Hi, How can I programmatically associate a file extension, say '.

Thanks in advance. Daniel Maltarolli dma Run "RegEdit" and look at the registry - the format should be self-evident. Chris Chris Marriott, Microsoft Certified Solution Developer. SkyMap Software, U.

Daniel, The easiest way I've found to do this is to modify the Extensions section of the win. This also works under Win 95 and will update the registry automatically under Win Look at the extensions section of the win.

Create 'WIN. Free; end; end; This will work in both Win 3. Not sure about Win NT since I don't have a test machine available. Hope this helps! Put IniFiles in your uses clause and then use something like this: This isn't always working.. When I installed QuickTime it automatically associated both. If you are sure that all of these reasons do not exist in your case or have already been eliminated , the DELPHI file should operate with your programs without any problem. In this case, the only you can do is to ask for assistance of a professional staff.

If you want to associate a file with a new program e. From the drop-down menu select "Choose default program" , then click "Browse" and find the desired program. The whole operation must be confirmed by clicking OK.

Many files contain only simple text data. It is possible that while opening unknown files e.



0コメント

  • 1000 / 1000