Ill ask Arun, so basically you want to set your browser as the default browser. Correct?
Hey guys, this is nothing related to hacking. I am on a high school robotics team and i am making us a web browser. So i have a few questions
1. I made a web browser, and added a link label. when i click the link it open a mozzila firefox page to the link. I want to site to open in my browser.
How would i do that? (code is WebBrowser1.Navigate(TextBox1.Text)) for browser
2. If the user goes to a site on my browser and gets a pop up, the pop up open in firefox. How would i make it either open in my browser? or in a new window in my browser?
Any help is appreciated. Thanks
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Ill ask Arun, so basically you want to set your browser as the default browser. Correct?
I made a web browser, when button1 is clicked it goes to the url. How can i make it search when i hit the enter key? right now i have to click on the actually go button. whats the code?
Thanks.
Nah, I want to make sure everything runs through my browser and DOES NOT auto open ie or firefox.
Last edited by Obama; 02-13-2010 at 11:27 PM.
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
LOl, thanks
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
1:
Under linklabel.click:
Webbrowser1.navigate("url here")
2: Something with Javascript I believe, I might work on it later.
zmansquared (02-14-2010)
sweet thanks
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Webbrowser Control has a "New_Window" extension, which allows you to control the new window.
hopefordope (02-16-2010)
My post related to this quotation:
I made a web browser, when button1 is clicked it goes to the url. How can i make it search when i hit the enter key? right now i have to click on the actually go button. whats the code?
OK the enter button question is fixed.
NEW QUESTION : when a website open a pop up, right now it open in firefox. I want the pop to open in my browser.
code for that?
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
'A new window will be triggered when a link is clicked
'e.cancel will stop your default browser from opening
With this code whenever you click a link that opens _Blank / _New or if you right click and open link in new window , it will popup a form (copy of form1 in this case) and display the contents.Code:Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow Dim mybr As HtmlElement = WebBrowser1.Document.ActiveElement Dim tlink As String = mybr.GetAttribute("href") Dim newweb As New Form1 newweb.Show() newweb.WebBrowser1.Navigate(tlink) e.Cancel = True End Sub
Last edited by NextGen1; 02-14-2010 at 12:32 PM.
e.Cancel = True
is not a member or something.
say you go to a site in my browser, then a pop up comes up it will open in ie or fox. i want it to open in my brower (the pop up)
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
ok it works but when the new page trys to open i get an IE script error
also if i right click a link while using my browser and click open in new tab i get a script error
Last edited by zmansquared; 02-14-2010 at 12:39 PM. Reason: more
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-