Hi,
I am new to vb and having a bit of trouble creating a little application. I want to be able to retrieve the local ip address and then be able to ping it. It works perfectly when using the form or when I execute it on the computer with vb 2008 installed. When I first built the application I needed to install mswinsck.ocx to the system.32 folder and was having problems on windows 7. I finally got it to work. It gave me an error but it seems to be working fine.

Problem:
When I install the application on another computer windows gives me the error that the application has stopped working and thats as far as it will go. what I want to know is will i need to install mswinsck.ocx on all the computers I want it to run on or can I include it in the install package? if not is there another way I can retrieve the localIP without using winsock so it will run on other computers?

any help would be greatly appreciated . Thank you