Solved

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

Posted on 2014-03-16
2
244 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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