A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



IsValidURL

Determines if a specified string is a valid URL.

VB4-32,5,6
Declare Function IsValidURL Lib "URLMON.DLL" (ByVal pbc As Long, ByVal szURL As String, ByVal dwReserved As Long) As Long

Operating Systems Supported
Internet Explorer 3.0

Library
Urlmon

Parameter Information
- pBC
[in] Pointer to the IBindCtx interface. This parameter is currently ignored. It should be set to NULL.

- szURL
[in] Pointer to a string value that contains the full URL to be checked.

- dwReserved
[in] Reserved. Must be set to 0.

Return Values
Returns one of the following values.
S_OK
The szURL parameter contains a valid URL.
S_FALSE
The szURL parameter does not contain a valid URL.
E_INVALIDARG
One of the parameters is invalid.

Last update: 07 April 2006