Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
Nov 4 2009, 02:36 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 5 Joined: 4-November 09 From: Ljubljana Member No.: 398,591 |
i have win7.. i launch one .exe file with notepad and now opens all .exe files in notepad how i can change this back to default??? |
|
|
|
Nov 5 2009, 07:27 AM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 592 Joined: 25-January 07 Member No.: 108,272 |
i have win7.. i launch one .exe file with notepad and now opens all .exe files in notepad how i can change this back to default??? You haven't said which programming language you are using? I can't see how you can open any file with notepad unless you saved it as a *.bat file. In VB6 you can use the ShellExecute API call to open any type of file that is registered in the registry. -------------------- Keith
http://www.martin2k.co.uk/forums I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
|
|
|
Nov 5 2009, 10:08 AM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 5 Joined: 4-November 09 From: Ljubljana Member No.: 398,591 |
You haven't said which programming language you are using? I can't see how you can open any file with notepad unless you saved it as a *.bat file. In VB6 you can use the ShellExecute API call to open any type of file that is registered in the registry. in using english programming language i open one .exe file with notepad(open with..) and then all files opening in notepad i tried some in regedit but no luck |
|
|
|
Nov 5 2009, 12:55 PM
Post
#4
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 8,478 Joined: 5-June 04 From: Centerville, SD Member No.: 689 |
You need to remove the default association. What OS are you using?
-------------------- |
|
|
|
Nov 5 2009, 02:56 PM
Post
#5
|
|
|
New Member ![]() Group: Members Posts: 5 Joined: 4-November 09 From: Ljubljana Member No.: 398,591 |
win 7 ultimate
|
|
|
|
Nov 5 2009, 03:05 PM
Post
#6
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 8,478 Joined: 5-June 04 From: Centerville, SD Member No.: 689 |
Go to Control Panel, Programs, Defaults.
If you dig around you should find where you notepad is associated with .exe files. You can un-associate from there. -------------------- |
|
|
|
Nov 5 2009, 03:31 PM
Post
#7
|
|
|
New Member ![]() Group: Members Posts: 5 Joined: 4-November 09 From: Ljubljana Member No.: 398,591 |
Go to Control Panel, Programs, Defaults. If you dig around you should find where you notepad is associated with .exe files. You can un-associate from there. in the list of files defaults there is no .exe file i try "set program access and compoter defaults" but this open me notepadand some codes |
|
|
|
Nov 5 2009, 03:46 PM
Post
#8
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 8,478 Joined: 5-June 04 From: Centerville, SD Member No.: 689 |
I am in class, so I wil have to be brief. Work your way down this list.
-------------------- |
|
|
|
Nov 5 2009, 05:49 PM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 592 Joined: 25-January 07 Member No.: 108,272 |
in using english programming language That doesn't tell us much. -------------------- Keith
http://www.martin2k.co.uk/forums I've been programming with VB for 14 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
|
|
|
Nov 5 2009, 09:39 PM
Post
#10
|
|
|
Forum Addict ![]() ![]() ![]() ![]() ![]() ![]() Group: BC Advisor Posts: 1,475 Joined: 28-January 06 From: Australia Member No.: 52,817 |
Here is Microsoft's instruction for restoring the .exe association after it has become attached to the wrong application:
http://support.microsoft.com/kb/950505 -------------------- Pleased to have been a Microsoft MVP (Windows Desktop Experience) 2007/8, 2008/9
Socrates' answer to Schroedinger: "The unexamined cat is not living" |
|
|
|
Nov 6 2009, 01:10 PM
Post
#11
|
|
|
New Member ![]() Group: Members Posts: 5 Joined: 4-November 09 From: Ljubljana Member No.: 398,591 |
i solve the problem thanks for help |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 20th March 2010 - 06:35 PM |