I'm not sure what I've done to mess up the association, and it's not
immediately obvious chasing through the registry what the correct settings
should be.
I've also tried right-click, Open with... and associating the .dproj with
CodeGear.... but that doesn't work either. To be quite precise, after I
originally installed D2007 over a year ago, I did alter the .dproj file so
that I could right-click Open with, Notepad, and that still works OK, and
I made Notepad the default application, which does /not/ work any more.
As far as I know, I haven't altered anything myself to stop this working,
but I may have added other files to have a right-click, open with Notepad
entry.
What's the best was to fix this?
Thanks,
David
>What's the best was to fix this?
In the past when I've had corrupt file handler context menu links... ShellExView helped alot:
> I know this sounds silly, but sometime in the last three weeks my
> Delphi 2007 no longer opens when I double-click on a .dproj file!
> Using the Start menu, Codegear Rad Studio, Delphi 2007 it opens
> correctly, and I can then load projects OK and work on them.
>
> As far as I know, I haven't altered anything myself to stop this
> working, but I may have added other files to have a right-click, open
> with Notepad entry.
>
> What's the best was to fix this?
You could check the following:
HKCR\Software\Classes\.DPROJ REG_SZ value BDS.DProjFile.
HKCR\Software\Classes\BDS.DProjFile should have the following sub-keys
- DefaultIcon this one should have as REG_SZ value:
"C:\Program Files\CodeGear\RAD Studio\5.0\Bin\delphicoreide100.bpl",3
- Shell
- Open
- Command REG_SZ value (note lines will wrap) "C:\Program
Files\CodeGear\RAD Studio\5.0\Bin\bdsLauncher.exe" "C:\Program
Files\CodeGear\RAD Studio\5.0\Bin\bds.exe" /np
- ddeexec REG_SZ value [open("%1")]
- application REG_SZ value bdslauncher
- topic REG_SZ value system
--
Pieter
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dproj\OpenWithList\
or
jv16 PowerTools - made with Delphi (love this tool)
http://www.macecraft.com/jv16powertools2008/
Within jv16 PowerTools open Registry Finder. When you see what you're looking for in the listview right-click and select "Open in RegEdit"
| I'm not sure what I've done to mess up the association, and it's not
| immediately obvious chasing through the registry what the correct
| settings should be.
Uhhh,... I know this is simple minded,... but did you check the File
Associations in Windows Explorer, Tools? (My Computer)
--
Q
04/20/2008 20:35:56
XanaNews Version 1.17.5.7 [Q's Salutation mod]
Q Correll,
From the command ASSOC, I have:
.dproj=BDS.DProjFile
which seems OK to me. Good suggestion, though.
Thanks,
David
Thanks, Pieter.
Yes, those seem OK to me, with the exception that my Program Files are on
drive E: and not drive C: BDS.DProjFile also has a DWORD EditFlags set to
0. Unsure of the significance of that.
One further clue - if I open Delphi 2007 "by hand", and then use the
right-click Open With Codegear Launcher....., the open instance of Delphi
2007 will load the project I right-clicked. It's as if the "launch" bit
doesn't work.
Cheers,
David
Bob,
Thanks for both your suggestions. I didn't come up with anything using
the ShellExtensions viewer you suggested.
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dproj
produces:
OpenWithList
a REG_SZ Notepad.exe
b REG_SZ bdslauncher.exe
MRUList REG_SZ ba
OpenWithProgids
BSD.DProjFile REG_NONE (zero-length binary value)
Not sure if this is correct....
Cheers,
David
"David J Taylor" <david-...@blueyonder.co.not-this-bit.nor-this-part.uk> wrote
> From the command ASSOC, I have:
> .dproj=BDS.DProjFile
David,
I think that Q meant to check from Windows File Explorer,
Tools | Folder Options | File Types | Registered file types | Extensions: "DPROJ" | Advanced | Actions: "Open" | Edit | Application used to perform action
On my system, for extension "DPR", it shows "C:\Program Files\Borland\Delphi7\Bin\delphi32.exe /np"
HTH, JohnH
Thanks, John. On this system, for .DPROJ, it shows:
Application:
"E:\Program Files\CodeGear\RAD Studio\5.0\Bin\bdsLauncher.exe"
"E:\Program Files\CodeGear\RAD Studio\5.0\Bin\bds.exe" /np
Use DDE: checked
DDE message: [open("%1")]
Application: bdslauncher
DDE application not running: (blank)
Topic: system
Same entries as for .BDSPROJ
I must have altered something, I suppose, or /something/ mus have altered
something!
I appreciate your suggestions.
Cheers,
David
| .dproj=BDS.DProjFile
My WinEx -> Tools -> Files association for the DPROJ extension is:
"C:\Program Files\CodeGear\RAD Studio\5.0\Bin\bdsLauncher.exe"
"C:\Program Files\CodeGear\RAD Studio\5.0\Bin\bds.exe" /np
--
Q
04/21/2008 09:52:26
| I think that Q meant to check from Windows File Explorer,
Yes, that's what I meant. <g> Mine looks similar to yours. <g>
--
Q
04/21/2008 09:55:12
> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dpro
> j produces:
>
> OpenWithList
> a REG_SZ Notepad.exe
> b REG_SZ bdslauncher.exe
> MRUList REG_SZ ba
Here's what I have:
OpenWithList
a REG_SZ bds.exe
b REG_SZ bdslauncher.exe
MRUList REG_SZ ba
But basicly, what you have, looks OK.
> OpenWithProgids
> BSD.DProjFile REG_NONE (zero-length binary value)
> Not sure if this is correct....
That one is the same here.
Next would be to check:
+ HKCR\Applications\bdslauncher.exe\
- shell
- Open REG_SZ &Open with Borland Developer Studio
- Command REG_SZ "E:\Program Files\CodeGear\RAD
Studio\5.0\Bin\bdsLauncher.exe" "E:\Program Files\CodeGear\RAD
Studio\5.0\Bin\bds.exe" /np
- ddeexec REG_SZ [open("%1")]
- Application REG_SZ bdslauncher
- Topic REG_SZ system
- ddeexec REG_SZ [open("%1")]
- Application REG_SZ bdslauncher
- Topic REG_SZ system
--
Pieter
>Thanks for both your suggestions. I didn't come up with >anything using the ShellExtensions viewer you suggested.
I'm sorry, my bad... copied from bookmarks without first checking. Should have been:
FileExtInfo - it's like 16k. It'll write out all references to a text file that you can examine in regedit.:
http://windowsxp.mvps.org/fileextinfo.htm
>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dproj
>produces:
>
>
>OpenWithList
> a REG_SZ Notepad.exe
> b REG_SZ bdslauncher.exe
> MRUList REG_SZ ba
>
>OpenWithProgids
> BSD.DProjFile REG_NONE (zero-length binary value)
OK... with:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dproj\OpenWithList
try changing:
> a REG_SZ Notepad.exe
> b REG_SZ bdslauncher.exe
> MRUList REG_SZ ba
to:
a REG_SZ bds.exe
b REG_SZ bdslauncher.exe
c REG_SZ Notepad.exe
MRUList REG_SZ abc
I think that is the problem... Notepad is first on the list. (ab +c)
> Pieter Zijlstra wrote:
> []
> > You could check the following:
> >
> > HKCR\Software\Classes\.DPROJ REG_SZ value BDS.DProjFile.
> >
> > HKCR\Software\Classes\BDS.DProjFile should have the following
> > sub-keys - DefaultIcon this one should have as REG_SZ value:
> > "C:\Program Files\CodeGear\RAD
> > Studio\5.0\Bin\delphicoreide100.bpl",3
> >
> > - Shell
> > - Open
> > - Command REG_SZ value (note lines will wrap) "C:\Program
> > Files\CodeGear\RAD Studio\5.0\Bin\bdsLauncher.exe" "C:\Program
> > Files\CodeGear\RAD Studio\5.0\Bin\bds.exe" /np
> >
> > - ddeexec REG_SZ value [open("%1")]
> > - application REG_SZ value bdslauncher
> > - topic REG_SZ value system
>
> Thanks, Pieter.
>
> Yes, those seem OK to me, with the exception that my Program Files
> are on drive E: and not drive C:
No problem is on D: just changed for the post to a more default value :)
> BDS.DProjFile also has a DWORD EditFlags set to 0.
Directly under BDS.DProjFile?
> Unsure of the significance of that.
I don't have it and I don't know what it is suppose to do. What happens
if you disable it (rename it with a underscore in front of it)?
> One further clue - if I open Delphi 2007 "by hand", and then use the
> right-click Open With Codegear Launcher....., the open instance of
> Delphi 2007 will load the project I right-clicked. It's as if the
> "launch" bit doesn't work.
Is the file actual there and of the correct version?
Folder: E:\Program Files\CodeGear\RAD Studio\5.0\bin
Name: BDSLauncher.exe
Size: 470528 bytes
Date: 20071211 21:04
Version: 11.0.2902.10471 (*)
* This the December update version number, I also have the April hotfix
installed but that one doesn't alter the launcher.
--
Pieter
1) Right click on a .drproj file
2) Select Open With | Choose Program...
3) Select Notepad
4) Tick the "Always use the selected program to open this kind of file"
checkbox
5) Click OK
6) Double click on the same .dproj file
7) Opens in Notepad
1) Right click on a .drproj file
2) Select Open With | Choose Program...
3) Select CodeGear RAD Studio Launcher for Windows
4) Tick the "Always use the selected program to open this kind of file"
checkbox
5) Click OK
6) Double click on the same .dproj file
7) Opens in Delphi
~~~~~~~~~~~~~~~~~~~~~~ or
In Regedit open:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Fil
eExts\.dproj
Add the following String Value:
Application
Right click the new "Application" string name, then assign "bds.exe"
for the value.
...works here, going away now <|^)
--
Well, it happened that I looked with Task Manager at the processes I had,
and I found one bds.exe, and many bdslauncher.exe. Not sure why the one
bds.exe was left, but it must not have been responding to bdslauncher
requests. I tried killing a couple of bdslauncher.exe, and then (just
because it was higher in the list), killing the bds.exe. As soon as the
bds.exe was killed, all the other bdslauncher.exe processes disappeared by
themselves.
Now I can right-click a .DPROJ and either open it in Notepad, or in Delphi
studio, just as I wish.
It appears to have been the stuck bds.exe which was the problem. If there
is a log somewhere which might identify why it got stuck I would be happy
to submit it.
I'm toying with the April update (although Check for Updates says there
are no updates?), but I see reports of problems from one or two
people.....
My thanks to all who helped.
Cheers,
David