Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-03-16
2
Medium Priority
?
252 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview

972 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