Results 1 to 12 of 12

Thread: Name of computer

  1. #1

    Thread Starter
    Lively Member -Guh-'s Avatar
    Join Date
    Aug 2008
    Posts
    79

    Name of computer

    Hi, it is possible to verify the name of the computer of some person that connected in door 10009 using VB application? Thanks :P
    I am from BRAZIL, Sorry my bad English

  2. #2
    Member G0DL1K3's Avatar
    Join Date
    Oct 2008
    Posts
    50

    Re: Name of computer

    Quote Originally Posted by -Guh-
    Hi, it is possible to verify the name of the computer of some person that connected in door 10009 using VB application? Thanks :P
    for a remote admin Tool?

  3. #3

  4. #4

    Thread Starter
    Lively Member -Guh-'s Avatar
    Join Date
    Aug 2008
    Posts
    79

    Re: Name of computer

    Quote Originally Posted by RhinoBull
    What's that?
    it is possible to catch the name of the computer of who connects in door 10009 of mine host? (using application LOCAL and not remote)

    Sorry my bad english rsrs
    I am from BRAZIL, Sorry my bad English

  5. #5
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Name of computer

    You can get the computer name with this:
    Code:
    Public Declare Function GetComputerName Lib "kernel32.dll" Alias "GetComputerNameA" _
         (ByVal lpBuffer As String, nSize As Long) As Long
    
    Public Function GetComputer() As String
              Dim retVal As Long
            On Error GoTo e
              
              'Create a string buffer for the computer name
              Dim strCompName As String
            strCompName = space$(255)
              
              'Retrieve the Computer name
            retVal = GetComputerName(strCompName, 255)
              
              'Remove the trailing null character from the string
            GetComputer = Left$(strCompName, InStr(strCompName, vbNullChar) - 1)
            Exit Function
    Don't know what a door is
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  6. #6

  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Name of computer

    PORT.... he wants to get the name of the computer that is connecting via port 10009 (do the ports go that high?) to his server.... the answer is, I don't know... I'd think at best you could get an IP address... but I don't know.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8

    Thread Starter
    Lively Member -Guh-'s Avatar
    Join Date
    Aug 2008
    Posts
    79

    Re: Name of computer

    Quote Originally Posted by RhinoBull
    I don't know what that is. So, what is it?
    SORRY!

    Dont is DOOR! IS PORT! haha

    Port 10009!!!
    I am from BRAZIL, Sorry my bad English

  9. #9

  10. #10

  11. #11

    Thread Starter
    Lively Member -Guh-'s Avatar
    Join Date
    Aug 2008
    Posts
    79

    Re: Name of computer

    Quote Originally Posted by techgnome
    PORT.... he wants to get the name of the computer that is connecting via port 10009 (do the ports go that high?) to his server.... the answer is, I don't know... I'd think at best you could get an IP address... but I don't know.

    -tg
    yes, but I am Brazilian, and 90% of the Brazilians use dynamic IP, therefore necessary of the name of the computer (never change)
    I am from BRAZIL, Sorry my bad English

  12. #12

    Thread Starter
    Lively Member -Guh-'s Avatar
    Join Date
    Aug 2008
    Posts
    79

    Re: Name of computer

    Quote Originally Posted by RhinoBull
    Whould this sample work for you?
    Very interesting, this example catches the IP and name of the computer connecting in all the !!!POOORRRTTTT!!! of host? hhehe
    I am from BRAZIL, Sorry my bad English

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