Click here to Skip to main content
15,880,469 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert image to text C# Pin
Dave Kreskowiak24-Aug-14 18:32
mveDave Kreskowiak24-Aug-14 18:32 
AnswerRe: Convert image to text C# Pin
V.24-Aug-14 23:02
professionalV.24-Aug-14 23:02 
QuestionHow to set and get custom properties to any file or folder (ntfs filesystem) Pin
PatrikAb24-Aug-14 4:56
PatrikAb24-Aug-14 4:56 
AnswerRe: How to set and get custom properties to any file or folder (ntfs filesystem) Pin
Richard MacCutchan24-Aug-14 6:49
mveRichard MacCutchan24-Aug-14 6:49 
QuestionWindows Service Question Pin
Jassim Rahma23-Aug-14 22:03
Jassim Rahma23-Aug-14 22:03 
QuestionRe: Windows Service Question Pin
Richard MacCutchan23-Aug-14 22:43
mveRichard MacCutchan23-Aug-14 22:43 
AnswerRe: Windows Service Question Pin
Jassim Rahma23-Aug-14 22:48
Jassim Rahma23-Aug-14 22:48 
GeneralRe: Windows Service Question Pin
Eddy Vluggen24-Aug-14 0:25
professionalEddy Vluggen24-Aug-14 0:25 
Let's take a look at that.

Jassim Rahma wrote:
The process was terminated due to an unhandled exception.
So, there's some exception that caused the application to terminate. The stacktrace shows also on which line this exception occured:
C#
System.Diagnostics.EventLog.CreateEventSource("MySource", "MyNewLog");
Since it is an ArgumentException, we check MSDN[^] for the arguments required and a list of when this exception might be thrown:

  • source is an empty string ("") or null.
  • logName is not a valid event log name. Event log names must consist of printable characters, and cannot include the characters '*', '?', or '\'.
  • logName is not valid for user log creation. The event log names AppEvent, SysEvent, and SecEvent are reserved for system use.
  • The log name matches an existing event source name.
  • The source name results in a registry key path longer than 254 characters.
  • The first 8 characters of logName match the first 8 characters of an existing event log name.
  • The source cannot be registered because it already exists on the local computer.
  • The source name matches an existing event log name.

Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Windows Service Question Pin
Richard MacCutchan24-Aug-14 0:40
mveRichard MacCutchan24-Aug-14 0:40 
AnswerInconsistent names Pin
peterkmx24-Aug-14 1:01
professionalpeterkmx24-Aug-14 1:01 
GeneralRe: Inconsistent names Pin
Jassim Rahma24-Aug-14 2:02
Jassim Rahma24-Aug-14 2:02 
GeneralRe: Inconsistent names Pin
Wes Aday24-Aug-14 4:12
professionalWes Aday24-Aug-14 4:12 
AnswerRe: Windows Service Question Pin
Dave Kreskowiak24-Aug-14 6:55
mveDave Kreskowiak24-Aug-14 6:55 
AnswerRe: Windows Service Question Pin
Gerry Schmitz25-Aug-14 11:09
mveGerry Schmitz25-Aug-14 11:09 
QuestionSoftware Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 5:21
Jassim Rahma22-Aug-14 5:21 
AnswerRe: Software Protection vs Dongle Protection Pin
OriginalGriff22-Aug-14 5:42
mveOriginalGriff22-Aug-14 5:42 
AnswerRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 6:55
professionalEddy Vluggen22-Aug-14 6:55 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 8:01
Jassim Rahma22-Aug-14 8:01 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 8:33
professionalEddy Vluggen22-Aug-14 8:33 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 9:32
Jassim Rahma22-Aug-14 9:32 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 11:52
professionalEddy Vluggen22-Aug-14 11:52 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 11:54
Jassim Rahma22-Aug-14 11:54 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen23-Aug-14 1:12
professionalEddy Vluggen23-Aug-14 1:12 
GeneralRe: Software Protection vs Dongle Protection Pin
Bernhard Hiller24-Aug-14 21:15
Bernhard Hiller24-Aug-14 21:15 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen25-Aug-14 0:32
professionalEddy Vluggen25-Aug-14 0:32 

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.