Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« on: November 27, 2010, 10:46:36 pm » |
I had -0018, -0019, now using -0021 (and have been for a while). Windows Vista
Older sketches kept opening with -0019 when double clicked. So I deleted the -0018 & -0019 folders. Now I can't get the file associations for .pde to be with -0021. How do I get that set up again? When I open Windows Explorer, select one, choose Open With, Arduino does not appear in the list, and when I browse to it, I still can't get it to select it! So I have to start Arduino every time and then browse to the folder where the .pde is.
How do I fix this?
Thanks Robert
|
|
|
|
|
Logged
|
|
|
|
|
Australia
Offline
Newbie
Karma: 1
Posts: 25
|
 |
« Reply #1 on: November 27, 2010, 11:03:50 pm » |
Right click on one of your files, choose the OPEN WITH menu option, then the CHOOSE DEFAULT PROGRAM menu option.
You might have to use the BROWSE button to find the directory in which you installed version 21, then find the ARDUINO.EXE file in that directory.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #2 on: November 27, 2010, 11:44:09 pm » |
Exactly - and when I do that it acts as if I had selected cancel instead of ok, it drops back to the list of programs and does not open ardiuino-0021. 
|
|
|
|
|
Logged
|
|
|
|
|
Hyderabad , India
Offline
God Member
Karma: 5
Posts: 621
can't help not to think arduinaizing something !
|
 |
« Reply #3 on: November 27, 2010, 11:50:18 pm » |
count me in i downloaded the 021 ide yesterday and am having the same problem > 
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 91
Posts: 9449
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #4 on: November 28, 2010, 07:24:25 am » |
had a similar problem when upgrading from 19->21. I removed the old associations from the registry and then associated the .pde again.
// warning usage of regedit can cause serious damage to windows registry (on the other hand it is sometimes the only way)
Start regedit.exe
Check the following entries: - CTRL-F = find .pde - use F3 to repeat search
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde\OpenWithList
and
Computer\HKEY_USERS\ - some number - \Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde\OpenWithList
as -some number- might differ you should use seach.
I removed the entries here so windows "lost" all associations. When opening an .pde file windows will ask for the association, use browse to select Arduino21 and it worked as intended.
|
|
|
|
|
Logged
|
|
|
|
|
Hyderabad , India
Offline
God Member
Karma: 5
Posts: 621
can't help not to think arduinaizing something !
|
 |
« Reply #5 on: November 29, 2010, 11:53:53 am » |
YES i had solved it just know and came back to post and i found the post was answered yesterday > 
|
|
|
|
« Last Edit: November 29, 2010, 11:54:13 am by newman »
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 91
Posts: 9449
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #6 on: November 29, 2010, 03:30:03 pm » |
Don't be >  be  as you got the insight yourself 
|
|
|
|
|
Logged
|
|
|
|
|
Rhode Island, USA
Offline
Newbie
Karma: 0
Posts: 16
What can't be done with an Arduino?
|
 |
« Reply #7 on: December 31, 2010, 06:11:13 pm » |
I was having the same problem with Windows 7. I also found it necessary to remove some other registry entries including "arduino.exe." Sorry, I didn't make note of where the entries were, but I found then easily with a registry search.
[size=14]EASY FIX TIP:[/size] [size=12]If you don't want to be bothered making registry changes, you can work around the issue by renaming the new arduino.exe to something like arduino22.exe. Then you should be able to re-associate .pde files with the new version by the standard means (Right click file. -> Open with -> Choose default program...).[/size]
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #8 on: January 01, 2011, 05:41:49 am » |
"clever" windows sees the same program name so doesn't change the association properly!
you can try first setting the association to something else like notepad
then set it to the new arduino.exe
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
Tilburg, Noord Brabant
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #9 on: January 01, 2011, 05:57:49 am » |
Exactly - and when I do that it acts as if I had selected cancel instead of ok, it drops back to the list of programs and does not open ardiuino-0021. Same problem over here and 0021 is my first Arduino compiler installed. Windows 7 Ultimate. I'm opening sketches from the compiler now.
|
|
|
|
|
Logged
|
to baldly code what no man has coded before
|
|
|
|
Hyderabad , India
Offline
God Member
Karma: 5
Posts: 621
can't help not to think arduinaizing something !
|
 |
« Reply #10 on: January 01, 2011, 07:38:20 am » |
Don't be be as you got the insight yourself Missed that post Yeah good point  but i'm lazy 
|
|
|
|
|
Logged
|
|
|
|
|
Rhode Island, USA
Offline
Newbie
Karma: 0
Posts: 16
What can't be done with an Arduino?
|
 |
« Reply #11 on: January 03, 2011, 01:55:36 pm » |
mmcp42:you can try first setting the association to something else like notepad then set it to the new arduino.exe That was actually one of the first things I tried before searching the boards, it didn't work. I also tried renaming/moving/deleting the original arduino.exe that the .pde files where associated with so that windows would notice that it no longer existed, and would hopefully automatically disassociate it, but *icrosoft's "latest and greatest" operating system failed to release the broken association. Perhaps this problem would have been easier to correct if *icrosoft hadn't remove the file type manager that existed in their earlier OSs.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 19
Arduino rocks
|
 |
« Reply #12 on: January 03, 2011, 06:21:37 pm » |
Hello all. For anybody that still wants this, I think I've got the quickest and most foolproof way to associate .pde files with Windows (at least XP).
1) First, open Windows explorer (i.e. My Documents). 2) Next, at the top toolbar (File, Edit, etc...) hover over Tools and select Folder Options. 3) In Folder Options, click the File Types tab and in the box, scroll down to extension pde. Click on it 4) In the lower half of the window, click the change button. 5) Then select the version of Arduino you want to be used click ok and close and you're done!
|
|
|
|
|
Logged
|
|
|
|
|
Rhode Island, USA
Offline
Newbie
Karma: 0
Posts: 16
What can't be done with an Arduino?
|
 |
« Reply #13 on: January 05, 2011, 11:10:52 pm » |
cubemike99, as far as I know you are correct, that is the quickest and most foolproof way for Windows XP. However, if I am not mistaken, that very File Types tab vanished with the release of Vista and 7. Why did *icrosoft remove it? The world may never know! [smiley=huh.gif]
|
|
|
|
|
Logged
|
|
|
|
|
|