Web browser app and navigation

S

Smokey Grindel

How can I read in navigation commands from a web browser control? I want to
make a small app that generates HTML documents as the UI embedded into our
main app (I do not want a web server) this would be kind of like the
Microsoft Document Application that MSDN is based on... I just need a way to
embed commands into the browser links like appnav:\\command and have the app
pick them up instead of trying to send them to the web... this has to be
possible, so many MS apps do this... how would I do it in .NET? thanks!
 
L

Lee

How can I read in navigation commands from a web browser control? I want to
make a small app that generates HTML documents as the UI embedded into our
main app (I do not want a web server) this would be kind of like the
Microsoft Document Application that MSDN is based on... I just need a wayto
embed commands into the browser links like appnav:\\command and have the app
pick them up instead of trying to send them to the web... this has to be
possible, so many MS apps do this... how would I do it in .NET? thanks!

Here is an great example of hooking into events in the web browser
control.

http://emitix.mit.edu/tutorials/tutorial_details.aspx?tutorial_id=312

Good Luck,

L. Lee Saunders
http://oldschooldotnet.blogspot.com
 
R

Registered User

How can I read in navigation commands from a web browser control? I want to
make a small app that generates HTML documents as the UI embedded into our
main app (I do not want a web server) this would be kind of like the
Microsoft Document Application that MSDN is based on... I just need a way to
embed commands into the browser links like appnav:\\command and have the app
pick them up instead of trying to send them to the web... this has to be
possible, so many MS apps do this... how would I do it in .NET? thanks!

Look at the webbrowser control's OnBeforeNavigate event.

regards
A.G.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top