>>>Hi everybody,
>>>
>>>I have a textbox which will allow to enter a valid URL (https or http). Do you know what code should I use for validation of the user's input?
>>>
>>>Thanks in advance.
>>
>>You only want to br sure that the input is valid or you want to be sure that the site really exists?
>
>I think both.
How about:
DEFINE FLAG_ICC_FORCE_CONNECTION 1
DECLARE Long InternetCheckConnection IN Wininet.dll String Url, Long dwFlags, Long Reserved
lcUrl = youtTextBoxValue
IF InternetCheckConnection(lcUrl, FLAG_ICC_FORCE_CONNECTION, 0) <> 0
? "Valid URL"
ELSE
? "Can not veryfy the URL"
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.