my own protocol like appHelp://somepage.html

  • Thread starter Thread starter Fatih BOY
  • Start date Start date
F

Fatih BOY

Hi,
How can i register my own protocol like app-help://somepage.html which
searchs typed files under a predefined folder (like document folder under
installation root) ?

Fatih BOY
 
Faith BOY,

It depends on where you are going to use it. If you are going to use it
strictly in a .NET environment, then you will want to extend the WebRequest
and WebResponse classes. These are the base classes used in .NET to handle
resource acquisition where the resource's location is defined by a URL.

However, if you are looking to plug into the COM infrastructure, so that
things like Internet Explorer will download your content using your scheme,
then you will have to use Asynchronous Pluggable Protocols. For more
information, check out the section of the MSDN documentation titled
"Asycnhronous Pluggable Protocols", located at (watch for line wrap):

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/pluggable.asp

Hope this helps.
 
Thanks for your reply.
I've also found same tutorial. But that's not the one i'm looking for.

I'm developing an IDE (called Software Studio) and just like vs.net i've
also a startpage and i want to display some help files there. So i've decide
to use SSHelp:// (or something like that) as my protocol. When such a link
requested within my application, i want to search it in help folder of my
application's installation folder.

Nicholas Paldino said:
Faith BOY,

It depends on where you are going to use it. If you are going to use it
strictly in a .NET environment, then you will want to extend the WebRequest
and WebResponse classes. These are the base classes used in .NET to handle
resource acquisition where the resource's location is defined by a URL.

However, if you are looking to plug into the COM infrastructure, so that
things like Internet Explorer will download your content using your scheme,
then you will have to use Asynchronous Pluggable Protocols. For more
information, check out the section of the MSDN documentation titled
"Asycnhronous Pluggable Protocols", located at (watch for line wrap):

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/pluggable.asp

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
Hi,
How can i register my own protocol like app-help://somepage.html which
searchs typed files under a predefined folder (like document folder under
installation root) ?

Fatih BOY
 
Faith,

Are you using Internet Explorer to display the pages? If you are, then
the asynchronous pluggable protocol is exactly what you want to do.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
Thanks for your reply.
I've also found same tutorial. But that's not the one i'm looking for.

I'm developing an IDE (called Software Studio) and just like vs.net i've
also a startpage and i want to display some help files there. So i've decide
to use SSHelp:// (or something like that) as my protocol. When such a link
requested within my application, i want to search it in help folder of my
application's installation folder.

message news:%[email protected]...
Faith BOY,

It depends on where you are going to use it. If you are going to
use
it
strictly in a .NET environment, then you will want to extend the WebRequest
and WebResponse classes. These are the base classes used in .NET to handle
resource acquisition where the resource's location is defined by a URL.

However, if you are looking to plug into the COM infrastructure, so that
things like Internet Explorer will download your content using your scheme,
then you will have to use Asynchronous Pluggable Protocols. For more
information, check out the section of the MSDN documentation titled
"Asycnhronous Pluggable Protocols", located at (watch for line wrap):
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/pluggable.asp
Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
Hi,
How can i register my own protocol like app-help://somepage.html which
searchs typed files under a predefined folder (like document folder under
installation root) ?

Fatih BOY
 
I'm using IE via AxSHDocVw.dll and help files should display within my
application. I don't preffer to use asynchronous pluggable protocol, because
it registers my protocol for windows wide.

Nicholas Paldino said:
Faith,

Are you using Internet Explorer to display the pages? If you are, then
the asynchronous pluggable protocol is exactly what you want to do.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
Thanks for your reply.
I've also found same tutorial. But that's not the one i'm looking for.

I'm developing an IDE (called Software Studio) and just like vs.net i've
also a startpage and i want to display some help files there. So i've decide
to use SSHelp:// (or something like that) as my protocol. When such a link
requested within my application, i want to search it in help folder of my
application's installation folder.

message news:%[email protected]... use so
that
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/pluggable.asp
Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi,
How can i register my own protocol like app-help://somepage.html which
searchs typed files under a predefined folder (like document folder under
installation root) ?

Fatih BOY
 
Faith BOY,

True, but you are using a windows-wide component to perform your
operation. To be honest, I don't think it is a big deal (but that's up to
you). For example, the help system for VS.NET uses internet explorer, and
you can type the URLs from there into an instance of IE and it will give you
the same content.

You could always just use the file protocol as well, having the root be
your directory where your help files are stored.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
I'm using IE via AxSHDocVw.dll and help files should display within my
application. I don't preffer to use asynchronous pluggable protocol, because
it registers my protocol for windows wide.

message news:%[email protected]...
Faith,

Are you using Internet Explorer to display the pages? If you are, then
the asynchronous pluggable protocol is exactly what you want to do.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Fatih BOY said:
Thanks for your reply.
I've also found same tutorial. But that's not the one i'm looking for.

I'm developing an IDE (called Software Studio) and just like vs.net i've
also a startpage and i want to display some help files there. So i've decide
to use SSHelp:// (or something like that) as my protocol. When such a link
requested within my application, i want to search it in help folder of my
application's installation folder.

"Nicholas Paldino [.NET/C# MVP]" <[email protected]>
wrote
in
message Faith BOY,

It depends on where you are going to use it. If you are going
to
use
it
strictly in a .NET environment, then you will want to extend the
WebRequest
and WebResponse classes. These are the base classes used in .NET to
handle
resource acquisition where the resource's location is defined by a URL.

However, if you are looking to plug into the COM infrastructure, so
that
things like Internet Explorer will download your content using your
scheme,
then you will have to use Asynchronous Pluggable Protocols. For more
information, check out the section of the MSDN documentation titled
"Asycnhronous Pluggable Protocols", located at (watch for line wrap):
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/pluggable.asp
Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi,
How can i register my own protocol like app-help://somepage.html which
searchs typed files under a predefined folder (like document folder
under
installation root) ?

Fatih BOY
 
Back
Top