Click here to Skip to main content
15,885,954 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Service Pin
Calla15-Oct-09 1:03
Calla15-Oct-09 1:03 
QuestionI really need some help in C# (serious) Pin
realbadwolf14-Oct-09 20:55
realbadwolf14-Oct-09 20:55 
AnswerRe: I really need some help in C# (serious) Pin
realbadwolf14-Oct-09 21:02
realbadwolf14-Oct-09 21:02 
GeneralRe: I really need some help in C# (serious) Pin
Richard MacCutchan14-Oct-09 22:31
mveRichard MacCutchan14-Oct-09 22:31 
AnswerRe: I really need some help in C# (serious) Pin
Ashfield14-Oct-09 21:05
Ashfield14-Oct-09 21:05 
AnswerMy Vote of 1 Pin
Keith Barrow14-Oct-09 23:10
professionalKeith Barrow14-Oct-09 23:10 
AnswerRe: I really need some help in C# (serious) Pin
Wes Aday15-Oct-09 4:10
professionalWes Aday15-Oct-09 4:10 
QuestionCan Window service Read Log.txt file ,if yes then how? Pin
sunstate14-Oct-09 20:03
sunstate14-Oct-09 20:03 
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.
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 
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 

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.