473,509 Members | 2,890 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

stand alone desktop application with database integrated? xml?

23 New Member
hi i want to make a stand alone exe that has database functionality.

I have thought about using an xml file as the database, but is their a way that i can bundle the xml file into the exe somehow????

or does the xml file have to be seperate?
if so how can i stop people editing it?

Thanks for your help
Apr 12 '08 #1
2 1477
balame2004
142 New Member
hi i want to make a stand alone exe that has database functionality.

I have thought about using an xml file as the database, but is their a way that i can bundle the xml file into the exe somehow????

or does the xml file have to be seperate?
if so how can i stop people editing it?

Thanks for your help

Hi,

I am able to understand your problem.

You can add your xml file as embeded resource in .net project. So you no need to bundle the xml file with you project.

1.Add you xml file by using project solution explorer.
Right click on project -> Add Existing item - > Add xml file.
2.Make it as Embeded Resource
Right click on the xml file,select properties and set Build Action as embeded resource.

3.Accessing embeded xml file.


Cheers,
Balaji U
Apr 14 '08 #2
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
Read about Isolated storage.
This specific section allows the file to be stored in a location accessible by the application only.
When the application starts check for the file in the Isolated storage and create it if it dosent exist.

Only the application has rights to its own Isolated storage (not sure if a user can physically browse and edit the file, which I presume shouldnt be a problem)
But an external application by no means can access that file.
Apr 14 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2905
by: none | last post by:
Howdy all, I'm wondering if someone could give some direction on a problem I have or share their experiences. I'm wanting to create a little PHP application that will run on a local machine...
121
9657
by: David Pendrey | last post by:
I was wondering if it is at all posible to write a stand alone .EXE program in Visual Studio .NET. Hopefully in VB.NET but if not another language would be ok. Thanks for the assistance
2
4223
by: Barb | last post by:
Hi there, I sincerely hope that someone out there can help. I have two instances of the SQL 2000 Desktop Engine running. One is on my local machine for development and the other is on another...
7
8371
by: Jeff Walters | last post by:
Is is possible to create a stand alone database application that a user can run without Access being installed. I used to have a program on my old Commodor 64 called Codex that did this. I would...
13
1524
by: Brett | last post by:
Ok, we all know a stand alone .NET EXE isn't possible, unless you want to shell out $4k (see previous post with similar subject). Frankly, I don't. Given that, what are the options for VB...
7
4695
by: Ulrich Wisser | last post by:
Hi, I would like to stop the postmaster every night and run vacuum pg_dump reindex in the stand alone backend.
1
2098
by: sholist | last post by:
I have an application that needs to conform to some finicky clients. The goal is to make the application an asp.net app and host it on the web for our clients which has many benefits as everyone...
3
4832
by: newsaboutgod | last post by:
I need a stand alone database for a VB.Net application on a laptop. It will have about 15,000 records in it. Frst off, if there any way to load XML in to a dataset and then run SQL against it?...
5
1871
jinalpatel
by: jinalpatel | last post by:
We have access database which is stand alone application. It is sitted at 21 different locations including one main office. Every month the transactions are copied in to disk and sent to the main...
0
7234
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,...
0
7136
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...
0
7344
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,...
0
7412
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...
1
5060
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
4730
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
3216
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...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.