Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do we use the ProgID column in the File Associations settings?

I'm deploying my application using ClickOnce.

I want to register a file association but I can't manage to make it work: What should I use as ProgID in the File Associations section of the Publish Options?

like image 234
Martin Delille Avatar asked Apr 21 '10 09:04

Martin Delille


People also ask

What is ProgID file association?

ProgID. The programmatic identifier associated with an application (COM). This value automatically populates when you select a file extension from the list.

How do you set file associations for IT pros?

The best way to do it is to set up a reference computer, install applications, configure default programs and use Dism to export/import the custom default app associations or use a group policy. Go to Control Panel\All Control Panel Items\Default Programs and configure default apps associations.

How do I find the ProgID of an application?

Continue the search by pressing the "F3" key until a "ProgID" folder appears open in the left pane of the Registry Editor window. The ProgID appears in the Data column in the right pane of the Registry Editor window.


1 Answers

Some examples from the registry subkeys
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ ~ \OpenWithProgids:

  • .bmp - Paint.Picture
  • .csproj - VisualStudio.Launcher.csproj.15.0
  • .csv - Excel.CSV
  • .docx - Word.Document.12
  • .mp4 - WMP11.AssocFile.MP4
like image 96
Martin Schneider Avatar answered Oct 04 '22 17:10

Martin Schneider