Re: Indy 10 URL Encode error
- From: "Brian" <a@xxx>
- Date: Thu, 21 Jul 2005 12:34:31 GMT
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:3gnglmFd2h0iU1@xxxxxxxxxxxxxxxxx
> Brian wrote:
>> I have recently upgraded to Indy 10, when I try to run the
>> TIdURI.URLEncode I get an error saying protocol not set, why?
>
> Because the protocol isn't set. (Duh.)
>
> TIdURI.URLEncode works by creating a new TIdURI instance, setting its URI
> property, encoding certain sections of it, and then returning its URI
> property. When reading the URI property, the class will raise an exception
> if the protocol portion is empty.
>
> Look at the implemention of URLEncode and see whether any of the separate
> methods it calls would be more appropriate for what you need.
>
> --
> Rob
Got it sorted, went down to Indy9 and every works fine now :)
Brian
.
- Prev by Date: Re: Dial up networks
- Next by Date: Re: making a form transparent
- Previous by thread: Threads
- Next by thread: Is anyone listening?
- Index(es):
Relevant Pages
|