webbrowser form link?

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
11 posts Page 1 of 2
Contributors
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

webbrowser form link?
Dummy1912
Hello,

anybody knows how to make a link that opens a form
i don't mean a http:
but a form from vb.net itself

lets say i want to open menu.vb
how can i use this in a webbrowser link?

example:
Code: Select all
opens menu <a href="menu"> press here</a>
so when they press here it must open the menu.vb

can't find anything on the web.

thanks
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: webbrowser form link?
mandai
If you are hosting a web server within a VB.Net application you could add this kind of feature.
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: webbrowser form link?
Dummy1912
hello mandai,
well i really have no idea how to do this :(
any help?
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: webbrowser form link?
mandai
There is a sample here that acts as a HTTP server: viewtopic.php?f=70&t=8235
The source may be useful.
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: webbrowser form link?
Dummy1912
thanks
but seems its no use for me what i want to reach.
it don't has any control what im looking for in this sample :(
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: webbrowser form link?
Filip
I think that he wants that when user clicks on a link in webbrowser control, something happens on form..
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: webbrowser form link?
muttley1968
if your using asp.net to build the site then you can simply pass paramitors from one to the other like with a program :P
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: webbrowser form link?
Codex
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: webbrowser form link?
Dummy1912
Codex wrote:
I love Google don't you ?
cryer; that hurts you know
its seems like you are telling that i dont even search cryer;

i search all the time
and to be honest i don't like google that much ... why? well it keep you busy for hours to find anything you looking for.
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Re: webbrowser form link?
CodenStuff
Im not 100% sure what it is you are asking for but if you mean you have a form with a webbrowser control on it and when the user clicks the link in that webbrowser control you want to open another form say form2...if thats what you are asking for then maybe something as simple using the webbrowser navigation event will do the job like:
Code: Select all
    Private Sub WebBrowser1_Navigating(sender As Object, e As WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
        If e.Url.ToString = "Menu" Then
            e.Cancel = True
            'Add code to display form or whatever
        End If
    End Sub
Yes/No? :?
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
11 posts Page 1 of 2
Return to “Coding Help & Support”