Solved

Method to notify remote vb.net application user that form is in use

Posted on 2014-03-16
2
246 Views
Last Modified: 2014-03-17
Software: vb.net & sql server 2005

I am trying to figure out some method to notify a remote vb.net application user that a particular form is in use.

Sample code would be appreciated.

Thanks!
0
Comment
Question by:dave_sky
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39934545
Sorry, I do not have time to write the code, but here is what I do.

I often have a table in my database that hold only one record, with constants and flags that let me know the status of different things.

For your situation, I would simply have in that table a field that is Null by default, but that I set everytime a user opens the form. It could be a simple Boolean flag, but in some situations, I simply store the name of the user how has the form opened.

When somebody wants to open the form, I check the flag. If it is not set, I give him the form. Otherwise, I tell them that the form is not available, possibly giving the name of the coworker that is actually working on the form.
0
 

Author Closing Comment

by:dave_sky
ID: 39934652
Thanks! that is exactly what I was looking for...
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question