Click here to Skip to main content
15,887,027 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Windows Service that sends emails Pin
jkirkerx1-Oct-14 11:04
professionaljkirkerx1-Oct-14 11:04 
GeneralRe: Windows Service that sends emails Pin
Garth J Lancaster1-Oct-14 13:46
professionalGarth J Lancaster1-Oct-14 13:46 
GeneralRe: Windows Service that sends emails Pin
PIEBALDconsult1-Oct-14 11:32
mvePIEBALDconsult1-Oct-14 11:32 
GeneralRe: Windows Service that sends emails Pin
jkirkerx1-Oct-14 11:38
professionaljkirkerx1-Oct-14 11:38 
GeneralRe: Windows Service that sends emails Pin
PIEBALDconsult1-Oct-14 11:44
mvePIEBALDconsult1-Oct-14 11:44 
GeneralRe: Windows Service that sends emails Pin
jkirkerx1-Oct-14 11:45
professionaljkirkerx1-Oct-14 11:45 
AnswerRe: Windows Service that sends emails Pin
jschell3-Oct-14 9:11
jschell3-Oct-14 9:11 
GeneralRe: Windows Service that sends emails [Update on my progress] Pin
jkirkerx3-Oct-14 11:05
professionaljkirkerx3-Oct-14 11:05 
Well it dawned on me that I already have a configuration file in the web application that I can adsorb for the database connector string and website name. So I can put the service in the web application. Took me awhile to figure that out.

Perhaps the web application can start the web service, and the service will wait for the date and time to start doing its thing via timer.

So on to my first Windows Service. It's new to me and very frustrating. I just got the base code to work, the framework, so now it
Self Installs
Self Uninstalls
Creates an Event Log
Writes to the Event Log
Connects to the service controller
net start
net stop
net pause
Writes the event log registry entry, and message id file to connect to.

WOW, that was a mind bender. There's help out there, but it's so generic.
Now I know why many said write a console app.

Well now I can go on to writing the job code, and then figure out how to write an id system dll for the event log id's and messages, and register that file.

So I'm going to try reading my config file in the web app first, and see if I can read it, if so I'm on my way to more frustration.
Questionasp:Menu select based on URL Pin
byka1-Oct-14 3:15
byka1-Oct-14 3:15 
AnswerRe: asp:Menu select based on URL Pin
Eddy Vluggen1-Oct-14 3:25
professionalEddy Vluggen1-Oct-14 3:25 
GeneralRe: asp:Menu select based on URL Pin
byka1-Oct-14 3:41
byka1-Oct-14 3:41 
QuestionRe: asp:Menu select based on URL Pin
ZurdoDev1-Oct-14 3:42
professionalZurdoDev1-Oct-14 3:42 
AnswerRe: asp:Menu select based on URL Pin
byka1-Oct-14 4:03
byka1-Oct-14 4:03 
QuestionRe: asp:Menu select based on URL Pin
ZurdoDev1-Oct-14 4:13
professionalZurdoDev1-Oct-14 4:13 
AnswerRe: asp:Menu select based on URL Pin
byka1-Oct-14 4:59
byka1-Oct-14 4:59 
GeneralRe: asp:Menu select based on URL Pin
Eddy Vluggen1-Oct-14 5:07
professionalEddy Vluggen1-Oct-14 5:07 
GeneralRe: asp:Menu select based on URL Pin
Pete O'Hanlon1-Oct-14 5:48
mvePete O'Hanlon1-Oct-14 5:48 
AnswerRe: asp:Menu select based on URL Pin
Member 977403922-Oct-14 3:49
Member 977403922-Oct-14 3:49 
QuestionString to XML convert Pin
byka24-Sep-14 7:40
byka24-Sep-14 7:40 
AnswerRe: String to XML convert Pin
Richard MacCutchan24-Sep-14 21:49
mveRichard MacCutchan24-Sep-14 21:49 
AnswerRe: String to XML convert Pin
Swinkaran2-Oct-14 12:28
professionalSwinkaran2-Oct-14 12:28 
QuestionUpdating on the same Datagrid Pin
VB Developer23-Sep-14 1:07
VB Developer23-Sep-14 1:07 
AnswerRe: Updating on the same Datagrid Pin
Richard MacCutchan23-Sep-14 1:44
mveRichard MacCutchan23-Sep-14 1:44 
AnswerRe: Updating on the same Datagrid Pin
Sibeesh KV6-Oct-14 0:40
professionalSibeesh KV6-Oct-14 0:40 
QuestionRFID Program Pin
Arief Hidayat22-Sep-14 3:38
Arief Hidayat22-Sep-14 3:38 

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.