Results 1 to 3 of 3

Thread: DX8 Peer Info? Cant get .Name ???

  1. #1

    Thread Starter
    Member Keger's Avatar
    Join Date
    Jun 2001
    Location
    Detroit (Hell)
    Posts
    57

    DX8 Peer Info? Cant get .Name ???

    I am sure this is simple but its the simple ones that kick my but.

    O.K.
    This doesn't give me the peer info....

    Code:
     
        Dim pInfo As DPN_PLAYER_INFO
        pInfo.Name = sUser
        msgbox sUser
    _Result___________

    sUser = ""

    I can chat and send data etc. but this line does not work?
    What are all of the declares etc... I need beyond the obvious...
    Because as I said I have all the other stuff working.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Do you want to store the name into sUser? Then you must use:
    VB Code:
    1. sUser = pInfo.Name
    instead of yours, which is switched around.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Member Keger's Avatar
    Join Date
    Jun 2001
    Location
    Detroit (Hell)
    Posts
    57
    Thanks I figured it out...

    You are right, sorta, I was putting it in the wrong place....

    Your reply caused me to look at it and then hit my head on the desk.... very hard (my head is heavy \ dense)...

    I had it in the wrong sub, DOUGH!

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