?
Solved

Indentify if port is open Visual Basic 6

Posted on 2003-02-25
3
Medium Priority
?
163 Views
Last Modified: 2013-11-25
Hi, I’m trying to identify if a port is open for connect. I’m using VB 6, any comments will be appreciated.

The idea is I have 2 text boxes and 1 button.

Enter the ip and port number then click the button.

Then return true of false.

I’m at a loss

-cc
0
Comment
Question by:cscorbet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:merphie
ID: 8028114
The Code here should help you

http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=38673&lngWId=1

It's a personal firewall with example code.   This should give you enough information to monitor a port.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8972838
cscorbet, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9667979
PAQed - no points refunded (of 20)

Computer101
E-E Admin
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question