DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   c# windows server 2003 (http://www.daniweb.com/forums/thread166421.html)

songkok Jan 6th, 2009 1:35 am
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??

Ramy Mahrous Jan 6th, 2009 2:13 am
Re: c# windows server 2003
 
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.

songkok Jan 6th, 2009 7:04 am
Re: c# windows server 2003
 
Quote:

Originally Posted by RamyMahrous (Post 771733)
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.

LizR Jan 6th, 2009 7:28 am
Re: c# windows server 2003
 
works exactly the same for a mounted share as it would locally.

Ramy Mahrous Jan 6th, 2009 9:32 am
Re: c# windows server 2003
 
So, what do you need?? Do you face network problem? or you survey our opinion :D?

songkok Jan 7th, 2009 7:59 am
Re: c# windows server 2003
 
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.
;)

LizR Jan 7th, 2009 8:08 am
Re: c# windows server 2003
 
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.


All times are GMT -4. The time now is 7:22 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC