Question

Locked

Create Popup Box Like Messenger in Visual Basic 6.0

By pankajsriv1 ·
I want to create a Popup box like messenger. When i give the particular IP address of system then on that system popup box appears and communicate with each other.

Please solve my problem how to create this?

Please send your advice on this email address.

pankajsriv1@rediffmail.com

Thanks & Regards

Pankaj

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

I want it too..

by kunalich In reply to Create Popup Box Like Mes ...

hey pankaj have u got the answer of your question. (messenger in VB).plz forward it to me if u have it.

Collapse -

Go here for your answers for your popups..

http://www.codeguru.com/columns/vb/article.php/c6541/
http://www.wonderhowto.com/how-to/video/how-to-program-a-pop-up-message-box-in-visual-basic-173795/

Example code

Here are some examples of the language:

Program to display a pop-up message box with the words "Hello, World!" on it:

Private Sub Form_Load()
MsgBox "Hello, World!"
End Sub

Program to display an input box:

Sub Main()
Dim a As String
a = InputBox("Enter your name:")
MsgBox a
End Sub

Running Another Application Using Visual Basic:

Private Sub Run_Notepad()
Shell "notepad.exe", vbMinimizedFocus
'opens notepad
End Sub

Printing multiplication table of 5 on form:

Private Sub PrintMul_Click()
Dim I As Integer
For I = 1 To 10
Print 5; " x "; I; " = "; 5 * I
Next I
End Sub

Displaying all prime numbers below 100:

Private Sub DisplayPrimeNumbers()

Dim Num As Long
Dim NN As Long
Dim IsPrime As Boolean

For Num = 2 To 100
IsPrime = True
For NN = 2 To Int(Num / 2)
If Num Mod NN = 0 Then
IsPrime = False
Exit For
End If
Next
If IsPrime Then
MsgBox CStr(Num) + " is a prime number!"
End If
Next

End Sub
..........................................

Please post back if you have any more problems or questions.

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums