Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. question about program's name in open-with dlg

question about program's name in open-with dlg

Scheduled Pinned Locked Moved C#
questioncom
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    likefood
    wrote on last edited by
    #1

    My program edits text-based files full of nonsense. I finally cleared up my program's commandline args thing to open a file by double-clicking on the file (with the appropriate made-up extension belonging to it). However, when the user double-clicks on its file for the first time, and Windows asks the user what program to use to open the file (because Windows doesn't recognize the extension at first), my program has no name in the list! Please see this image: http://electrobrainleonard.googlepages.com/unnamedProgram.png[^] How do I get the dialog to have my program's name in it? By the way, I use csc.exe directly to compile it.

    -Daniel Typing too fast fro my owngood

    C 1 Reply Last reply
    0
    • L likefood

      My program edits text-based files full of nonsense. I finally cleared up my program's commandline args thing to open a file by double-clicking on the file (with the appropriate made-up extension belonging to it). However, when the user double-clicks on its file for the first time, and Windows asks the user what program to use to open the file (because Windows doesn't recognize the extension at first), my program has no name in the list! Please see this image: http://electrobrainleonard.googlepages.com/unnamedProgram.png[^] How do I get the dialog to have my program's name in it? By the way, I use csc.exe directly to compile it.

      -Daniel Typing too fast fro my owngood

      C Offline
      C Offline
      CooperWu
      wrote on last edited by
      #2

      try write values in AssemblyInfo.cs file, like AssemblyTitle().. and so on.

      L 1 Reply Last reply
      0
      • C CooperWu

        try write values in AssemblyInfo.cs file, like AssemblyTitle().. and so on.

        L Offline
        L Offline
        likefood
        wrote on last edited by
        #3

        I added that line, but didn't see a change, so I started digging around in my registry. I simply modified the line that was already there: [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache] "program path here"="program's title or name" And now it works fine. Thank you, though! I'm sure your way would have worked if I had done it in the first place and restarted or something...

        -Daniel Typing too fast fro my owngood

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups