473,586 Members | 2,682 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 1481
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
2913
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 and use ODBC to connect to a Access database on that machine. A series of forms will interact with the database but if I understand correctly, I need...
121
9725
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
4231
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 machine on our network which is the production environment. I have built an Access 2003 front end application which connects to this database. ...
7
8380
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 like to do this also with windows. If Access does not do this, does anyone know of a program that will do it? Thanks, jeff :)
13
1533
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 programmers? 1. There's VB6. One acronym and one word: DLL Hell (tip of the hat to Microsoft for this one). 2. There's learn Java, which is slow and has...
7
4711
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
2103
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 knows. However, some clients will not be too happy about us hosting their data and would preffer that they deploy the applications to their desktops...
3
4840
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? Maybe that would meet my need. If not, what is the best or quickest stand alone database for vb.net and a laptop?
5
1874
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 office.(sounds so outdated but it is like that!!). Then we run that cd to copy those transactions to the main office database. Each location has not...
0
7912
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
8202
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
6614
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...
1
5710
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...
0
5390
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
3837
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
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
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
1
1449
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.