Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old July 7th, 2004, 03:52 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
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.

Reply With Quote
  #12 (permalink)  
Old July 7th, 2004, 04:30 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
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 ?

Reply With Quote
  #13 (permalink)  
Old July 7th, 2004, 07:55 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
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.
Reply With Quote
  #14 (permalink)  
Old July 7th, 2004, 08:03 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
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.

Reply With Quote
  #15 (permalink)  
Old July 7th, 2004, 11:50 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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.
Reply With Quote
  #16 (permalink)  
Old July 7th, 2004, 05:25 PM
tnd tnd is offline
Authorized User
 
Join Date: Jun 2004
Location: , , .
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"

Reply With Quote
  #17 (permalink)  
Old July 8th, 2004, 05:10 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
  #18 (permalink)  
Old July 20th, 2004, 02:39 PM
Authorized User
 
Join Date: Jul 2004
Location: , , .
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.