Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
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)…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now