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
  #1 (permalink)  
Old July 5th, 2004, 10:30 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Files

Hi me again

Now I am practising in file access. I have opened files in various of my folders and done some work on them, no problem. But now I want to open a file on another network computer, how do I go around in doing so ?? I have searched all over the MSDN library I am probably not typeing in the correct search syntax or something... could you take few minutes to help me out guys and girls ??

The Computer name is ABC and the file is in folder FOLDERTEST...

Thanks

Reply With Quote
  #2 (permalink)  
Old July 5th, 2004, 11:12 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am able to do it if I map the drive first to a Drive letter like Z for example but I want to be able to do it with out having to map it before.....
"Z:\\ABC\\FOLDERTEST" - works but not "\\\ABC\\FOLDERTEST"
Reply With Quote
  #3 (permalink)  
Old July 6th, 2004, 05:35 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Melvik, Coderforrent no ideas ?

Reply With Quote
  #4 (permalink)  
Old July 6th, 2004, 10: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

Sorry but I guess u should map it!!! r u going to do this stuff in a Software or what?! what r these Files?! what r they about!? r there ur Codes?! I didnt get:D

Always:),
Hovik Melkomian.
Reply With Quote
  #5 (permalink)  
Old July 6th, 2004, 10:58 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is going to be a directory on another computer with just plain order info in .txt format. I want a Client watching that folder and polling like every 5 secs to see if there is a new order to read in. I want to be able to have this Client on different computers and not having to worry about mapping it on each computer I set up the Client on....

Reply With Quote
  #6 (permalink)  
Old July 6th, 2004, 11:07 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

Do u have to use Text file?! r u sure u dont need any DataBase?!
Using DB is more easier & ...
if u need it, u can map it & check reconnect at login.
Its not bad, if they need to read a file!!!

Always:),
Hovik Melkomian.
Reply With Quote
  #7 (permalink)  
Old July 6th, 2004, 11:11 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is going to be little handheld computers uploading small .txt files to a server and then these Clients are going to read these .txt files and import them into the database... Am I doing this all wrong ?

Reply With Quote
  #8 (permalink)  
Old July 6th, 2004, 11:17 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

Why can the handheld computer not access the database? What about the handhelds accessing a web service?
Reply With Quote
  #9 (permalink)  
Old July 6th, 2004, 11:18 AM
Authorized User
 
Join Date: Jun 2004
Location: , , Iceland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I could use web services I guess.

Well these handhelds aren't always in internet range, so I thought I would make them batch the orders when out of range, into a .txt file and then upload it when in-range...

Reply With Quote
  #10 (permalink)  
Old July 6th, 2004, 10:45 PM
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

Dear ZiqXx: I still think that using DB is much better but if u wanna use .TXT files I guess u have to map it!

Always:),
Hovik Melkomian.
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 11:18 PM.


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