473,587 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

csharp windows app and local database

I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!
Nov 16 '05 #1
7 3127
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc.
So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!

Nov 16 '05 #2
You could also use MS SQL Desktop Edition.
http://msdn.microsoft.com/SQL/MSDE/default.aspx

I would recommend reading this:
http://msdn.microsoft.com/library/de...sderoadmap.asp

"Sherif ElMetainy" <el************ *@wayout.net.NO SPAM> wrote in message
news:eX******** ******@tk2msftn gp13.phx.gbl...
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc. So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!


Nov 16 '05 #3
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc.
So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!

Nov 16 '05 #4
You could also use MS SQL Desktop Edition.
http://msdn.microsoft.com/SQL/MSDE/default.aspx

I would recommend reading this:
http://msdn.microsoft.com/library/de...sderoadmap.asp

"Sherif ElMetainy" <el************ *@wayout.net.NO SPAM> wrote in message
news:eX******** ******@tk2msftn gp13.phx.gbl...
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc. So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!


Nov 16 '05 #5
Thanks!

I have used access in the past before with some of my csharp
applications at a telemarketing firm and found it very easy to connect
to the db in a sql server type manner etc... I figured there would be
some new web service/xml cool method of going about doing this, but I
guess that stuff only applies to online applications/ applications
connected via a network...not stand alone apps. am i correct on this?

"Sherif ElMetainy" <el************ *@wayout.net.NO SPAM> wrote in message news:<eX******* *******@tk2msft ngp13.phx.gbl>. ..
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc.
So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!

Nov 16 '05 #6
Thanks!

I have used access in the past before with some of my csharp
applications at a telemarketing firm and found it very easy to connect
to the db in a sql server type manner etc... I figured there would be
some new web service/xml cool method of going about doing this, but I
guess that stuff only applies to online applications/ applications
connected via a network...not stand alone apps. am i correct on this?

"Sherif ElMetainy" <el************ *@wayout.net.NO SPAM> wrote in message news:<eX******* *******@tk2msft ngp13.phx.gbl>. ..
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc.
So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!

Nov 16 '05 #7
Hello

Yes, web services are not usefull in stand alone applications (if you use
them, the application will no longer be stand alone).
As for storing data as xml file, you will lose many features that database
engines provide, such as indexes, inner joins, a strong query parsing
engine, etc.

So I suggest use access, sqlite, MSDE ( as the other posters suggested) or
any other database engines. Of course MSDE is the much more powerfull than
access and sqlite. But will take more memory.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** ***@posting.goo gle.com...
Thanks!

I have used access in the past before with some of my csharp
applications at a telemarketing firm and found it very easy to connect
to the db in a sql server type manner etc... I figured there would be
some new web service/xml cool method of going about doing this, but I
guess that stuff only applies to online applications/ applications
connected via a network...not stand alone apps. am i correct on this?

"Sherif ElMetainy" <el************ *@wayout.net.NO SPAM> wrote in message

news:<eX******* *******@tk2msft ngp13.phx.gbl>. ..
Hello

You can use Access or sqlite, or any file base database engine.

sqlite is available at http://www.sqlite.com
and the ADO.NET provider for sqlite is available at
http://sourceforge.net/projects/adodotnetsqlite/
sqlite is open source and cross-platform. It can run on linux, windows, etc. So in case you would like to migrate your application one day to other
operating systems, you should use a portable format for database.

Access wil do the job perfectly too, and the .NET framework supports it
without downloading any libraries.

Best regards,
Sherif

"DKode" <dk***@cfl.rr.c om> wrote in message
news:b1******** *************** **@posting.goog le.com...
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.

I was thinking of using XML files, but I am concerned about how
quickly the xml files will grow and should I have a seperate XML file
for each table?

Here's a run down of what this program will do :

Users will put a CD in their cd-rom drive, the app will read all the
folder/filenames off the cd and allow them to attach additional
keywords to each folder/filename, then they will give each CD a unique
name and label the CD with this name. Then when they want to search
for a program they will run the app and search for keywords and the
app will tell them which cd to look on.

Hope this is descriptive enough. I was thinking of using MSDE, but
this would require it be running on the user's machine at all times
which I don't like the idea of. That's why I came up with the solution
of XML files but the XML filesize can quickly grow... 100 files per cd
times about 200 cd's average, that's 20,000 records right there, not
too mention the extra keywords for each record that might be added.
Maybe a flatfile would work better?

Any advice/pointers would be appreciated.

Thank you!

Nov 16 '05 #8

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

Similar topics

1
1990
by: DKode | last post by:
I will be making a windows app that will run on user's local machines. It will not be in a networked environment or anything like that which rules out SQL Server for the database. I am trying to come up with the best method to store data on the local user machine. I was thinking of using XML files, but I am concerned about how quickly the...
0
2406
by: richardshen | last post by:
My DB2 V8 SP5 WSE crash on Windows 2003 with the following msg in db2diag.log. Any idea? Looks like I need set stackreserver, what is the suggested value for that? 2004-03-05-12.20.46.299000 Instance:DB2 Node:000 PID:3800(db2syscs.exe) TID:3864 Appid:*LOCAL.DB2.01F2C5171908 oper system services sqloEDUExceptionFilter Probe:55 ...
0
1829
by: Twan Kennis | last post by:
Hello! I do have the following problem: I've developed a Windows application which communicates with a DB2-database on the iSeries platform using an ODBC-connection string. This ODBC-connection-string refers to a system-connection configured within the iSeries Navigator based on the Windows username and password of the logged-on user.
0
265
by: DKode | last post by:
I will be making a windows app that will run on user's local machines. It will not be in a networked environment or anything like that which rules out SQL Server for the database. I am trying to come up with the best method to store data on the local user machine. I was thinking of using XML files, but I am concerned about how quickly the...
3
7477
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work on her local machine. Everything looks pretty good. OpenLDAP/cygwin works great. PostgreSQL works great. Apache runs. PHP runs. But when I...
4
14049
by: reachsamdurai | last post by:
Hello, Can you please let me know the procedure to reach db2 command prompt from a cygwin window (hence without using Start-> Run -> db2cmd method). I'm planning to write shell scripts which accesses DB2 database on windows platform hence I installed cygwin but I'm unable to connect to database as it fails with the error message. $ db2...
0
3436
by: Kofa | last post by:
Hi, I cannot create/drop databases from the command line, only from the GUI. Below is a detailed description of my installation and configuration attempts (sorry about the long post). I'm usually logged on to my PC as a domain user, IBE\ikovacs. As IBE\ikovacs, I'm member of my PC's Administrators group. There's also a local user...
19
3957
by: auratius | last post by:
http://www.auratius.co.za/CSharpCodingStandards.html Complete CSharp Coding Standards 1. Naming Conventions and Styles 2. Coding Practices 3. Project Settings and Project Structure 4. Framework-Specific Guidelines Naming Conventions and Styles
3
1888
by: Matt Lowrance | last post by:
I'm hoping someone can give me a little guidance. I have written a simple Windows Service that goes out and scrapes a few web pages and updates some data in an access database. The service works correctly in the IDE and trying to be a good citizen I set it to run as "Local Service" when I install it. However once installed it fails...
0
7918
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6621
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1185
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.