Connecting Tech Pros Worldwide Forums | Help | Site Map

Windows Legacy: Writing to a database in programs folder

Kai-Uwe Tillmann
Guest
 
Posts: n/a
#1: Oct 30 '07

Hello,

in my opinion a program should never write to a database that exists in
the programs folder.
Am I right about that? Does Windows speak about that clearly, e. g. in a
legacy?
We have struggles here whether this is correct or not.

Thank you.
Kai-Uwe

Armin Zingler
Guest
 
Posts: n/a
#2: Oct 30 '07

re: Windows Legacy: Writing to a database in programs folder


"Kai-Uwe Tillmann" <kaiuwe3@googlemailweg.comschrieb
Quote:
>
Hello,
>
in my opinion a program should never write to a database that exists
in the programs folder.
Am I right about that? Does Windows speak about that clearly, e. g.
in a legacy?
We have struggles here whether this is correct or not.
At least I wouldn't do it because the program folders isn't backed up
(usually). Data folders are.

I'd use Environment.SpecifalFolder.CommonApplicationData + company name +
product name. Or ApplicationData/LocalApplicationData for personal data.

It should be possible to completly uninstall an application including the
removal of the application folder and reinstall it without losing data.

Only IMO.


Armin

Cor Ligthert[MVP]
Guest
 
Posts: n/a
#3: Oct 31 '07

re: Windows Legacy: Writing to a database in programs folder


Hi,

Some cultures think that women should be hidden from top to teen. I respect
that.

You should come to our beaches in summer to see how that is in my culture. I
am glad about that.

Please give everybody the opportunity to do it in the way they like. The
world has never become better because some idiots think/thought they have to
tell how others should behave.

IMO

Cor

Jack Jackson
Guest
 
Posts: n/a
#4: Oct 31 '07

re: Windows Legacy: Writing to a database in programs folder


On Wed, 31 Oct 2007 06:42:35 +0100, "Cor Ligthert[MVP]"
<notmyfirstname@planet.nlwrote:
Quote:
>Hi,
>
>Some cultures think that women should be hidden from top to teen. I respect
>that.
>
>You should come to our beaches in summer to see how that is in my culture. I
>am glad about that.
>
>Please give everybody the opportunity to do it in the way they like. The
>world has never become better because some idiots think/thought they have to
>tell how others should behave.
>
>IMO
>
>Cor
In modern Windows OSs a non-admin user can't write to Program Files,
so if your program writes there you force your users to run as admin.
You of course are free to do that if you want, but you will cause some
users to not use your program.
C-Services Holland b.v.
Guest
 
Posts: n/a
#5: Oct 31 '07

re: Windows Legacy: Writing to a database in programs folder


Cor Ligthert[MVP] schreef:
Quote:
Hi,
>
Some cultures think that women should be hidden from top to teen. I
respect that.
>
You should come to our beaches in summer to see how that is in my
culture. I am glad about that.
>
Please give everybody the opportunity to do it in the way they like. The
world has never become better because some idiots think/thought they
have to tell how others should behave.
>
IMO
>
Cor
UAC in Vista doesn't like you to write to the program files folder.
Keeping that in mind, software nowadays needs to write to the users data
folder and not to the "program files\programname" folder


--
Rinze van Huizen
C-Services Holland b.v
Cor Ligthert[MVP]
Guest
 
Posts: n/a
#6: Nov 1 '07

re: Windows Legacy: Writing to a database in programs folder


Not to be rude, but what the heck are you talking about? And why is
Quote:
any of it relevant to this topic or even this newsgroup?
>
The OP was asking about where to store a database, not about whether
woman should completely covered by their clothing...
>
Seth,

In my idea was the OP writing this below, and I used an anology to avoid a
long message.

-------------------------------------------------------------------------
in my opinion a program should never write to a database that exists in
the programs folder.
Am I right about that? Does Windows speak about that clearly, e. g. in a
legacy?
We have struggles here whether this is correct or not
----------------------------------------------------------------------------

So what are you talking about?

Cor

rowe_newsgroups
Guest
 
Posts: n/a
#7: Nov 1 '07

re: Windows Legacy: Writing to a database in programs folder


In my idea was the OP writing this below, and I used an anology to avoid a
Quote:
long message.
I noticed your poor analogy in your first post, and chose not to
commit figuring you misread the OP, but your second post is complete
jibberish.

The OP was not (imo) asking for about opinions but actual facts about
where to save a database. Your reply was a skewed analogy about a
situation based on religion and not facts (and no, I'm not starting a
religious debate here) and has absolutely nothing to do with the OP's
problem. I believe the posts from Armin, Jack, and C-Services Holland
provided answers to the OP's question, while your reply did little
more than confuse the situation.

Also, you used two off topic posts with multiple paragraphs each to
"avoid a long message". Doesn't that defeat the purpose....

Thanks,

Seth Rowe


Cor Ligthert[MVP]
Guest
 
Posts: n/a
#8: Nov 2 '07

re: Windows Legacy: Writing to a database in programs folder


Shane,
Quote:
I noticed your poor analogy in your first post, and chose not to
commit figuring you misread the OP, but your second post is complete
jibberish.
>
Yea it is only understandable for Dutch (not even Dutch speaking) people.

Please don't judge to quick and make messages to proof that you are right, I
knew that I was going on slippery ground, did expect comments, however not
from you.
Quote:
The OP was not (imo) asking for about opinions but actual facts about
where to save a database.
I respectfully disagree that, even if the OP says now that this was his
intention.

For me was his intention that it should not be allowed in the program
languages, not what it means in Vista. This is a programming language
newsgroup you know, not an OS newsgroup.

Cor

rowe_newsgroups
Guest
 
Posts: n/a
#9: Nov 2 '07

re: Windows Legacy: Writing to a database in programs folder


Shane,

Again, the name is Seth, not "Shane"
Quote:
Quote:
I noticed your poor analogy in your first post, and chose not to
commit figuring you misread the OP, but your second post is complete
jibberish.
>
Yea it is only understandable for Dutch (not even Dutch speaking) people.
Saying this a while ago would have prevented this and other debates...
Quote:
Please don't judge to quick and make messages to proof that you are right, I
knew that I was going on slippery ground, did expect comments, however not
from you.
Why not from me?
Quote:
Quote:
The OP was not (imo) asking for about opinions but actual facts about
where to save a database.
>
I respectfully disagree that, even if the OP says now that this was his
intention.
If this is how you interpreted his message, then I can see why you
posted your message. However, as stated before, I was replying more
about your second thread thank your first.

P.S. for the others trying to follow the full conversation, it has
spread to:

http://groups.google.com/group/micro...f1142e578764f9

Thanks,

Seth Rowe


Closed Thread