I need to retrieve and open a file stored on a Unix server on a ne

C#

    Next

  • 1. Scale fonts
    Hi, anyone knows if a Font can be scaled only in one dimension (width or height). The result would be a Font that would have the same height and double wide, for example. Thanks
  • 2. custom collection editor
    Hi, Every time that i want to create a customer Collection editor, should i create it from scratch or is there a template similar to standard collection editor that we can customize ? thanks. Al.
  • 3. Get process full path
    Hi, I want to check if in this computer have outlook a programe. If yes --> System.Diagnostics.Process.Start ("OUTLOOK.EXE"); How to check if no?? if no --> some msg... How can I check it? How to get OUTLOOK.EXE path and ask: File.Exists(path) I'm using vs.net 2003 Thank's, Yael.
  • 4. REG_BINARY to meaningful text
    Hi, Can anyone please tell me how to retrieve meaningful value from registry value in REG_Binary type? I tried to convert REG_Binary value to string using the following code. RegistryKey objKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\ \MICROSOFT\\WZCSVC\\PARAMETERS\\INTERFACES\Cheetag"); byte[] ans = (byte[])objKey.GetValue("ActiveSettings"); string sString = System.Text.Encoding.ASCII.GetString(ans); string[] sArray = sString.Split('\0'); sString = ""; foreach (string s in sArray) { sString += s; } MessageBox.Show(sString); sString shows some characters, which could not be understood. How to convert the REG_BINARY value to a meaningful text? Please let me know. Thanks in advance Srinivasan
  • 5. forcing combobox elements
    Hello, I have a C# project with a windows Form. In the form I have a ComboBox. I would like to force the user to choose one of the entries in the combobox, and not allow him/her to edit the content of the entry chosen. Is this possible in some easy and elegant way? thanks, -- dshemesh

I need to retrieve and open a file stored on a Unix server on a ne

Postby UHVjY2E » Thu, 29 Mar 2007 09:18:53 GMT

I need to retrieve and open a file stored on a Unix server on a network and 
opens the file as a delimited text file.  I'm using VS2005, .net 2.0 and C#. 
What's the best way to do this and if there's any sample code online?
The user would enter something like;
\\serverName\filename
or 
\\ipaddress 
-- 
Thanks.

Re: I need to retrieve and open a file stored on a Unix server on a ne

Postby Masterchief » Thu, 29 Mar 2007 14:14:36 GMT

Hy!

I don think that it makes any difference where the file is. If you can see 
it in your windows explorer you should be able to open it.
You can use the StreamReader class for this.
Otherwise you could check out Mono. This is a C# framework for Unix.
Hope this helps.

Ronny

"Pucca" < XXXX@XXXXX.COM > schrieb im Newsbeitrag 





Similar Threads:

1.I need to retrieve and open a file stored on a Unix server on

Thank you.  I found an example using FTP and yet to try it to connect to the 
unix server then I'll use the steamReader to read the file.
-- 
Thanks.


"Masterchief" wrote:

> Hy!
> 
> I dont think that it makes any difference where the file is. If you can see 
> it in your windows explorer you should be able to open it.
> You can use the StreamReader class for this.
> Otherwise you could check out Mono. This is a C# framework for Unix.
> Hope this helps.
> 
> Ronny
> 
> "Pucca" < XXXX@XXXXX.COM > schrieb im Newsbeitrag 
> news: XXXX@XXXXX.COM ...
> >I need to retrieve and open a file stored on a Unix server on a network and
> > opens the file as a delimited text file.  I'm using VS2005, .net 2.0 and 
> > C#.
> > What's the best way to do this and if there's any sample code online?
> > The user would enter something like;
> > \\serverName\filename
> > or
> > \\ipaddress
> > -- 
> > Thanks. 
> 
> 
> 

2.Powershell: Script to retrieve path of file given the filename on a remote unix server

3.problem opening freehand files stored in linux server

hi,
 i have mac and i work using a file server that has a linux. The problem is 
that when i saved a freehand file, after cloosing the program and reconect to 
the local server, i try to open the file but freehand ask me for the images the 
the document has. Is like freehand forget the links of the images or can't find 
it in a linux server where they are when i create the file.

 Anyone knows what can i do?
 thanks

4.SQL Server 2005 - Performance - Writing stored procedure in C# .Ne

I have a stored procedure which is having multiple cursors. These cursors are 
affecting the performance of SP. 

With SQL Server 2005 we can write the SP in C#. If I replace those cursors 
with for/while loop of C# code then will there be any performance benefit 
with it?

Can anybody tell me what internally happens when we write code in C#? How it 
process the C# code?

Atul Sureka

5.WinForm Retrieve Excel file from SQL Server and Open it

Hi,

My Excel .xls files are stored as image on the SQL Server.
Now I would like to retrieve the .xls files and open it.
I use the FileStream and write it on client pc's C;\.
How do I open it in the C# code, so that user won't need to go the file 
explorer to open?
Thanks for help.


Jason 


6. How to retrieve soap fault messages returned by AXIS server in .Ne

7. Need reference for storing/retrieving .wav files in Sql2000

8. Using Output Parameters from SQL Server Stored Procedure to ASP.NE



Return to C#

 

Who is online

Users browsing this forum: No registered users and 49 guest