Posts by Paulo Moraes • 31 points
2 posts
-
0
votes1
answer109
viewsQ: HOW TO SAVE A SUBSCRIBE RETURN IN A VARIABLE?
My basic code: ngOnInit() { const today = Date.now() this._schedulesService.getSchedules().subscribe( (res: SchedulesModel[]) => { this.schedulesToday = res this.schedulesToday.filter((schedule:…
-
2
votes2
answers582
viewsQ: Is it possible to run an . EXE application from a Windows Service?
This is an excerpt from the code: protected override void OnStart(string[] args) { Process.Start(@"C:\path\<file.exe>"); } protected override void OnStop() { } I wish I could run a . exe…