473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows Legacy: Writing to a database in programs folder


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
Oct 30 '07 #1
8 1199
"Kai-Uwe Tillmann" <ka*****@googlemailweg.comschrieb
>
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

Oct 30 '07 #2
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

Oct 31 '07 #3
On Wed, 31 Oct 2007 06:42:35 +0100, "Cor Ligthert[MVP]"
<no************@planet.nlwrote:
>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.
Oct 31 '07 #4
Cor Ligthert[MVP] schreef:
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
Oct 31 '07 #5
Not to be rude, but what the heck are you talking about? And why is
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

Nov 1 '07 #6
In my idea was the OP writing this below, and I used an anology to avoid a
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
Nov 1 '07 #7
Shane,
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.
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

Nov 2 '07 #8
Shane,

Again, the name is Seth, not "Shane"
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...
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?
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
Nov 2 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Geoff Pennington | last post by:
It is really pathetic that I don't know this, but here it is. I have been writing ASP.Net apps for a while, and all configuration information, such as the database connection string, goes in a text...
3
by: Ken | last post by:
I have a database called autographs.mdb that is in the "XYZ" folder in the "database" folder. I have a form in the database that I want to display a photo of the celeb on. The photos are in a...
5
by: Rajat Tandon | last post by:
Hello Everybody, Please guide me so that I can fulfill this challenging assisnment ... I have been asked to "Restructure a Windows application" from scratch in 2 months. The existing...
8
by: Pete Wittig | last post by:
Hello, I am wondering if it is possible to create a networked application with C# that is seen as a windows user. For example, if Bob logged onto windows and then started the application, any...
2
by: Andrius B. | last post by:
Hi. I am writing an app, whitch has to access a database, located on another computer (Intranet). Let's say, the computer where the app is to be installed, is "Computer1". The computer with the...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Description NOTE- If you are unfamiliar with the concept of autoruns, then read "Windows Autorun FAQs: Overview". Que-1: How can I safely remove or edit the autorun...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Programs dealing with autoruns Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list programs that help me to view/modify the autoruns...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.