473,396 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

clickonce xml data file

Hi,

I have some XML config file in my VB project.

When I use clickonce to publish my project, the execute files and the xml
data files are not in the same folder of the client computer. How can I get
the real path of my xml data files? Thanks

for example,
execute file path:
C:\Documents and Settings\ABC\Local
Settings\Apps\2.0\ATYXOMR1.MJO\3MBQ94PV.A0L\clic.. tion_4593a29cad7ddd6d_0001.0000_8d6cefa7f90cf08d

xml data path:
C:\Documents and Settings\ABC\Local
Settings\Apps\2.0\ATYXOMR1.MJO\3MBQ94PV.A0L\clic.. .exe_4593a29cad7ddd6d_0001.0000_none_d9f1875ab364a 710
Jul 19 '06 #1
1 1704
Hi James,

Thank you for posting here!

I noticed that you have posted the same question in our
microsoft.public.dotnet.general newsgroup, which I have already responded.
So please check my answer there and if you need any further assistance on
this particular issue, please reply to me in that thread so I can follow up
with you in time.

For your convenience, I have included my reply as follows.

Have you set the Publish Status of the xml file to "Data File"? If so,
after installation, the xml file will be located in the Data directory in
the end user's Local Settings folder. For information on reading from and
writing to the Data directory, you could refer to the following link.

http://msdn2.microsoft.com/en-us/lib...wy(d=ide).aspx

However, you have another option to publish the xml file. You could set the
Publish Status of the xml file to "Include". In this case, after
installation, the xml file will be located in the same path where the
application's executable (.exe) files and assemblies reside. Thus you
could access this xml file directly in your program.

Thank you and have a nice day!
Sincerely,
Linda Liu
Microsoft Online Community Support

Jul 19 '06 #2

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

Similar topics

11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
1
by: moondaddy | last post by:
I have a sample vb .net 2.0 winforms app and am using Oneclick deployment to a remote server. All of the files (DLLs, EXEs, manifests, configs, etc.) seem to get deployed to the target folder on...
3
by: Chris Rennert | last post by:
Hey all, we have a project that we would like to use ClickOnce deployment on, and although it all seems straightforward we are having a few issues concerning SQL Server Express and clickonce. We...
1
by: Andrew86 | last post by:
I have an application which requires a number of DLLs (unmanaged ansi C dlls) to reside in the same directory as the application. I currently have these dlls included in the project folder and...
0
by: Etienne | last post by:
Hi, I am settings up my application to work with ClickOnce deployment. However, after instlling installing an update, the database doesn't get copied. I tried everything I could think of. It is...
3
by: Meelis Lilbok | last post by:
Hi I have made a project with vb.net and publish it(clickonce) On firs laucnh app creates a xml file in startuppath\database\file.xml Now when i update my app and publish it, after...
6
by: Irfan | last post by:
hi, After installing the application in the client machine using ClickOnce, i would like that the client be able to change the database path in the Application.Config file. However, clickonce...
3
by: Peter Wyss | last post by:
Hello! I've a few questions about ClickOnce in VisualStudio 2005. The installation of my application works fine, I published the files on a webserver and installed the app on a winxp client,...
3
by: =?Utf-8?B?Tmlrb2xheSBQb2Rrb2x6aW4=?= | last post by:
Good noon, community! Would you be so kind and help me solve my problem. I need Deploy application through ClickOnce technology. I've configuration file where I assign sensitive data about...
0
by: andrewschools | last post by:
Hi, I'm using ClickOnce for all of my installations and updates. However, when I modify any of the datasets in my application, when a user downloads the new update, all their data saved in their...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.