Click here to Skip to main content
16,019,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Código para validar cpf no Access xp Pin
Dave Kreskowiak21-Oct-10 2:07
mveDave Kreskowiak21-Oct-10 2:07 
QuestionKey Tracking Using API not working Pin
greendragons20-Oct-10 7:49
greendragons20-Oct-10 7:49 
AnswerRe: Key Tracking Using API not working Pin
DaveAuld20-Oct-10 8:41
professionalDaveAuld20-Oct-10 8:41 
GeneralRe: Key Tracking Using API not working Pin
greendragons20-Oct-10 8:58
greendragons20-Oct-10 8:58 
GeneralRe: Key Tracking Using API not working Pin
Dave Kreskowiak20-Oct-10 9:53
mveDave Kreskowiak20-Oct-10 9:53 
GeneralRe: Key Tracking Using API not working Pin
greendragons20-Oct-10 10:10
greendragons20-Oct-10 10:10 
QuestionMetafile Dimension Problems. Pin
markW34518-Oct-10 22:52
markW34518-Oct-10 22:52 
QuestionFree Pc Status? Pin
jahan00716-Oct-10 12:33
jahan00716-Oct-10 12:33 
I am working on this program in VB Studio 2010. It detects the computers on the network and checks if they are being used or free. I can check their presence on the network by using :

Dim pingsender As New Ping
Dim HostName As String

'For x = 1 To 3
For i = 0 To 9
HostName = "CN0809B2-DW061" + i.ToString '+ x.ToString
If pingsender.Send(HostName).Status = IPStatus.Success Then
txtPingResult.Text += String.Format("Reply from: " & HostName & vbCrLf)

Else
txtPingResult.Text += String.Format("No Reply From: " & HostName & vbCrLf)

End If

Me.Refresh()

'Pause for 1 second before pinging again
System.Threading.Thread.Sleep(1000)

'Next
Next
txtPingResult.Text = ""


Any help to go further and check if computer is logged on ? can get user name by using :

Dim name As String = Environment.UserDomainName & " \ " & Environment.UserName

Will i need client/server program or can i do this by some other method ?any advices more then welcome...Thanks <pre></pre>
AnswerRe: Free Pc Status? Pin
Dave Kreskowiak16-Oct-10 16:05
mveDave Kreskowiak16-Oct-10 16:05 
AnswerRe: Free Pc Status? Pin
Ray Cassick17-Oct-10 5:09
Ray Cassick17-Oct-10 5:09 
GeneralRe: Free Pc Status? Pin
jahan00717-Oct-10 14:24
jahan00717-Oct-10 14:24 
QuestionVB.NET Pin
harshdamania16-Oct-10 4:10
harshdamania16-Oct-10 4:10 
AnswerRe: VB.NET Pin
Dave Kreskowiak16-Oct-10 7:09
mveDave Kreskowiak16-Oct-10 7:09 
AnswerRe: VB.NET Pin
Bernhard Hiller22-Oct-10 4:06
Bernhard Hiller22-Oct-10 4:06 
QuestionExtend Standard Context menu Pin
P$YCH015-Oct-10 2:58
P$YCH015-Oct-10 2:58 
AnswerRe: Extend Standard Context menu Pin
Eddy Vluggen15-Oct-10 4:55
professionalEddy Vluggen15-Oct-10 4:55 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 5:30
P$YCH015-Oct-10 5:30 
GeneralRe: Extend Standard Context menu Pin
Richard MacCutchan15-Oct-10 6:04
mveRichard MacCutchan15-Oct-10 6:04 
QuestionRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 6:44
P$YCH015-Oct-10 6:44 
AnswerRe: Extend Standard Context menu Pin
Eddy Vluggen15-Oct-10 7:32
professionalEddy Vluggen15-Oct-10 7:32 
NewsRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 8:42
P$YCH015-Oct-10 8:42 
GeneralRe: Extend Standard Context menu Pin
Eddy Vluggen15-Oct-10 10:48
professionalEddy Vluggen15-Oct-10 10:48 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 20:01
P$YCH015-Oct-10 20:01 
GeneralRe: Extend Standard Context menu Pin
Richard MacCutchan15-Oct-10 23:08
mveRichard MacCutchan15-Oct-10 23:08 
GeneralRe: Extend Standard Context menu Pin
Eddy Vluggen16-Oct-10 3:01
professionalEddy Vluggen16-Oct-10 3:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.