Re: Verify syntax of an URl



I have a text box where my user introduce a URL of type Http:\\.... or
Ftp:\\...
I need to verify that only this type of syntax is valid for my text box

How can I perfomr that ??


Did you take a look at PathIsURL() ?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/path/pathisurl.asp

m
http://bubbler.net/outlaw/blog

.



Relevant Pages

  • Re: Any way to check for pending vwait/tkwait?
    ... One verify command occupies ... easily support syntax like ... the timeout is common to all three events, ...
    (comp.lang.tcl)
  • Re: Pascal Verification
    ... Verify what exactly? ... Syntax check is done by the compiler automatically. ... Fair question! ... I'm trying to unravel complexity. ...
    (comp.lang.pascal.misc)
  • Re: copy files
    ... were can i find a snippet of code or an example that does this? ... see verify that my syntax is correct. ... > If replying to the group, please do not mail me too ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: in_array() wierdness with arrays inside of $_POST
    ... Please verify the syntax of *in_array*: ... post a sample code if it still not solved. ... Rahul Anand ...
    (comp.lang.php)
  • Re: Check for valid email address
    ... > claims to verify the syntax, ... Denzil ... New and Improved Yahoo! ...
    (perl.beginners)