Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: Self excutable file Pin
Guffa1-Oct-07 5:50
Guffa1-Oct-07 5:50 
GeneralRe: Self excutable file Pin
zafax_1-Oct-07 6:38
zafax_1-Oct-07 6:38 
GeneralRe: Self excutable file Pin
Dave Kreskowiak1-Oct-07 11:57
mveDave Kreskowiak1-Oct-07 11:57 
GeneralRe: Self excutable file Pin
zafax_1-Oct-07 20:00
zafax_1-Oct-07 20:00 
GeneralRe: Self excutable file Pin
Dan Neely1-Oct-07 7:02
Dan Neely1-Oct-07 7:02 
GeneralRe: Self excutable file Pin
Dave Kreskowiak1-Oct-07 4:50
mveDave Kreskowiak1-Oct-07 4:50 
QuestionNotifyChangeEventLog sub in C# Pin
Programm3r1-Oct-07 1:48
Programm3r1-Oct-07 1:48 
AnswerRe: NotifyChangeEventLog sub in C# Pin
Programm3r1-Oct-07 2:53
Programm3r1-Oct-07 2:53 
using System;
using System.Diagnostics;
using System.Threading;
              
class MySample{

    // This member is used to wait for events.
    static AutoResetEvent signal;

    public static void Main(){
    
    
        EventLog myNewLog = new EventLog();
        myNewLog.Log = "MyCustomLog";                      
        
        myNewLog.EntryWritten += new EntryWrittenEventHandler(MyOnEntryWritten);
        myNewLog.EnableRaisingEvents = true;
        
        
    signal = new AutoResetEvent(false);
    signal.WaitOne();        

    }       

    public static void MyOnEntryWritten(object source, EntryWrittenEventArgs e){
        signal.Set();
    }
}




The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

QuestionHigh Performance Distributed Application Pin
GChannon1-Oct-07 1:37
GChannon1-Oct-07 1:37 
AnswerRe: High Performance Distributed Application Pin
Scott Dorman1-Oct-07 3:03
professionalScott Dorman1-Oct-07 3:03 
AnswerRe: High Performance Distributed Application Pin
Pete O'Hanlon1-Oct-07 3:29
mvePete O'Hanlon1-Oct-07 3:29 
QuestionCheck taskbar flashing Pin
Scalee1-Oct-07 1:13
Scalee1-Oct-07 1:13 
AnswerRe: Check taskbar flashing Pin
Mandaar Kulkarni1-Oct-07 1:32
Mandaar Kulkarni1-Oct-07 1:32 
AnswerRe: Check taskbar flashing Pin
TJoe1-Oct-07 2:17
TJoe1-Oct-07 2:17 
GeneralRe: Check taskbar flashing Pin
Scalee1-Oct-07 2:19
Scalee1-Oct-07 2:19 
GeneralRe: Check taskbar flashing Pin
TJoe1-Oct-07 3:14
TJoe1-Oct-07 3:14 
QuestionHow to define some default button in Form that hold some UserControl ? Pin
Yanshof1-Oct-07 0:53
Yanshof1-Oct-07 0:53 
AnswerRe: How to define some default button in Form that hold some UserControl ? Pin
Christian Graus1-Oct-07 1:13
protectorChristian Graus1-Oct-07 1:13 
GeneralBut i getting Focus always on some button in the UserControl ... Pin
Yanshof1-Oct-07 4:02
Yanshof1-Oct-07 4:02 
GeneralRe: But i getting Focus always on some button in the UserControl ... Pin
Dave Kreskowiak1-Oct-07 4:47
mveDave Kreskowiak1-Oct-07 4:47 
QuestionEncoding problem Pin
Muammar©1-Oct-07 0:23
Muammar©1-Oct-07 0:23 
AnswerRe: Encoding problem Pin
J4amieC1-Oct-07 0:48
J4amieC1-Oct-07 0:48 
GeneralRe: Encoding problem Pin
Muammar©1-Oct-07 3:26
Muammar©1-Oct-07 3:26 
AnswerRe: Encoding problem Pin
Muammar©1-Oct-07 3:23
Muammar©1-Oct-07 3:23 
QuestionHow to execute a command in a string? Pin
Seraph_summer1-Oct-07 0:01
Seraph_summer1-Oct-07 0:01 

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.