16,018,973 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by user322012 (Top 8 by date)
user322012
19-Feb-13 4:33am
View
I tried for this but it is not working for .doc file(for converting binary to .doc file)
user322012
2-Feb-13 2:35am
View
In my app i have .bmp file ,i want that these .bmp file should only open with paint..
user322012
27-Jan-13 12:36pm
View
i read it but still can't access key to write it..
user322012
25-Jan-13 12:08pm
View
i am searching here but couldn't find any useful articles if you know any
give me links....
user322012
25-Jan-13 0:08am
View
My code is:
Dim f As New RegistryPermission( _
RegistryPermissionAccess.Read, _
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice\0")
f.AddPathList( _
RegistryPermissionAccess.Write Or RegistryPermissionAccess.Read, _
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice\0")
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice\0", "Progid", "Applications\notepad.exe")
This code creates a new key named "0" and writes value as "Applications\notepad.exe", but it doesnot change the default application set for any .bmp file to open(in my case its Ms Paint).
What i want is to change the default application to open a .bmp file through my code. if the default application is MS Paint, then I want it to change to Notepad, but through code only.
user322012
24-Jan-13 15:06pm
View
when i am writing manually HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice key progid in regedit it says progid value can't be edited ..
user322012
24-Jan-13 15:02pm
View
yes i tried it but same error occurring ...
user322012
24-Jan-13 14:49pm
View
i am not able to write it says access to registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice is denied
Show More