Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Why does MemoryStream.Read() corrupt the byte array? Pin
Guffa12-Nov-07 3:18
Guffa12-Nov-07 3:18 
AnswerRe: Why does MemoryStream.Read() corrupt the byte array? Pin
szolDat12-Nov-07 3:49
szolDat12-Nov-07 3:49 
GeneralRe: Why does MemoryStream.Read() corrupt the byte array? Pin
leppie12-Nov-07 3:51
leppie12-Nov-07 3:51 
GeneralRe: Why does MemoryStream.Read() corrupt the byte array? Pin
szolDat12-Nov-07 4:32
szolDat12-Nov-07 4:32 
GeneralRe: Why does MemoryStream.Read() corrupt the byte array? Pin
Guffa12-Nov-07 6:50
Guffa12-Nov-07 6:50 
QuestionCreating Custom Control in C# Pin
Abhijit Jana12-Nov-07 2:45
professionalAbhijit Jana12-Nov-07 2:45 
AnswerRe: Creating Custom Control in C# Pin
Eduard Keilholz12-Nov-07 3:04
Eduard Keilholz12-Nov-07 3:04 
GeneralRe: Creating Custom Control in C# Pin
Abhijit Jana12-Nov-07 3:11
professionalAbhijit Jana12-Nov-07 3:11 

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.