Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
QuestionSIteMap Pin
kibromg15-Apr-09 4:02
kibromg15-Apr-09 4:02 
AnswerRe: SIteMap Pin
hat_master15-Apr-09 6:04
hat_master15-Apr-09 6:04 
GeneralRe: SIteMap Pin
kibromg15-Apr-09 6:36
kibromg15-Apr-09 6:36 
AnswerRe: SIteMap Pin
hat_master15-Apr-09 7:18
hat_master15-Apr-09 7:18 
GeneralRe: SIteMap Pin
kibromg16-Apr-09 0:54
kibromg16-Apr-09 0:54 
QuestionStopping a Windows Service in a Timely Manner... Pin
agent00zelda15-Apr-09 3:42
agent00zelda15-Apr-09 3:42 
AnswerRe: Stopping a Windows Service in a Timely Manner... Pin
PIEBALDconsult15-Apr-09 6:15
mvePIEBALDconsult15-Apr-09 6:15 
GeneralRe: Stopping a Windows Service in a Timely Manner... Pin
agent00zelda15-Apr-09 7:38
agent00zelda15-Apr-09 7:38 
Thank you for your response!!

PIEBALDconsult wrote:
Can those be in their own Services?


Actually, yes, and they are.. I guess I should have mentioned that part Smile | :)

The way I had it implemented before I made the initial post was I pretty much let it finish everything until it was able to submit the data to the other services. But Windows spazzed out because it couldn't stop the main service until it finished the preceding operations.

What I ended up doing was defining like a project "state" DataTable that could be exported and imported again when the service restarts. Your suggestion was well-taken -- pretty much made the current operation finish and then updated the project state based on that. I don't know if using a DataTable is the best approach, but it seems to work much better, since it takes considerably less time to stop the service.

Still open to suggestions if you or anyone can think of a better approach, though!! I guess I'm in a C# experimentation phase Smile | :)
QuestionNeed a clue with Configuration Sections Pin
Optimus Chaos15-Apr-09 3:28
Optimus Chaos15-Apr-09 3:28 
Questionoverload operator + Pin
al3xutzu0015-Apr-09 2:16
al3xutzu0015-Apr-09 2:16 
AnswerRe: overload operator + Pin
Dino Mulahusic15-Apr-09 2:25
professionalDino Mulahusic15-Apr-09 2:25 
AnswerRe: overload operator + Pin
0x3c015-Apr-09 2:28
0x3c015-Apr-09 2:28 
GeneralRe: overload operator + Pin
al3xutzu0015-Apr-09 2:41
al3xutzu0015-Apr-09 2:41 
GeneralRe: overload operator + Pin
0x3c015-Apr-09 3:05
0x3c015-Apr-09 3:05 
GeneralRe: overload operator + Pin
Luc 64801115-Apr-09 3:20
Luc 64801115-Apr-09 3:20 
GeneralRe: overload operator + Pin
OriginalGriff15-Apr-09 4:08
mveOriginalGriff15-Apr-09 4:08 
GeneralRe: overload operator + Pin
DaveyM6915-Apr-09 4:39
professionalDaveyM6915-Apr-09 4:39 
GeneralRe: overload operator + Pin
OriginalGriff15-Apr-09 5:10
mveOriginalGriff15-Apr-09 5:10 
Questionretrieve object multiple return with different types question? Pin
michaellu8815-Apr-09 2:14
michaellu8815-Apr-09 2:14 
AnswerRe: retrieve object multiple return with different types question? Pin
0x3c015-Apr-09 2:24
0x3c015-Apr-09 2:24 
GeneralRe: retrieve object multiple return with different types question? Pin
michaellu8815-Apr-09 15:14
michaellu8815-Apr-09 15:14 
Questionjoin Pin
sheemap15-Apr-09 1:40
sheemap15-Apr-09 1:40 
GeneralRe: join Pin
Pete O'Hanlon15-Apr-09 1:43
mvePete O'Hanlon15-Apr-09 1:43 
GeneralRe: join Pin
sheemap15-Apr-09 1:47
sheemap15-Apr-09 1:47 
GeneralRe: join Pin
Luc 64801115-Apr-09 2:02
Luc 64801115-Apr-09 2:02 

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.