Results 1 to 5 of 5

Thread: Get user IP Address in eVB

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    73

    Get user IP Address in eVB

    hi all
    i am currently working on a pocket pc project. would like to find out how am i work about the coding to obtain the pocket pc user IP address. pls help by showing me the code. thks in advance

    longwar

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Get user IP Address in eVB

    Hi,
    drop a winsock control on the form, and check the localip property.

    That will give you your IP Address

    Pete

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    73

    Re: Get user IP Address in eVB

    errr .... i am quite a novice to eVB ... do u mind to explain it step by step or showing me the code? i really have no idea how to do it. sorry for troubling u again.

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Get user IP Address in eVB

    Hi,
    simply add a winsock control to your form. It is not in the toolbar, but can be added as a control.

    When you run your app, the property winsock1.localip (if i remember correctly), will contain your IP address

    If you look on www.devbuzz.com, there are several articles I wrote about eVB and the Winsock control

    HTH

    Pete
    Last edited by petevick; May 9th, 2006 at 02:41 PM.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Apr 2006
    Posts
    73

    Re: Get user IP Address in eVB

    hi. thks petevick. now i got what u mean. thks very much for ur help.

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