How to Create a file association for my application?



How to Create a file association for my application?..

Answer / Santosh Anand

To create a file association for your application in Delphi, you can use the Registry. Inspect.Create function. Here's an example:nnRegistry.IniFiles.Add('HKEY_CLASSES_ROOT', 'MyFileAssociation'); // Assuming MyFileAssociation is the key namenRegistry.IniSections.Add('HKEY_CLASSES_ROOT/MyFileAssociation', 'MyFileType'); // Assuming MyFileType is the value name

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to access more than one table with the QuickRep component?

1 Answers  


How to Change the font in a hint window ?

1 Answers  


How to Test IDispatch Descendants?

1 Answers  


How to Debug CORBA clients and servers?

1 Answers  


How to Get the filename and path of a local table?

1 Answers  


How to create SQL queries with SQL Builder?

1 Answers  


what are the Font problems on NT 4.0?

1 Answers  


Can I use the AssignPrn method to write directly to a port?

1 Answers  


What version of TeeChart is supplied with Delphi 6?

1 Answers  


'Missing Data Provider or Data Packet' . what does this error mean?

2 Answers  


How to get DLL function parameter listings ?

1 Answers  


How to Use additional data sets in expressions ?

1 Answers  


Categories