473,387 Members | 1,483 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,387 software developers and data experts.

where should the client app write the xml file to?

Hello,

I have a winform app that end users in my company use for various operations
- mainly searching stuff. It is a VB2005 app. People enter parameters and
want to be able to recall what parameters they have entered. Right now I
have them enter their params into a dataTable/datagridview and I have the
dataTable write its contents to the local workstation in xml format when the
user is finished. But if a user is not at their workstation and login to the
app from another workstation on our intranet, they won't be able to read the
xml file on their workstation. Is there any (other) logical place for the
app to write the xml file to so it can be accessed from any workstation or
remotely? Is it possible to write the file (distinguished by UserID for
example) to our webserver? How to do this?

Thanks,
Rich
Oct 26 '06 #1
2 1085

Rich wrote:
Hello,

I have a winform app that end users in my company use for various operations
- mainly searching stuff. It is a VB2005 app. People enter parameters and
want to be able to recall what parameters they have entered. Right now I
have them enter their params into a dataTable/datagridview and I have the
dataTable write its contents to the local workstation in xml format when the
user is finished. But if a user is not at their workstation and login to the
app from another workstation on our intranet, they won't be able to read the
xml file on their workstation. Is there any (other) logical place for the
app to write the xml file to so it can be accessed from any workstation or
remotely? Is it possible to write the file (distinguished by UserID for
example) to our webserver? How to do this?

Thanks,
Rich
Rich,

If users have roaming profiles you could place the xml file into their
application directory.

Saving to a server that everyone has access to is also an option. Is
there a shared drive that is shared amongst your users. If you are on
an Active Directory domain you could pick up the users logon name and
use this to create directories to store the xml file in.

Steve

Oct 26 '06 #2
HI Steve,

Thanks for your reply. I like the Active Directory Idea. I do believe we
are on an active directory domain (win2003 server, all workstations are xp
pro). I currently don't have much time in grade dealing with Active
Directory. Is it possible to use regular file operations to create a
directory in the Active Directory Domain? May I ask how I go about creating
these user directories and how I aim the xml file to it?

Imports System.IO.File
Imports System.xml
....
If Exists("ActiveDir\JoeS")
dataTbl.ReadXML("ActiveDir\JoeS\param.xml")
Else
Directory.CreateDirectory(ActiveDir\JoeS")
End If
....
dataTbl.WiriteXML("ActiveDir\JoeS")
....
Thanks,
Rich

"Jester98x" wrote:
>
Rich wrote:
Hello,

I have a winform app that end users in my company use for various operations
- mainly searching stuff. It is a VB2005 app. People enter parameters and
want to be able to recall what parameters they have entered. Right now I
have them enter their params into a dataTable/datagridview and I have the
dataTable write its contents to the local workstation in xml format when the
user is finished. But if a user is not at their workstation and login to the
app from another workstation on our intranet, they won't be able to read the
xml file on their workstation. Is there any (other) logical place for the
app to write the xml file to so it can be accessed from any workstation or
remotely? Is it possible to write the file (distinguished by UserID for
example) to our webserver? How to do this?

Thanks,
Rich

Rich,

If users have roaming profiles you could place the xml file into their
application directory.

Saving to a server that everyone has access to is also an option. Is
there a shared drive that is shared amongst your users. If you are on
an Active Directory domain you could pick up the users logon name and
use this to create directories to store the xml file in.

Steve

Oct 26 '06 #3

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

Similar topics

1
by: Justin Stockton | last post by:
I recently upgraded from ActivePython 2.2.2 to ActivePython 2.3.2 and I'm running into an issue importing the win32com.client module. Before installing the new version, I made sure to properly...
0
by: Jonas Oholm (Sweden) | last post by:
Hi I'm using the following ASP-page (taken from http://support.microsoft.com/default.aspx?scid=kb;en-us;216829) to dump client certificates from an SSL connection to a file on the webserver. It...
26
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via...
2
by: cedced | last post by:
Hello, is it possible to access client files in VB.NET? What? I have doing that but it isn't good (VB.NET take file on pc server and not on pc client): (thanks) Dim fichier As StreamReader ...
2
by: Sky | last post by:
Basically, I'm stumped on how to translate something I wrote in PHP to ASP.NET, and I'm having a hard time figuring out what is right way to do it now... The scenario in PHP was as follows: I...
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
9
by: CGW | last post by:
I asked the question yesterday, but know better how to ask it, today: I'm trying to use the File.Copy method to copy a file from a client to server (.Net web app under IIS ). It looks to me that...
1
by: rdemyan via AccessMonster.com | last post by:
I'm trying to implement a licensing scheme. There are three types of licenses: Trial - good for 30 to 60 days Interim - good for 1 year Fully Paid - no expiration Everything is working fine...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
1
by: captainwin | last post by:
Here's the problem: - Website is ASP.NET 1.0 - Server is Windows Server 2003 - Browser is IE 6/7 - Client requests a mail merged MS Word 97 - 2003 document on the website, and the document gets...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
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...

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.