VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Sends a message to another computer over a network or the internet.

by Walter Eigner (15 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 3rd November 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Sends a message to another computer over a network or the internet.

Rate Sends a message to another computer over a network or the internet.



Begin VB.Form frmMessage 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Messenger"
   ClientHeight    =   2295
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3120
   Icon            =   "frmMessage.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2295
   ScaleWidth      =   3120
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdSend 
      Caption         =   "Send"
      Height          =   375
      Left            =   0
      TabIndex        =   2
      Top             =   1920
      Width           =   3135
   End
   Begin VB.TextBox txtComputerName 
      Height          =   375
      Left            =   0
      TabIndex        =   1
      Text            =   "Computer Name"
      Top             =   1560
      Width           =   3135
   End
   Begin VB.TextBox txtMessage 
      Height          =   1575
      Left            =   0
      TabIndex        =   0
      Text            =   "Message"
      Top             =   0
      Width           =   3135
   End
End
Attribute VB_Name = "frmMessage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdSend_Click()
Shell "net send " & txtComputerName & " " & txtMessage
End Sub


Download this snippet    Add to My Saved Code

Sends a message to another computer over a network or the internet. Comments

No comments have been posted about Sends a message to another computer over a network or the internet.. Why not be the first to post a comment about Sends a message to another computer over a network or the internet..

Post your comment

Subject:
Message:
0/1000 characters