954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

c# windows server 2003

hi all..

how can i read a list of files in various folders in windows server 2003 and then display the list in c# program.

i heard there is some code to link between windows server 2003 and c#, but it is nowhere to be found.( or i couldn't find it. )

or is there any other way to do it??

songkok
Newbie Poster
6 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

What's the difference to run C# code on Windows Server 2003 and XP, Vista or even Windows 7?
All is one, Just read in DirectoryInfo and FileInfo classes part from System.IO namespace.
If you search in this forum you'll find a similar thread too.

Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276
 
What's the difference to run C# code on Windows Server 2003 and XP, Vista or even Windows 7?

oh, thanks for quick reply. but i dont want the c# software to run in windows server 2003.

the software is run locally in the computer but it needs to read a list of data in the server ( which happened to be windows server 2003 ).
This list of data is updated daily and i need the program to list the data in the server right after i open this program.

songkok
Newbie Poster
6 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

works exactly the same for a mounted share as it would locally.

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

So, what do you need?? Do you face network problem? or you survey our opinion :D?

Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276
 

no.. i need some suggestions how to effectively code and connect between windows server 2003 and c#.:'(

link to other similar threads or tutorials also appreciable.
;)

songkok
Newbie Poster
6 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

Then I go back to what RamyMahrous said, it works the same as XP etc, so, get googling on how to look at file and directory structures.

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You