Wrox Programmer Forums
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2004, 03:52 AM
Authorized User
 
Join Date: Jun 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Roger, thanks alot guys for getting me to think about. I guess I am going to try to go with the database.

 
Old July 7th, 2004, 04:30 AM
Authorized User
 
Join Date: Jun 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What do you guys think if I just batched the orders on the handheld in a .txt file then as it would get connected the client on the handheld would read it in again and send it to the db... ???

Or should I have a little CE sql on the handheld running ?

 
Old July 7th, 2004, 07:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

if u still insists to use .txt file & then put in DB!
You can also import them to DB from .txt files but u should give a format for that!! what format u r using?!

Always:),
Hovik Melkomian.
 
Old July 7th, 2004, 08:03 AM
Authorized User
 
Join Date: Jun 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I cancelled the .txt format, I am going to run the SQL CE on each of the handhelds and batch the info that way. Much more secure and easier to maintain... Thanks for all you help guys.

 
Old July 7th, 2004, 11:50 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Perhaps you should consider saving the data to an XML dataset on the handheld. This would simplify the local saving of the data if you can't reach the server and not require the use of SQL CE. By using an XML dataset you can utilize all the System.Data functionality and work against that until you can reach the server again. Then you can update the server with the data in the dataset and purge the local dataset XML file.
 
Old July 7th, 2004, 05:25 PM
tnd tnd is offline
Authorized User
 
Join Date: Jun 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is a very simple solution to your problem unless you have one of those very strange networks.
You're problem is
"Z:\\ABC\\FOLDERTEST" - works but not "\\\ABC\\FOLDERTEST"
What you need instead of "Z:" is the UNC path. Let's say Z: is mapped to CPU1\Share1
Then "Z:\\ABC\\FOLDERTEST" is the same as "\\\\CPU1\\Share1\\ABC\\FOLDERTEST"

 
Old July 8th, 2004, 05:10 AM
Authorized User
 
Join Date: Jun 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Worked like a charm tnd. Thanks alot for your help, much appriciated !

 
Old July 20th, 2004, 02:39 PM
Authorized User
 
Join Date: Jul 2004
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default

You may also want to make sure you have access rights on the computer from which you are trying to retrieve the file. But I agree with melvik... use a database of some type.


www.CoderForRent.com
Get A Computer Job!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating Excel FIles from resource Files abinashpatra ASP.NET 1.0 and 1.1 Basics 0 July 28th, 2008 02:07 AM
compare 2 files and output third files mtnguye6 VBScript 0 April 14th, 2008 11:03 AM
.php files vs .html files pbuongiovanni PHP How-To 2 January 5th, 2006 04:15 AM
decrypt files from zip files mmmobasher VS.NET 2002/2003 0 January 21st, 2004 03:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.