From: Dee Earley on
On 29/03/2010 03:23, Bob wrote:
> "Nobody"<nobody(a)nobody.com> wrote in message
> news:uneK2wszKHA.2552(a)TK2MSFTNGP04.phx.gbl...
>> "Bob"<gee(a)nomail.com> wrote in message
>> news:eGu1YrszKHA.3264(a)TK2MSFTNGP06.phx.gbl...
>>> Hello:
>>>
>>> As usual, I've run into a problem with something that is probably so
>>> simple... any help is appreciated.
>>>
>>> I'm using the webbrowser control with the navigate method. The url I'm
>>> using needs a space (which I know is not normally allowed, but it works
>>> directly in firefox and IE).
>>>
>>
>> See UrlEscape() in MSDN.
>>
>>
>>
>
> Thanks!
>
> I Tried using the code at:
>
> http://vbnet.mvps.org/index.html?code/internet/urlescape.htm
>
> This ends up decoding the URL to:
>
> http://www.imdb.com/?<my text>
>
> No matter what I try, it places a forward slash directly after the base url
> (in this case, right after www.imdb.com)

Yes, that is a correctly formatted URL.
"http://blah ?foo" is not valid (spaces should be encoded in the path
part but are invalid int he host part, hence it adds the /.

--
Dee Earley (dee.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
First  |  Prev  | 
Pages: 1 2
Prev: Print API instead of Common Dialog (VB6)
Next: Listbox