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

  • SEARCH
  • Home
  • 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 74849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:25:22+00:00 2026-05-10T20:25:22+00:00

I have a few questions related: 1) Is possible to make my program change

  • 0

I have a few questions related:

1) Is possible to make my program change filetype association but only when is running? Do you see anything wrong with this behavior?

2) The other option that I’m seeing is to let users decide to open with my application or restore default association … something like: ‘capture all .lala files’ or ‘restore .lala association’. How can I do this? What do you think that is the best approach?

  • 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. 2026-05-10T20:25:22+00:00Added an answer on May 10, 2026 at 8:25 pm

    Regarding file associations, I’ve wrote an answer earlier that at least covers the ‘How’.

    This should also point you to the right direction how to handle backup and restore. With direct registry access through c#, there will be no need to use .reg files, so you are free to back up the previous value however you like in your app, and also restore it from there.

    The key question here is: Should you change file associations randomly? At least asking the user up-front would obviously be necessary (as you also indicated).

    Furthermore, Vista users with UAC enabled, or non-privileged users of other Windows versions may not have the required permission to change global file associations. The (un)installation procedure of your program may be the only place where this can succeed.

    EDIT

    As Franci Penov indicated in his answer, there is a way to change local file associations on a per-user basis, even for non-admins (that’s why I spoke of ‘global associations’ in the previous paragraph). He also mentioned mentioned why going there is not overly advisable.

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

Sidebar

Related Questions

I have a few questions (I am interested in answers related to Firefox, but
I have a few questions related to Windows processes in kernel and usermode. If
Have a few questions related to adding sounds to my game, specifically intro music
I am a newbie in network related aspects. I have few basic questions related
There are few questions related to this topic on stackoverflow, But I didn't get
I've seen a few related questions posted like two years ago, but I would
I have few questions related to web technologies. From my reading ant looking at
I have a few related questions about managing aligned memory blocks. Cross-platform answers would
Possible Duplicate: Is Mono ready for prime time? I have a few questions that
I have a few related questions. I am new to Rails 3 after taking

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.