Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lock and Queue multiple tasks of Writing to Note Pad

Status
Not open for further replies.

kuttapan

Programmer
Jan 27, 2005
11
US
Hello,

In a VisualBasic application, there will be multiple tasks writing to a notepad.

Is there a module in VisualBasic that will queue each task and write them one by one. Please help on the same if there is any suggestion/solution.

Regards,
Kuttapan.
 
Wow. The vague questions are just flowing today...

could you please give some more details of what you are trying to accomplish? Also, read FAQ222-2244 on how to get better answers to your questions.
 
Hello.
I am sorry if my question was vague.

Ok here is my scenario.

I have a Server(Com + ) in which I am handling errors by writing the error number and description to a error log. There are a number of clients that hit the server.
Now there could be a possibility that there could be multiple errors at the same time which might lock the error log.

I want to implement a queue module that will queue each incoming error if there are multiple onces so that it does not lock the log file and write each log one after the other.

Hope this will make it clear. All my coding is in Visual Basic.

Thanks,
Kuttapan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top