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

前端 未结 2 696
春和景丽
春和景丽 2021-01-17 12:40

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

2条回答
  •  生来不讨喜
    2021-01-17 13:27

    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

提交回复
热议问题