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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual basic help

Status
Not open for further replies.

gestohlenseele

Programmer
Jun 13, 2008
3
US
Hello,

First post!

I am building a database using Access03 with visual basic. I need to know if its possible to create a button or function that can send a prompt/msgbox to all active users in the database?
 

Can you do it 'by hand'?

If you run on NT and have your messaging on, from command prompt you can say:
Code:
C:\> Net Send UserName MessageText
[green]'or[/green]
C:\> Net Send MechineName MessageText
So if you have a place in your data base where you keep track of all the 'active users', then it is no problem to send a message like that to multiple people:
Code:
Dim RetVal As Long
RetVal = Shell("Net Send [b]gestohlenseele[/b] [blue]This is your message[/blue]", 0)

Have fun.

---- Andy
 
Just have a "Messages" table in your database, which is periodically checked by the front-end. When it discovers a new message in the table, it displays it to the user.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top