pls, i have a project and am a begineer at this. am to write a vb program which would detect phones(precisely android phones ) when they get connected to the computer and use the phone as a modem for the computer.

That's the beginning of your spec for the app you want to write.

The next step is to break it down to smaller steps as well as get an overall design to the app.

Once the steps are small enough you write the code for the step and then work on another step. When you get all the steps done then you test this app.

-> I see new folk post like this and expect others to respond with code and a finished app. At least you didn't ask for that.