IPBox. is an ActiveX control that supplies an easy way to enter an IP-number. It greatly reduces development time for any application that needs to request an IP-number from its user. It’s has only a couple of properties:

 

AllowWildcard: Boolean

The IPBox only allows the user to enter valid characters. When this property is set to True, a * is also accepted. This comes in handy when you want to ask an IP-range (194.229.171.*) from a user.

 

IP1: String

IP2: String

IP3: String

IP4: String

Those properties contain the content of the four parts of the IPBox.

 

IPLong: Boolean

When this property is set to True every part of the IPBox always uses three digits. So an IPNumber of 12.3.23.1 will be changed to 012.003.023.001.

When set to False the leading zero’s will be removed.

 

LongAddress: String

The IP-Number in long format (012.003.023.001)

 

ShortAddress: String

The IP-Number in short format (12.3.23.1)

 

All properties are available during design-time and run-time and are all both Read and Write.

 

We’ve written IPBox for internal use, so it has all the functions we needed. If you need additional properties, events or methods, just let us know and if we think it’s useful, we might include it.

 

Although IPBox has no limitations, it’s not freeware.

IPBox is free for personal use. If you want to use IPBox in a commercial product, you need to register it. Registration is only $19.95. Just send a message to IPBox@ringtwice.com for more details.

 

 

Bert Rozenberg

Mountain Rose Multi Media