I am trying to create a program which does something similar to a function in excel but with increased functionality. What I need to know for this is how to get the program to search a webpage's source code for a specific string and unfortunately I have no idea how to even begin going about this.
Using VB.Net, how would I go about checking if a loaded page in a Web Browser object contains a certain line of text? Sorry if theres an obvious answer for this, I'm used to programming in Java.
programming and was trying to get a form button to load the yahoo login webpage, wait until the send button was loaded and auto enter the username and password and hit the send button. My code is as follows
Public Class WebLogin Dim ie As Object Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
I am trying to get a form button to load the yahoo login webpage, wait until the send button was loaded and auto enter the username and password and hit the send button. My code is as follows
Public Class WebLogin Dim ie As Object Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ie = CreateObject("internetexplorer.application")
I am trying to write a program that will tell my grandmother whether the internet is live or not. I know, I know, She just doesn't get it. So I want to create a program to load google.com or something and all I want the program to do is tell her whether the site was found or not. Is there a way to do this with the WebBrowser control?
I am making this program that has a loop that goes to a website and fills in a form within the loop. But first, here is my code thus far
Dim message As String = TextBox3.Text Dim loopnumber As Integer = TextBox4.Text 'makes the necessary variables Dim browser As New WebBrowser Dim url As String [Code] .....
But what happens is that the loop runs a few times then it errors on the setattribute line (line 19 above) with NullRefrenceException was unhandled And I have a feeling that it is not loading the page fully before it tries to fill in the form.
I have been searching a lot online but couldn't find a solution for my problem. I want it to refresh every certain interval of time without this message to display. Now Ican't minimize my program because I'm putting an automatic Sendkeys.send("{Enter}") after the refresh to get rid of that message by clicking on "Retry".And If I minimize it the Enter will be executed on the active Window, which might be any other Window.
I hope that you understand what I mean, If not, I will clarify more.
how can i tell if my webbrowser1 if fully loaded with code ? i would need something like this [code] i just need a msgbox to tell me when the webbrowser1 if fully loaded
how can i import email from listbox to loaded url in web browser component?i have an url there www.mylink.com and when it loads it has a textbox and continue button. how to import email from listbox to that textbox and the application after inserting to click to continue button on loaded web url..
1. I get a list of excel files from a dir into a list box and search for number by select each files at once. I want to select multiple files at once and search them one by one.May be using checklistbox.
2. The output is shown in a new window (labels) with result from that particular file. If multiple files are selected that the output should show result from all files in different labels.
3. Excel program stays open in memory after closing my application.
4. Also I cant get the app to display message "maskedtextbox1.text" not found in the sheet.[code]
I get a list of excel files from a dir into a list box and search for a string/number by selecting each files at once. I want to select multiple files at once and search them one by one.May be using checklistbox.
2. The output is shown in a new window (in labels) with result from that particular file. If multiple files are selected than the output should show result from all files in different labels.
3. Excel program stays open in memory after closing my application.
4. Also I cant get the app to display message "maskedtextbox1.text" not found in the sheet. If I do after line 30 Else messagebox.show "String not found", it goes into loop or displays the message even if the string exists in the excel file.
I'm trying to have my web browser simulate the reloading of the webpage without having to refresh the page. For example, if a user loads a web page, then they lose internet connection and they want to refresh the page they could just click a button to reload all the contents of the webpage including scripts to their original settings.
Well,i need a code so when a new tab opens on my default webbrowser(firefox) to surf to the link and then hide the page,but it should be still open,but hidden the code i used is system.diagnostics.process.start(url...)but it only opens the link
If not possible to do this on default web browser,then i need a code for a tabbed erbbrowser i made on vb 2008 at a tabcontrol
I am trying to load a webpage into a web browser control that has a login form on it. What I am wondering is how I would go about changing the username/password input values on that page thru program code. The html element ids are "username" and "password" respectively. I am using vb 2008. I have tried searching but am getting mixed results with asp.net which is not what I want.
I want my users to be able to click a button to open my company's webpage in the default browser when clicked.I'm using VB.net so all .net examples are acceptable.
I trying to make a Web-based application (browser). And when a word comes up, a MsgBox should appear, where it says ("We found your text") or something.[code]...
I can create them using Ctrl+T(webbrowser controls and all) but after that I don't have any idea on how to control them(let's say I select the 5 tab and I don't know how to make that web browser control to navigate to a given webpage). I was thinking of creating an array of webbrowsers but I don;t know how that works.
This program is going to submit GET data to our webpage. However, we don't want users accessing the webpage any other way than the program. We can prevent users from sharing the program using HWID authentication, but nothing prevents them from using a packet scanner to get the URL of the webpage. We thought about user-agent authentication, which we will implement, but user-agents can easily be spoofed.
how can we prevent users from accessing the webpage directly, instead of through the program?
Currently we will be implementing:
HWID Authentication to use the program User-Agent Authentication to access the web page Instant IP Blacklisting to anyone accessing the webpage without the proper User-Agent
In the program that I am creating I need to scan/search a webpage for a image. I have the ID of the image which is "dog", and I need to scan the webpage to see if the image is on the page. If it is not then I will start timer2, but if it is then I will pop up a message box saying that it was found.
Here is the code I have so far:
Dim Dog As String = WebBrowser1.document.GetElementById("dog").GetAttribute("src") If dog = Nothing Then Timer2.Start()