Get The Form To Do Something If The Web Browser Goes To A Specific URL?
Jul 3, 2011How do I get the form to do something if the web browser goes to a specific url?
View 2 RepliesHow do I get the form to do something if the web browser goes to a specific url?
View 2 RepliesI have incorporated a 3rd party program in my project to run at certain times, but when this 3rd party program is ran, it opens an instance of IE every time it is ran. I dont want this ie open when my program is running. So i was hoping to incorporate code that will close that IE page when it opens. It has the same Title every time it opens. is there code that can sniff out the title of an IE browser window and then close it?
View 2 RepliesI really have some question regrading web browser, and i don't understand why am i getting this error
"Object reference not set to an instance of an object."
This is the page source
PHP
<a name="profile-comment-username" href="/user/one4one" style="font-size: 12px;"><b>one4one</b></a>
you see the (one4one )
I want my program to go and search on the website, and if it founds it then i just show a message box ("Found")
here is my code
PHP
For Each DivTag As HtmlElement In Webbrowser1.Document.GetElementsByTagName("a")
Dim s = DivTag.GetAttribute("profile-comment-username")
If DivTag.Parent.OuterText.Contains("one4one") = True Then
[Code]....
Is there a way to have your program automatically create a proxy for a specific browser, like IE, when your app is running? I was thinking that maybe you could create a VLAN proxy or something and a button on the app to toggle it on and off. But I'm not sure how or if one can do it.
View 1 Repliesso i have came so far by now :
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
[Code]....
anyways, i want to simulate a click in a specific spot of this browser ... lets say i want to click the upper part of the webpage . how will i do that ? i actually searched but i found only click given the coordinates of the desktop or things like this but nothing for giving coordinated to your program and that will click INSIDE your browser
Ok I have a code which will detect whether a browser is running.(Here iexplorer, chrome and firefox)
When someone presses a button, i would like the program to execute a javascript code in the browser selected..I have no idea how this can be acheived
making verified accounts for my marketing and now I am hooked into improving as it is turning into a very good program I am just stuck with one thing which I can see being a very simple solution but I have search forum after forum and tonnes of Google searches all worded different to solve my my.It really is simple at present I use different buttons to automate different parts/pages of the account creation I am now setting it up so I click say for example a "go" button and it fills in the first page (and heres where I'm stuck waits for a specific url or even just a new url to load before continuing with the next bit of code
View 15 RepliesTo refresh or invalidate only a region of the form.sometimes I will need refresh all the form, but in some situations only specific regions of the form..I saw some samples on the Microsft site, but I don't understood.I use VB .net 2008
View 3 RepliesI tried using the web browser control for the first time.The problem I had was that the size of the web browser defaulted to the size of the form. Even when I tried to downsize the webbrowser ( via properties ) it still filled the entire form. I also tried to drastically increase the size of the form( again via the form's properties ), the web browser still filled the entire form. how to create a form where the web browser only takes up half the space of the form.
View 1 RepliesI have form A that has a datagrid on it, I want to be able to double click a row in form A and open form B to that record.
I know how to do that in VBA in Access 2007, but I am having trouble comprehending the procedure for VB 2010.
I want to know if vb .net form can be also loaded into browser.And how it will done?
View 3 RepliesI have a web browser on form2 and I got it to display in form1 and in a panel. But how do I get it to auto re-size in the panel on form1?
View 3 Repliesi Have vb 2010 and i am trying to embed a web browser onto a form which i have done. now i need a button to take me to a webpage within this embedded web browser.
What code do i need for this?
In my web form "A.apsx" i have buttonto call another web form "B.aspx", How do i make the the button open the web form "B.aspx" in another browser?
View 3 RepliesI was hoping to be able to monitor webbrowser1.documentcomplete which is being used in form1....but be monitoring it from form2.So basically I was hoping to run a form1.webbrowser1.documentcomplete in form2.If not does anyone have any suggestions? I currently am doing it with timers and it is just not working properly.
View 4 RepliesWhen you add a web browser to your form, what are some of the controls you can use with it? I've never used one of these things. For example, you know how on Windows Media Player, when you right click a media file and click "Find album info," it pulls up a little browser on the right side of the program and pre-loads a Microsoft web page?
Is there a way you can click on a button, and it will pull up the embedded web browser that loads a site for you?
Some how I lost the capability to see a selected file in a WebBroswer on my userform.I took a functioning program, and well, made it non-functioning. I'm a professional, do not try this at home. This was the original code.
Option Explicit On
Imports System.IO
Imports System.IO.FileInfo
[code].....
I've done simple preliminary research without success--I'm posting now simply because time is an issue. I wanted to see if I could use the on-form web browser to pull up forms not on the server or internet, but locally hosted in the solution. Based on what the user selects in a combo box, I need certain parameters (any 5 are relevant out of approx 100 total). I was hoping to do this without a button--pulling up a form with command button is a last resort. Is this possible?
View 7 Repliesi wish to use this form which returns a value true or false,
<form action="loginapp.php" method="post" name="logmein">
<table>
<tr>
[Code]....
i'm trying to do away with webbrowsers (IE required) from my vb project.
also whats a better alternative to ie browsers in vb.net, i been looking at gecko but people say it requires you to include 16mb+ worth of files?!?
there must be a way to include browser functionality, without the end user required to have IE Browser?
I have a windows form that I would like to have search for an html button in the user's browser. I would need the location of the button on the screen.
View 4 RepliesI have a windows form that I would like to have search for an html button in the user's browser. I would need the location of the button on the screen
View 13 RepliesIs there a way to have a desktop vb application take control of an already open browser window? For example, have it mouse click certain coordinates in the window or check if the window contains certain elements.
I've looked at using Microsoft Internet Controls(shdocvw) and MSHTML(IHTMLDocument2) but I am struggling on how to access elements of the browser window (e.g. body.innnerHTML).
In VB6 classical, we could do:
Private Sub Form_Load()
WebBrowser1.Navigate2 "http://yourSite.com"
End Sub
[code].....
im trying to build an app that will simply contain a webbrowser.i have started an WindowsForm project and added the "Webbrowser component" and it works fine when i build the app and test it.although if i try to go to a page containing a FLashmovie etc. there is simply an "White doc icon with an red cross in it" just like it cant display the picture. although it is an flash doc/movie.or in this particular case an audioplayer.I have tried other flash and still the same thing.
View 7 RepliesI want to make a form which has 2 text box
username:
textbox1 here
password:
textbox2 here
Login button
when you click the login button, it will form#.show which will be a web browser
then i want it where the text from textbox 1 and 2 can be put into a textbox ON A WEB PAGE if I get the text box's ID number.
So basically can I transfer data from form to form?
I am having a problem with the aero glass effect on the form. I have successfully spread the glass to the background of the form, but now the buttons ext ect. look like this (I have tried EVERYTHING on this page with no success):url...[code]
View 1 RepliesI'm making a program and I want the program to save a form as an executable file(.exe). Is this possible?
View 9 RepliesI'm building a web browser using the WebBrowser control in a normal vb form. I would like to add an option where the user can view the source code for the page like in internet explorer.
View 1 RepliesI tried several samples on the forums I can not get it to click.
For Each element As HtmlElement In WebBrowser1.Document.Links[code]...
am trying to find out is there any way to create a web browser in a vb.net aspx page rather a vb.net form. I have looked on the internet they all seem to be on a form and not a website. The reason I want it on a website is so that i can view other website pages on the website that I am creating for holding game information. For example a user is interested in finding information about a certain game within my website and instead of using another tab or opening another browser page he/she can just use the inbuilt browser on my wbesite.
View 1 Replies