>Is the an API call hiding somewhere that I can use to URL encode an argument string to send to a web page?
>
>? f( "test this?" ) && would return test%20this%3F
>
>I know that something like this has to exist because if you look at the LocationURL inside an IE object it comes back encoded. The problem is I can't actually call the Navigate() method until the arglist has been encoded.
>
>I'm looking for an API because it's got to be at least an order of magnitude faster than VFP code could do it.
df,
I don't think that there is one. The closest thing I've found is the HttpUtility.UrlPathEncode Method in the .NET framework (v. 1.1). Given the overhead involved with creating something that could be invoked by VFP, it's probably best that you "roll your own."
George
Ubi caritas et amor, deus ibi est