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 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

Ask A Question

Stats

  • Questions 73k
  • Answers 73k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer New answer since i found somethin not reviewed and unrelated… May 11, 2026 at 1:59 pm
  • added an answer I know it's not C# .NET but ffmpeg is a… May 11, 2026 at 1:59 pm
  • added an answer You can use dataRow.IsNull('Amount') or Convert.IsDBNull(dataRow['Amount']) or (dataRow['Amount'] as Decimal)… May 11, 2026 at 1:59 pm

Related Questions

I have a few questions about data synchronization. The architecture does not seem to
I've been hearing about triggers, and I have a few questions. What are triggers?
I've discovered this folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and have a few questions. What
Quick question. What do you think, I have a few sites that use a
I have had a few development managers who don't seem to understand or appreciate
I've been thinking about batch reads and writes in a RESTful environment, and I
Let's say that I have a site where once the user selects a few
I was hoping to implement a simple XMPP server in Java. What I need

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.