timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock
timer for pc shop using winsock timer for pc shop using winsock
timer for pc shop using winsock
Go Back  Xtreme Visual Basic Talk > > > timer for pc shop using winsock


Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2011, 01:28 AM
venomancer08 venomancer08 is offline
Newcomer
 
Join Date: Nov 2008
Location: Philippines, Cavite
Posts: 12
Default timer for pc shop using winsock


hello mam/sir im here again asking about using winsock,
because i plan to write a program that would be use in
my computer shop.

it serves as:

-client timer appear on client pc as their reference
-if timer had stop, it stops the mouse and keyboard and prompt
a message "time is over"
-can control the mouse for assistance and shutdown
-can preview the client pc

i had some code and it works: but i dont know where to put the mouse control

"command program" <--------------------

Private Sub Form_Load()
Winsock1.RemoteHost = "192.168.127.12"
Winsock1.RemotePort = 1000
Winsock1.Connect
'Stop

Winsock2.RemoteHost = "192.168.127.12"
Winsock2.RemotePort = 1001
Winsock2.Connect

'Stop

Winsock1.Close
Winsock1.RemoteHost = Winsock1.LocalHostName
Winsock1.Connect

End Sub



"for client pc" <--------------------

Private Sub Form_Load()
Winsock1.LocalPort = 1001
Winsock1.Listen
End Sub



Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
MsgBox "Connect Request"

End Sub

-------------------------

thanks in advance good day
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock timer for pc shop using winsock
timer for pc shop using winsock
timer for pc shop using winsock
 
timer for pc shop using winsock
timer for pc shop using winsock
 
-->