Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7847527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:55:39+00:00 2026-06-02T17:55:39+00:00

I want my program to be associated with a custom file type so that

  • 0

I want my program to be associated with a custom file type so that clicking on a file of that type will open it with my program.

I’ve seen I can do that by: Properties->Publish->Options->File associations. But I don’t know what I should enter as ProgID.

From Wikipedia it seems it’s some long number (is there a specific way of choosing it?). From an answer here it seems it’s just anything I want.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:55:41+00:00Added an answer on June 2, 2026 at 5:55 pm

    Just fire up regedit.exe and see how other programs do it. The progids are listed in the HKEY_CLASSES_ROOT. The (Default) value of a filename extension key in the list you see there is the progid associated with the extension. Some common samples:

    • .dll = “dllfile”
    • .exe = “exefile”
    • .ico = “icofile”
    • .txt = “txtfile”

    You see the pattern. It isn’t required that it looks like this, just a convention. “YourCompany.YourFileType” is fine as well with the advantages of it being more descriptive and avoiding name collisions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want my program to open a file if it exists, or else create
For my program I want to read a key from a properties file and
I want to get path to the programs that associated with file extension, preferably
I noticed that I can start a program with it's associated handler by writing
I want to program an application to send a file with sockets: Here my
I want to make a program that pulls objects from a sql database and
I have SpeedButton on my form and I want it open avi file with
I made a program that extracts the text from a HTML file. It recurses
I'd like to make a GUI that will take in a file directory and
I've got a log file that can contain the same event (Verification) multiple times,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.