Home All Groups Group Topic Archive Search About

Overactive colon in VB6

Author
29 May 2009 2:59 PM
Bee
Or maybe I should call it the hyperactive colon in VB6
I am fiddling with what I thing are generically called hyperlinks.
I have search for all the cases but cannot find what I think should be more.
So, here I am asking for help again.

Here are a few, what else is there?

news://msnews.microsoft.com    ' open as newsgroup
http://www.yahoo.com              ' open a web page
www.yahoo.com                       ' open a web page
? why two synttax for the opening a web page?
Just a shortcut?

And most important, for the missing, what are they for and what do they do?

Thanks.

Author
29 May 2009 3:11 PM
Bob Butler
"Bee" <B**@discussions.microsoft.com> wrote in message
news:A8699A24-6068-467B-9509-6B4EB7F9B81D@microsoft.com...
> Or maybe I should call it the hyperactive colon in VB6
> I am fiddling with what I thing are generically called hyperlinks.

More correctly, URLs (uniform resource locators)

> I have search for all the cases but cannot find what I think should be
> more.

mailto:
ftp:
https:
gopher:
wais:
ldap:
telnet:
... and others

> So, here I am asking for help again.
>
> Here are a few, what else is there?
>
> news://msnews.microsoft.com    ' open as newsgroup
> http://www.yahoo.com              ' open a web page
> www.yahoo.com                       ' open a web page
> ? why two synttax for the opening a web page?
> Just a shortcut?

'www.yahoo.name' is not a valid URL, it's just a host name.  Most browsers
will assume you mean http://hostname:80/ when you omit the protocol.  Some
may even try other common protocols like https: and ftp: if http: fails.

> And most important, for the missing, what are they for and what do they
> do?

start here
http://www.ietf.org/rfc/rfc3986.txt
Author
29 May 2009 7:42 PM
Kevin Provance
gopher...oh my.  It's been a while.  <g>

--
2025
If you do not believe in time travel,
your beliefs are about to be tempered.

http://www.facebook.com/group.php?gid=43606237254
Show quoteHide quote
"Bob Butler" <noway@nospam.ever> wrote in message
news:%23MEnaAH4JHA.480@TK2MSFTNGP06.phx.gbl...
|
| "Bee" <B**@discussions.microsoft.com> wrote in message
| news:A8699A24-6068-467B-9509-6B4EB7F9B81D@microsoft.com...
| > Or maybe I should call it the hyperactive colon in VB6
| > I am fiddling with what I thing are generically called hyperlinks.
|
| More correctly, URLs (uniform resource locators)
|
| > I have search for all the cases but cannot find what I think should be
| > more.
|
| mailto:
| ftp:
| https:
| gopher:
| wais:
| ldap:
| telnet:
| .. and others
|
| > So, here I am asking for help again.
| >
| > Here are a few, what else is there?
| >
| > news://msnews.microsoft.com    ' open as newsgroup
| > http://www.yahoo.com              ' open a web page
| > www.yahoo.com                       ' open a web page
| > ? why two synttax for the opening a web page?
| > Just a shortcut?
|
| 'www.yahoo.name' is not a valid URL, it's just a host name.  Most browsers
| will assume you mean http://hostname:80/ when you omit the protocol.  Some
| may even try other common protocols like https: and ftp: if http: fails.
|
| > And most important, for the missing, what are they for and what do they
| > do?
|
| start here
| http://www.ietf.org/rfc/rfc3986.txt
|
Author
29 May 2009 3:12 PM
Bob Butler
"Bee" <B**@discussions.microsoft.com> wrote in message
news:A8699A24-6068-467B-9509-6B4EB7F9B81D@microsoft.com...
> Or maybe I should call it the hyperactive colon in VB6

by the way, this really has nothing to do with VB.  A URL is a URL
regardless of the language used to implement the protocol.
Author
29 May 2009 3:19 PM
Jeff Johnson
Show quote Hide quote
"Bee" <B**@discussions.microsoft.com> wrote in message
news:A8699A24-6068-467B-9509-6B4EB7F9B81D@microsoft.com...

> Or maybe I should call it the hyperactive colon in VB6
> I am fiddling with what I thing are generically called hyperlinks.
> I have search for all the cases but cannot find what I think should be
> more.
> So, here I am asking for help again.
>
> Here are a few, what else is there?
>
> news://msnews.microsoft.com    ' open as newsgroup
> http://www.yahoo.com              ' open a web page
> www.yahoo.com                       ' open a web page
> ? why two synttax for the opening a web page?
> Just a shortcut?

Yes, just a shortcut. These things are generally referred to as "protocol
schemes," and there are quite a few of them, altough some are far more
common than others. What you might want to do is search for one or more
alphanumeric characters which are followed by a colon and two slashes (
____:// ).

Here, I did some legwork for you: http://www.w3.org/Addressing/schemes.html
Author
30 May 2009 3:40 AM
Bee
Thanks all.
I searched but did not know the relevant keywords.


Show quoteHide quote
"Bee" wrote:

> Or maybe I should call it the hyperactive colon in VB6
> I am fiddling with what I thing are generically called hyperlinks.
> I have search for all the cases but cannot find what I think should be more.
> So, here I am asking for help again.
>
> Here are a few, what else is there?
>
> news://msnews.microsoft.com    ' open as newsgroup
> http://www.yahoo.com              ' open a web page
> www.yahoo.com                       ' open a web page
> ? why two synttax for the opening a web page?
> Just a shortcut?
>
> And most important, for the missing, what are they for and what do they do?
>
> Thanks.
>
>