Results 1 to 2 of 2

Thread: [RESOLVED] Network access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2005
    Posts
    129

    Resolved [RESOLVED] Network access

    i'm trying to access a network computer using the shell command. tried accessing the system using "\\systemname" but doesn't work. i cannot use filesystem object or map the drive. how do i go about it

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    35

    Re: Network access

    hey buddy!

    try to create a connection between your computer and the computer you want to access with...

    then of course connect them using "listen" and "accept" command in winsock...

    then if so, create a module in a client (computer you want to know the systemname) that will run when a trigger or a message from a server (your computer) innitiated..

    e.g: (Client)
    ************************************************
    Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
    dim Msg As String
    Winsock1.Getdata Msg

    Select Case Left(Msg,12)

    Case "CLSystemName" Winsock1.senddata Winsock1.LocalHostName

    End Select
    End Sub
    ****************************************************

    Then for Server:
    ****************************************************
    Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
    dim Msg As String
    Winsock1.Getdata Msg

    Select Case Left(Msg,12)

    Case "MySystemName" Msgbox "Your Client's System Name is " & Right(Msg,12)

    End Select
    End Sub
    *************************************************

    Juz Create a commandbutton or any procedure for sending data or request for "CLSystemName" in Server (Your computer)...

    Thatz oL... Hope i help you a little...

    Apocalypse™

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width