473,383 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

my own protocol like appHelp://somepage.html

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
Nov 15 '05 #1
5 1904
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/de.../pluggable.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:ug**************@TK2MSFTNGP12.phx.gbl...
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

Nov 15 '05 #2
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]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP11.phx.gbl...
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/de.../pluggable.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:ug**************@TK2MSFTNGP12.phx.gbl...
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


Nov 15 '05 #3
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]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...
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]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
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/de.../pluggable.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:ug**************@TK2MSFTNGP12.phx.gbl...
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



Nov 15 '05 #4
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...
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]" <mv*@spam.guard.caspershouse.com> wrote

in
message news:%2****************@TK2MSFTNGP11.phx.gbl...
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/de.../pluggable.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:ug**************@TK2MSFTNGP12.phx.gbl...
> 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
>
>



Nov 15 '05 #5
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]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Fatih BOY" <fa***@smartcoding.org> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...
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]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:%2****************@TK2MSFTNGP11.phx.gbl...
> 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/de.../pluggable.asp
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
> "Fatih BOY" <fa***@smartcoding.org> wrote in message
> news:ug**************@TK2MSFTNGP12.phx.gbl...
> > 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
> >
> >
>
>



Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matt | last post by:
The following code is the drop down box, and when user changes the selection, it will display the value of the selection automatically by the onchange event. This code works fine with GET Protocol....
1
by: Dom Leonard | last post by:
Hi all, I occasionally use the javascript protocol in window.open to retrieve a window property of the opener for use as HTML source: window.htmlSrc="<html>...blah ....<\/html>";...
1
by: Unregistered | last post by:
I'm making an Intranet site for someone who is not very familiar wit making websites, thus I would like to make it as simple as possible fo her when she needs to update it. The intranet site...
1
by: Ed | last post by:
One of the programs in an VC++ 6.0 application I have been working on for years is suddenly crashing. Dependency Walker reveals that there is dependency on APPHELP.DLL and USERENV.DLL, and they are...
2
by: Dan | last post by:
Hi, How do I embed a picture (gif for instance) in a dll using VB.NET so that the picture can be used in a html page with the res protocol? I have tried adding pictures (as Embedded resources)...
0
by: Paul | last post by:
I cannot register a control for COM interop on a Windows 2000 machine because it references MSCOREE.DLL, which references SHWAPI.DLL, which references APPHELP.DLL, which does not exist on Windows...
12
by: Laszlo Zsolt Nagy | last post by:
Hello, I would like to develop a new network protocol, where the server and the clients are Python programs. I think to be effective, I need to use TCP_NODELAY, and manually buffered transfers....
0
by: Kris Mattheus | last post by:
A little background: I've been using web services successfully for a while now. My web server is a Windows CE 4.2 device and my client is a windows C# application created with Visual Studio 2003....
2
by: Aussie Rules | last post by:
Hi, I have a need to extract some data from a sql database, which I store in a dataset, and display this in a HTML list tag. I have the result set in my code behind file, but have no idea on...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.