VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple code to check any one connected to your system (network) TRY IT...

by Sanoop Kurian (2 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 14th July 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Simple code to check any one connected to your system (network) TRY IT...

API Declarations


'1,text box name-text1
'2,text box name-text2
'3,timer name-time

'create a .bat file named san(san.bat) using notpad with following code.

'net session > d:\temp123.txt







Rate Simple code to check any one connected to your system (network) TRY IT...



Shell ("san:\4.bat")
Text1.Text = Text1.Text + 1
Text2.Text = ""
Open "d:\temp123.txt" For Input As #1
sa = Input$(LOF(1), #1)
Close 1
Text3.Text = sa
End Sub

Download this snippet    Add to My Saved Code

Simple code to check any one connected to your system (network) TRY IT... Comments

No comments have been posted about Simple code to check any one connected to your system (network) TRY IT.... Why not be the first to post a comment about Simple code to check any one connected to your system (network) TRY IT....

Post your comment

Subject:
Message:
0/1000 characters