Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problems in .net socket Pin
Justin Perez12-Nov-07 5:13
Justin Perez12-Nov-07 5:13 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi12-Nov-07 5:39
nayabsiddiqi12-Nov-07 5:39 
AnswerRe: Problems in .net socket Pin
Ennis Ray Lynch, Jr.12-Nov-07 6:41
Ennis Ray Lynch, Jr.12-Nov-07 6:41 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi13-Nov-07 1:19
nayabsiddiqi13-Nov-07 1:19 
AnswerRe: Problems in .net socket Pin
Guinness4Strength12-Nov-07 7:08
Guinness4Strength12-Nov-07 7:08 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi13-Nov-07 1:22
nayabsiddiqi13-Nov-07 1:22 
QuestionUser located controls Pin
Ron Modesitt12-Nov-07 4:29
Ron Modesitt12-Nov-07 4:29 
AnswerRe: User located controls Pin
Guinness4Strength12-Nov-07 7:05
Guinness4Strength12-Nov-07 7:05 
GeneralRe: User located controls Pin
Ron Modesitt12-Nov-07 8:33
Ron Modesitt12-Nov-07 8:33 
Questionleft panel Pin
md_refay12-Nov-07 3:37
md_refay12-Nov-07 3:37 
AnswerRe: left panel Pin
leppie12-Nov-07 3:52
leppie12-Nov-07 3:52 
AnswerRe: left panel Pin
Justin Perez12-Nov-07 5:40
Justin Perez12-Nov-07 5:40 
Questionundo and redo realization Pin
Seraph_summer12-Nov-07 3:30
Seraph_summer12-Nov-07 3:30 
AnswerRe: undo and redo realization Pin
leppie12-Nov-07 3:50
leppie12-Nov-07 3:50 
AnswerRe: undo and redo realization Pin
Russell Jones12-Nov-07 7:22
Russell Jones12-Nov-07 7:22 
QuestionC# - Accessing SMB shares Pin
wbjohnson12-Nov-07 3:25
wbjohnson12-Nov-07 3:25 
Hi guys,

I'm trying to access an SMB share hosted on an AS400 server. The server is nothing to do with the domain security. My windows server needs to periodically access this folder and read/write to some files.

The access security is managed by the server. The path is: "\\qfgmas400\STX\mvx_desp". If i try something like:

DirectoryInfo fi = new DirectoryInfo(@"\\qfgmas400\STX\mvx_desp");
FileInfo[] fia = fi.GetFiles();

I get an UnauthorizedAccessException.

Any ideas how i can pass a username and a password to connect to the share?

Cheers
Will
Questionmove to previous and next images Pin
cwah12-Nov-07 3:23
cwah12-Nov-07 3:23 
AnswerRe: move to previous and next images Pin
leppie12-Nov-07 3:49
leppie12-Nov-07 3:49 
Questionmove images Pin
cwah12-Nov-07 3:22
cwah12-Nov-07 3:22 
QuestionHow do i create a desktop application in c#.net on automobile industry? Pin
12nidhi12-Nov-07 3:13
12nidhi12-Nov-07 3:13 
AnswerRe: How do i create a desktop application in c#.net on automobile industry? Pin
Colin Angus Mackay12-Nov-07 3:39
Colin Angus Mackay12-Nov-07 3:39 
GeneralRe: How do i create a desktop application in c#.net on automobile industry? Pin
12nidhi12-Nov-07 6:15
12nidhi12-Nov-07 6:15 
GeneralRe: How do i create a desktop application in c#.net on automobile industry? Pin
Colin Angus Mackay12-Nov-07 6:56
Colin Angus Mackay12-Nov-07 6:56 
AnswerRe: How do i create a desktop application in c#.net on automobile industry? Pin
Pete O'Hanlon12-Nov-07 4:27
mvePete O'Hanlon12-Nov-07 4:27 
QuestionWhy does MemoryStream.Read() corrupt the byte array? Pin
szolDat12-Nov-07 3:10
szolDat12-Nov-07 3:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.