Click here to Skip to main content
15,849,678 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help File Authoring Pin
Pete O'Hanlon10-Sep-12 5:05
subeditorPete O'Hanlon10-Sep-12 5:05 
AnswerRe: Help File Authoring Pin
Bernhard Hiller10-Sep-12 23:07
Bernhard Hiller10-Sep-12 23:07 
AnswerRe: Help File Authoring Pin
BobJanova11-Sep-12 1:26
BobJanova11-Sep-12 1:26 
QuestionSystem.AccessViolationException openfiledialog win7 Pin
Rahul Sabharwal10-Sep-12 2:29
Rahul Sabharwal10-Sep-12 2:29 
AnswerRe: System.AccessViolationException openfiledialog win7 Pin
Eddy Vluggen10-Sep-12 2:40
professionalEddy Vluggen10-Sep-12 2:40 
GeneralRe: System.AccessViolationException openfiledialog win7 Pin
Rahul Sabharwal10-Sep-12 2:47
Rahul Sabharwal10-Sep-12 2:47 
GeneralRe: System.AccessViolationException openfiledialog win7 Pin
Eddy Vluggen10-Sep-12 3:31
professionalEddy Vluggen10-Sep-12 3:31 
QuestionNamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 1:10
True_Posi10-Sep-12 1:10 
Hello!

I created a process containing a NamedPipeServerStream and second process NamedPipeClientStream.

I managed to establish communication between both processes on the same server. Is also worked on two different computers over the network, after I created the same USER and Password on both computers.

But it only worked, if after i assigend the group "Administartors" to the users. Is it possible to establish connection between without beeing Administrator?

My first Try:
C#
NamedPipeServerStream m_PipeServerStream = new NamedPipeServerStream(
    Properties.Settings.Default.PIPE_NAME
    , PipeDirection.InOut
    , SERVER_THREADS
    , PipeTransmissionMode.Byte
    , PipeOptions.Asynchronous
    , BUFFER_SIZE_kB
    , BUFFER_SIZE_kB);

if (Properties.Settings.Default.SERVER_USER.Count > 0)
{
    foreach (string item in Properties.Settings.Default.SERVER_USER)
    {
        m_PipeServerStream.GetAccessControl().AddAccessRule(new PipeAccessRule(
            item
            , PipeAccessRights.ReadWrite
            , System.Security.AccessControl.AccessControlType.Allow));
    }
}

AnswerRe: NamedPipeServerStream.GetAccessControl Pin
Eddy Vluggen10-Sep-12 2:43
professionalEddy Vluggen10-Sep-12 2:43 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 3:25
True_Posi10-Sep-12 3:25 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
Eddy Vluggen10-Sep-12 3:42
professionalEddy Vluggen10-Sep-12 3:42 
GeneralRe: NamedPipeServerStream.GetAccessControl Pin
True_Posi10-Sep-12 4:11
True_Posi10-Sep-12 4:11 
QuestionWhere clause in subcollection Pin
Mark Vloerjans9-Sep-12 22:18
Mark Vloerjans9-Sep-12 22:18 
QuestionRe: Where clause in subcollection Pin
Wayne Gaylard10-Sep-12 2:12
professionalWayne Gaylard10-Sep-12 2:12 
AnswerRe: Where clause in subcollection Pin
Pete O'Hanlon10-Sep-12 2:51
subeditorPete O'Hanlon10-Sep-12 2:51 
AnswerRe: Where clause in subcollection Pin
BobJanova11-Sep-12 1:31
BobJanova11-Sep-12 1:31 
QuestionHow to convert HTML file to Excel in C# Pin
atma0019-Sep-12 21:29
atma0019-Sep-12 21:29 
AnswerRe: How to convert HTML file to Excel in C# Pin
Eddy Vluggen9-Sep-12 23:14
professionalEddy Vluggen9-Sep-12 23:14 
GeneralRe: How to convert HTML file to Excel in C# Pin
atma00110-Sep-12 7:32
atma00110-Sep-12 7:32 
GeneralRe: How to convert HTML file to Excel in C# Pin
Eddy Vluggen11-Sep-12 2:42
professionalEddy Vluggen11-Sep-12 2:42 
Questionhow can i create an interface for crystal report at user end Pin
rajeeshsays9-Sep-12 14:26
rajeeshsays9-Sep-12 14:26 
AnswerCross post Pin
Wes Aday9-Sep-12 14:59
professionalWes Aday9-Sep-12 14:59 
AnswerRe: how can i create an interface for crystal report at user end Pin
PIEBALDconsult9-Sep-12 20:42
mvePIEBALDconsult9-Sep-12 20:42 
QuestionWindows 7 and task bar - left side in C# Pin
fakir4459-Sep-12 13:25
fakir4459-Sep-12 13:25 
AnswerRe: Windows 7 and task bar - left side in C# Pin
Mycroft Holmes9-Sep-12 15:31
professionalMycroft Holmes9-Sep-12 15:31 

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.