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 7517195
In Process

The Archive Base Latest Questions

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

I created a custom paint program , it is really good and better than

  • 0

I created a custom paint program , it is really good and better than the Microsoft Paint , now i am on stage two of the program , where i want to replace the old mspaint.exe where located in C:\WINDOWS\system32\mspaint.exe with my custom paint application , i tried to do that by typing the command :

System.IO.File.Copy(@"mspaint.exe", "C:\\WINDOWS\\system32\\mspaint.exe", true);

And that was not successful , i just tried to make my custom application is the default paint program , but once i do that , the old mspaint keep comming back !!

EDIT : I am trying to do that in windows XP

EDIT 2 : i made a regestry key : LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\mspaint.exe and made a string value of name : debugger and added string : C:\windows\system32\mypaint.exe and whenever i try to open any image i get error message :

Unable to find a version of the runtime to run this application

and my custom program does not open.

  • 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-05-30T01:22:11+00:00Added an answer on May 30, 2026 at 1:22 am

    Perhaps you can use image file execution options registry to forward calls of mspaint.exe to your exe.

    In order to so:

    1. Ceate a new registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\currentversion\image file execution options
    2. Name it with mspaint.exe
    3. Add a string value named debugger and set its value to your exe file
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i created a custom menu called top-navigation. Now I'd like to style it with
I created a custom menu called sub-top-nav and now I'd like to override the
I've created a custom control, overridden it's paint event. When I try to dispose
I created a custom View, with two Bitmaps. When I use the Bitmap outside
I've created custom, two level x-axis entries that tend to work pretty well. The
I created a custom component in Android. I want the background of the custom
http://msdn.microsoft.com/en-us/library/system.double.epsilon.aspx If you create a custom algorithm that determines whether two floating-point numbers can
I have created custom MembershipUser, MembershipProvider and RolePrivoder classes. These all work and I
friends, i have created custom title bar using following titlebar.xml file with code <?xml
I created a custom autocomplete control, when the user press a key it queries

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.