VS 2010 How To Make A Webbrowser
Jul 1, 2010Is it possible to make a webbrowser where when someone clicks a link a button will be enabled?
Example:
If someone press a advertisment the button will be enabled.
Is it possible to make a webbrowser where when someone clicks a link a button will be enabled?
Example:
If someone press a advertisment the button will be enabled.
I want to make a webbrowser, but only have it show one specific thing and not the whole page. The thing I want it to show and only show is in about the middle. How would I frame the page, and put it on the webbrowser?
View 1 Replies1) I want to make my webbrowser to click somewhere. I use this code, but I navigates to it, I want it to click it.
[Code]...
I'm trying to make a webbrowser in VB 2010 just for fun. I'm trying to make a settings menu but I can't seem to figure out how to do it. Form2.ShowDialog() won't work. I'm a total newb to VB so I don't really know what I'm doing wrong.
Here's the code for Form1 (the main browser):
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs)
[CODE]...
I have WebBrowser1 with a loaded page. When I click on a link in WebBrowser1, (in Internet Explorer it will be a PopUp / New Screen) I want it to display in the same webbrowser (WebBrowser1) or if this isn't possible, in WebBrowser2.
View 4 Repliesthis is my first post here on the forums... well here's my problem; I'm trying to make a webbrowser that counts a specific word example:
[Code]...
how should i make my tabcontrolled webbrowser go when hitting enter?
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
Dim WB As CustomBrowser = Me.TabControl1.SelectedTab.Tag
If e.KeyCode = Keys.Enter Then
[code]....
how can i make my webbrowser open up a new link in my same webbrowser or in another form? basically what im saying is i dont want it opening links in internet explorer.
View 3 RepliesI am making a program that automaticly clicks radiobuttons, buttons textboxes ect within a webbrowser. i found a artical about this subject and this is exectly what i want but i still dont understand it totaly so i cant get it to work...to understand this type of coding i am making a program that auto fills in the textbox(search bar) from google and presses enter after it.
Public Class Form1
Dim test As HtmlElement
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As
[code].....
I am writing an ap that monitors a website for changes. The website is for reserving campsites and I need to know when they change the date we can book a reservation. The date can change at midnight or any time during the day. It is completely random.I start the program launching a webbrowser with the URL. I have an inputboxbutton that prompts for the text to track for change. You paste the text in there and then the ap is supposed to wait for x minutes then refresh.I have a refresh button that works perfectly. Here is the code for it:
Private Sub Button_Refresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Refresh.Click
WebBrowser1.Refresh()
[code]....
make a way for my webbrowser to be able to add plug in?
View 4 RepliesI am trying to make a webbrowser in vb 2008 and I put a history in it. But the thing is cause I can't see the history in my listbox.I need to get this done as a school project by wendsday.I tried: ListBox1.Items.Add(My.Settings.History) but no successes.
View 1 Repliesi am trying to make a webbrowser in VB2010, but one major roadblock that has been in my way for a while, is the fact that i can't get my bookmarks bar to work
i have no code to show you and i am completely open to ideas as long as i use a toolstrip just make sure that the bookmarks work and they are Saved when the program is closed and opened again.
Notes:
instead of "WebBrowser1" use:
"
CType(TabControl1.SelectedTab.AttachedControl.Controls.Item(0), WebBrowser).PutWhateverHere()
"
(i am using a dotnetbar tabcontrol so i need the "AttachedControl")
the toolstrip i am using in this case is called "BookmarksBar" so please don't use "ToolStrip1"
first sorr for if i write to wrong direction i have one question . i am use vb 2010 any1 know how make that webbrowser get url from file
View 2 RepliesCan I make WebBrowser as TextBox, so I can write in it when the project is running?
View 7 RepliesI have a project where one form contains the webbrowser control. My application requires that I go to a website and log in first. My code then captures and services the returned URI information. During debugging, I am unable to do any test logins because the form is not accessible. how to enter this information automatically but that is not how I want my program to work.
View 2 RepliesIm gonna make a program to a webbrowser game. There is a captcha, there with pictures of cars. i need to compare these two pictures and i want the result of equalnes in PERCENT. So if the picture are 75% equal then it click on the picture.
View 1 RepliesIm Trying to make a webbrowser history cleaner.
EX: I want the program to delete the history of any webbrowser
so I have a webbrowser control in my main form but it seems I can't render all the css features correctlyI have got IE9 installed, and as far as I know the control uses that to render the page, however some css attributes like border-radius is not working
View 2 RepliesI've done a webbrowser and I want to make it mi default webbrowser and .html viewer. I've found a registry modification, but, when I try to implement a registry modification code, my webbrowser requires to be ran in admin mode. Can I implement a code that doesn't requires admin (like firefox - when you want to make it default browser, it doesn't requires to be ran in admin)?
View 7 Repliesi know how to draw a rectangle and fill it but how do i make it visible over a WebBrowser control, also how would i make the FillRectangle 60% transparent? i have found no understandable results on google. could someone please help me figure this out?
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim myGraphics As Graphics
Dim MyBrush As New SolidBrush(Color.FromArgb(128, 0, 0, 255))
myGraphics = Graphics.FromHwnd(TextBox1.Text)
myGraphics.FillRectangle(MyBrush, New Rectangle(0, 0, 100, 100))
End Sub
For example I want it to go to one page then when it finishes loading go to another. So I want to to go one from one from one all with the click of a button. Is this possible?
P.S: Another question, just to kill two birds with one stone, how do I make it so whatever is written in a textbox is added to the browser url. For example if the users write 'xyz' that it will add it to Google.com/ as an example and make it Google.com/xyz?
I need to make a very simple browser. The problem is that it has to be a WPF application because I'm using a SDK that does not support windows form applications. My question: is this possible and how? Is there some xaml to achieve this?
View 2 Repliesso I am trying to make a tabbed webbrowser. I got the tabs working ok, but here is where I am stumped... Among other things, I want the URL box to display the current URL, however I can only make it display the any one of the tabs URL's at once. I have a class I made that holds the code for my custom webbrowser control, called "Client" and each time I make a new tab on my browser it creates a new instance of Client and adds a number to the end (Client1, Client2) I want to be able to manipulate the Client in each of my tabs, depending on the current tab that is selected.
View 4 RepliesOn my userform there is the typical min, max, close options in the upper right hand corner. If the user maximizes the userform can I make the WebBrowser control scale to size but never smaller than initial settings?
View 5 Repliesi know how to make it but i want to know how to make tap controller as web browser.
View 6 RepliesI am trying to figure out a way to to make a webbrowser scroll to an html element and center the element.
View 1 RepliesHow can I make a form with a new webbrowser control on it every time?
View 13 RepliesHow can I make a form with a new webbrowser control on it everytime?
View 2 RepliesWhats the code to make the picturebox become the favicon of the website in the navigation textbox?
I found this code but it's for non-tabbed webbrowser.How would you change it to work for a Tabbed Webbrowser?[code]...