Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
QuestionCan Window service Read Log.txt file ,if yes then how? Pin
sunstate14-Oct-09 20:03
sunstate14-Oct-09 20:03 
AnswerRe: Can Window service Read Log.txt file ,if yes then how? Pin
SeMartens14-Oct-09 20:08
SeMartens14-Oct-09 20:08 
AnswerRe: Can Window service Read Log.txt file ,if yes then how? Pin
sunstate14-Oct-09 20:20
sunstate14-Oct-09 20:20 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Ashfield14-Oct-09 21:09
Ashfield14-Oct-09 21:09 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
sunstate15-Oct-09 0:07
sunstate15-Oct-09 0:07 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Ashfield15-Oct-09 1:29
Ashfield15-Oct-09 1:29 
GeneralRe: Can Window service Read Log.txt file ,if yes then how? Pin
Thomas Krojer15-Oct-09 0:01
Thomas Krojer15-Oct-09 0:01 
QuestionCan Window service Read Log.txt file ,if yes then how? Pin
ketanbparmar12345679814-Oct-09 20:00
ketanbparmar12345679814-Oct-09 20:00 
I have create one file in c drive which and write in it and try to read from window service . Account:Local System, but it Cann't get any thing
Protected Overrides Sub OnStart(ByVal args() As String)
If Not File.Exists("C:\DevLog.txt") Then
EventLog1.WriteEntry("File Not Exist")
Else
Dim sr As StreamReader = New StreamReader("C:\DevLog.txt")
Dim tempstr As String = sr.ReadToEnd
If tempstr = "" Then
Else
EventLog1.WriteEntry("Get File Name")
st = tempstr
End If
sr.Close()
End If
End sub

Thanks in Advance.
QuestionEnabling and Disabling Toolbar buttons.... Pin
hariakuthota14-Oct-09 18:05
hariakuthota14-Oct-09 18:05 
AnswerRe: Enabling and Disabling Toolbar buttons.... Pin
luisnike1915-Oct-09 6:25
luisnike1915-Oct-09 6:25 
QuestionInsert data from excel to access by using C# Pin
Nine_14-Oct-09 17:05
Nine_14-Oct-09 17:05 
AnswerRe: Insert data from excel to access by using C# Pin
Abhijit Jana14-Oct-09 17:15
professionalAbhijit Jana14-Oct-09 17:15 
GeneralRe: Insert data from excel to access by using C# Pin
Nine_14-Oct-09 19:01
Nine_14-Oct-09 19:01 
QuestionAppDomain Problem Pin
dataminers14-Oct-09 11:59
dataminers14-Oct-09 11:59 
AnswerRe: AppDomain Problem Pin
PIEBALDconsult14-Oct-09 13:29
mvePIEBALDconsult14-Oct-09 13:29 
AnswerIgnore repost Pin
Not Active14-Oct-09 14:41
mentorNot Active14-Oct-09 14:41 
AnswerRe: AppDomain Problem Pin
Not Active14-Oct-09 14:43
mentorNot Active14-Oct-09 14:43 
GeneralRe: AppDomain Problem Pin
dataminers14-Oct-09 21:19
dataminers14-Oct-09 21:19 
AnswerMy Vote of 1: Do not repost Pin
Keith Barrow15-Oct-09 1:14
professionalKeith Barrow15-Oct-09 1:14 
Questionwhere to chane the company name in vs2005 Pin
cjoki14-Oct-09 11:54
cjoki14-Oct-09 11:54 
AnswerRe: where to chane the company name in vs2005 Pin
cjoki14-Oct-09 12:20
cjoki14-Oct-09 12:20 
QuestionWhy changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
Member 372226114-Oct-09 9:45
Member 372226114-Oct-09 9:45 
AnswerRe: Why changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
DaveyM6914-Oct-09 10:29
professionalDaveyM6914-Oct-09 10:29 
GeneralRe: Why changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
Member 372226114-Oct-09 20:21
Member 372226114-Oct-09 20:21 
GeneralRe: Why changing the CurrentCulture.DateTimeFormat.ShortTimePattern doesn't affect the DateTime.now format Pin
DaveyM6914-Oct-09 22:33
professionalDaveyM6914-Oct-09 22:33 

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.