C# console application

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-04-12T10:44:39Z Indexed on 2010/04/12 10:53 UTC
Read the original article Hit count: 350

Filed under:
|
|

I have sample exe say console.exe on "programfiles\myAppFolder" .It serves the purpose of logging the message to eventviewer

EventLog.WriteEntry(sSource, sEvent, EventLogEntryType.Warning,  234);

But whenever I click on the exe

I need to call this exe on un-install of appcn from NSIS script .However it gives me an error always that "thisappConsole has encountered a problem and needs to close. We are sorry for the inconvenience."

Can anyone help me with this.

If I put any other sample consoleapp without any additional "using statements". it works ..

© Stack Overflow or respective owner

Related posts about c#

Related posts about console