Discussion:
Set default project folder in D2005
(too old to reply)
Jud McCranie
2005-09-17 20:34:42 UTC
Permalink
How do you set the directory you want as the default for projects in
Delphi 2005?

I went to tools/options/environment variables. I did an override of
BDSPROJECTSDIR to c:\delphi, but when I do "open projects" it defaults
to "borland studio projects" and when I do "save as" it defaults to
"desktop". I want these to default to c:\delphi.
---
---
Replace you know what by j to email
Leonel
2005-09-17 21:00:33 UTC
Permalink
Post by Jud McCranie
How do you set the directory you want as the default for projects in
Delphi 2005?
In the Registry, add a string entry DefaultProjectsDirectory to the
HKEY_CURRENT_USER/Borland/BDS/3.0/Globals key, with the directory you
want to have as default project directory.
--
Leonel
Ingvar Anderberg
2005-09-17 21:13:22 UTC
Permalink
"Jud McCranie" skrev i meddelandet
Post by Jud McCranie
How do you set the directory you want as the default for projects in
Delphi 2005?
I went to tools/options/environment variables. I did an override of
BDSPROJECTSDIR to c:\delphi, but when I do "open projects" it defaults
to "borland studio projects" and when I do "save as" it defaults to
"desktop". I want these to default to c:\delphi.
---
---
from my scrapbook:
"
In the registry
HKEY_CURRENT_USER\Software\Borland\BDS\3.0\Globals,
add a 'DefaultProjectsDirectory' string with the directory
you want as the value.
"
the BDSPROJECTSDIR variable is then also changed accordingly.

Next time you start Delphi it may complaining about missing Output Directory in the system Path
but you get the opportunity to change it on the fly then.

/ia
Jud McCranie
2005-09-17 22:42:57 UTC
Permalink
On Sat, 17 Sep 2005 23:13:22 +0200, "Ingvar Anderberg"
Post by Ingvar Anderberg
In the registry
HKEY_CURRENT_USER\Software\Borland\BDS\3.0\Globals,
add a 'DefaultProjectsDirectory' string with the directory
you want as the value.
"
Thanks, I tried what you suggested, rebooted, but it didn't work.
Should there be a trailing backslash in the path? Should it be just
plain characters, or should it be inside single quotes or double
quotes?
---
Replace you know what by j to email
Rudy Velthuis [TeamB]
2005-09-17 22:45:17 UTC
Permalink
Post by Jud McCranie
On Sat, 17 Sep 2005 23:13:22 +0200, "Ingvar Anderberg"
Post by Ingvar Anderberg
In the registry
HKEY_CURRENT_USER\Software\Borland\BDS\3.0\Globals,
add a 'DefaultProjectsDirectory' string with the directory
you want as the value.
"
Thanks, I tried what you suggested, rebooted, but it didn't work.
Should there be a trailing backslash in the path? Should it be just
plain characters, or should it be inside single quotes or double
quotes?
The string value should ideally be placed in double quotes, especially if
the string contains space characters.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de

"Humor is also a way of saying something serious."
-- T. S. Eliot (1888 - 1965)
Jud McCranie
2005-09-17 23:03:37 UTC
Permalink
On Sun, 18 Sep 2005 00:45:17 +0200, "Rudy Velthuis [TeamB]"
Post by Rudy Velthuis [TeamB]
The string value should ideally be placed in double quotes, especially if
the string contains space characters.
I put it in double quotes, rebooted, but it still doesn't work. The
environment variable BDSPROJECTSDIR shows up as
"c:\delphi"
with the quotes, but it doesn't use that directory for "open project"
or "save as".
What should I try?
---
Replace you know what by j to email
Jud McCranie
2005-09-17 23:10:16 UTC
Permalink
On Sat, 17 Sep 2005 19:03:37 -0400, Jud McCranie
Post by Jud McCranie
What should I try?
It was also saying "illegal characters in path". I took the quotes
back out, and it seems to be working now.

Thanks guys.

(It seems to me that it would be a good thing to be able to set this
from within the IDE. Just my opinion, no flames please.)
---
Replace you know what by j to email
Rudy Velthuis [TeamB]
2005-09-17 23:19:10 UTC
Permalink
Post by Jud McCranie
On Sat, 17 Sep 2005 19:03:37 -0400, Jud McCranie
Post by Jud McCranie
What should I try?
It was also saying "illegal characters in path". I took the quotes
back out, and it seems to be working now.
Yes, I also just noticed that the quotes should be omitted. Sorry.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de

"Physics is not a religion. If it were, we'd have a much easier time
raising money." -- Leon Lenderman
Jud McCranie
2005-09-17 23:58:54 UTC
Permalink
On Sun, 18 Sep 2005 01:19:10 +0200, "Rudy Velthuis [TeamB]"
Post by Rudy Velthuis [TeamB]
Yes, I also just noticed that the quotes should be omitted. Sorry.
It is working now, thanks everyone.

---
Replace you know what by j to email
Venkatesh VT
2005-09-18 03:17:56 UTC
Permalink
Hopefully this feature should be implemented into the IDE in Delphi 2006.
.I think this will then become a real time saver like Error messages
'Copy' function provided in Delphi 2005 compared to 'Save to File' function
in Delph 7
Venkatesh
Post by Jud McCranie
On Sun, 18 Sep 2005 01:19:10 +0200, "Rudy Velthuis [TeamB]"
Post by Rudy Velthuis [TeamB]
Yes, I also just noticed that the quotes should be omitted. Sorry.
It is working now, thanks everyone.
---
Replace you know what by j to email
John Kaster (Borland)
2005-09-18 05:01:53 UTC
Permalink
Post by Venkatesh VT
Hopefully this feature should be implemented into the IDE in Delphi 2006.
What's the QC #?
--
John Kaster http://blogs.borland.com/johnk
Features and bugs: http://qc.borland.com
Get source: http://cc.borland.com
If it's not here, it's not happening: http://ec.borland.com
Jud McCranie
2005-09-18 23:22:59 UTC
Permalink
Post by Venkatesh VT
Hopefully this feature should be implemented into the IDE in Delphi 2006.
Is there going to be a D2006? I'm just in the process of getting
switched over to 2005.
---
Replace you know what by j to email
Erwien Saputra
2005-09-18 23:38:17 UTC
Permalink
Post by Jud McCranie
Is there going to be a D2006? I'm just in the process of getting
switched over to 2005.
D2006 will be released sometimes later this year.
http://www.borlandevents.com/devcon/PDF/prod_disc_info.pdf

quoted from that document above:
* Customers who purchase any of these packages will also get Delphi
2006 for free when it is released later this year.

Wien.
--
http://blogs.slcdug.org/esaputra
Delphi Setting Manager - http://www.codeline.net/DelphiSettingManager
Reference Tool - http://www.codeline.net/RefTool
Jud McCranie
2005-09-18 23:48:02 UTC
Permalink
On 18 Sep 2005 16:37:18 -0700, "Erwien Saputra"
Post by Erwien Saputra
D2006 will be released sometimes later this year.
http://www.borlandevents.com/devcon/PDF/prod_disc_info.pdf
* Customers who purchase any of these packages will also get Delphi
2006 for free when it is released later this year.
That seems to apply only if you purchase those at the developer's
conference. I bought D2005 several months ago.
---
Replace you know what by j to email
Bruce McGee
2005-09-19 00:03:25 UTC
Permalink
Post by Jud McCranie
That seems to apply only if you purchase those at the developer's
conference. I bought D2005 several months ago.
It applies to anyone who also gets software assurance. They'll just
have better prices at the conference.
--
Regards,
Bruce McGee
Glooscap Software
Jud McCranie
2005-09-19 00:55:16 UTC
Permalink
Post by Bruce McGee
It applies to anyone who also gets software assurance. They'll just
have better prices at the conference.
I don't have software assurance either. I have to pay for everything
out of my pocket.
---
Replace you know what by j to email
Erwien Saputra
2005-09-19 01:21:44 UTC
Permalink
Post by Jud McCranie
That seems to apply only if you purchase those at the developer's
conference. I bought D2005 several months ago.
Looks like it. I just wanted to answer that it will be released this
year.

Wien.
--
http://blogs.slcdug.org/esaputra
Delphi Setting Manager - http://www.codeline.net/DelphiSettingManager
Reference Tool - http://www.codeline.net/RefTool
Arthur Hoornweg
2005-09-19 15:45:43 UTC
Permalink
Post by Venkatesh VT
Hopefully this feature should be implemented into the IDE in Delphi 2006.
.I think this will then become a real time saver
There's another way to accomplish it (I use it in Delphi 7):

- Make a shortcut to Delphi 7
- Edit the properties of the shortcut, set the default directory to
your project's path.
--
Arthur Hoornweg

(In order to reply per e-mail, please just remove the ".net"
from my e-mail address. Leave the rest of the address intact
including the "antispam" part. I had to take this measure to
counteract unsollicited mail.)
Ingvar Anderberg
2005-09-19 18:11:10 UTC
Permalink
Post by Arthur Hoornweg
- Make a shortcut to Delphi 7
- Edit the properties of the shortcut, set the default directory to
your project's path.
It doesn't work for Delphi 2005.
(or are we talking about differnt issues <g>)
When you create a new project and do "Save As"
your *home* directory is the content of the BDSPROJECTSDIR-variable.
You use that location as a starting point of where you want to locate your new project.

//ia

Jud McCranie
2005-09-18 23:48:36 UTC
Permalink
On Sat, 17 Sep 2005 16:34:42 -0400, Jud McCranie
Post by Jud McCranie
How do you set the directory you want as the default for projects in
Delphi 2005?
Along similar lines, is there a way to have it remember what folder to
use for glyphs?
---
Replace you know what by j to email
Henrick Hellström [StreamSec]
2005-09-19 06:40:10 UTC
Permalink
Post by Jud McCranie
Along similar lines, is there a way to have it remember what folder to
use for glyphs?
I don't think so, but I use the IDEOpenDlgFavourites package from JEDI
JCL for such purposes. It puts a drop down list right into the Open
dialog where you can store your own folders.
Loading...