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
Printable View
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
Hi,
drop a winsock control on the form, and check the localip property.
That will give you your IP Address
Pete
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.
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
hi. thks petevick. now i got what u mean. thks very much for ur help. :)