473,671 Members | 2,586 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 3131
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
1993
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 xml files will grow and should I have a seperate XML file for each table? Here's a run down of...
0
2411
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 Database:TDV8 ADM0501C A stack overflow exception has occurred. The DB2 instance has
0
1830
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 xml files will grow and should I have a seperate XML file for each table? Here's a run down of...
3
7482
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 try to connect to my PostgreSQL server using PHPPgAdmin, I
4
14054
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 DB21061E Command line environment not initialized.
0
3439
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 Administrator, who's the default Windows admin user. I used that account (using runas) to install DB2...
19
3964
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
1892
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 silently. My log eventlog message saying the the DB was updated successfully is written, however the...
0
8483
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8402
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8927
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8825
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8605
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
6237
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5703
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2819
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.