Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

limits of hardware control and VB

Status
Not open for further replies.

fastlanwan

Technical User
Mar 29, 2003
42
US
Does anyone with a url on the limits of vb to control PC hardware for a newbie? Like tcp/ip commands through a NIC via VB?

A+ N+ Sec+ SME/Sec+
 
I don't understand what you are asking.
Using Winsock you can establish TCP/UDP connections to another box. Thats just a network protocol. What commands you send to hardware at the other end is based on what it expects.

What are you trying to do?
 
I'm trying to figure out how to do cmd line on ip like a tracert, ping or nbtstat via VB instead of the cmd line.

hints or suggestions? Like how to use winsock?

A+ N+ Sec+ SME/Sec+
 
There are heaps of threads here.

Thing is PING/TRACERT etc are not using TCP or UDP. You wouldn't want to recreat the work. So the best thing is just redirect those program's output to your app.

Take a look at strongm post at the bottom of thread222-567909 for a link to how to use Pipes to redirect output from normal console apps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top