Re-Directed To Another Site With Your Own WebBrowser In V.B. 2010?
Apr 20, 2011
Is It Possible If Re-Directed To Another Site With Your Own WebBrowser In V.B. 2010, Have The Combobox (URL Entering Bar), Display The Current URL Of The Site You Are On? I Have A Tabbed WebBrowser If That .
View 4 Replies
ADVERTISEMENT
May 22, 2010
I have been trying to find a way to extract information from a website WITHOUT a webbrowser control. I do not want to use the webbrowser because it is too laggy.
so this is what i've tried:
Dim browser As System.Net.WebClient = New System.Net.WebClient
browser.BaseAddress = ("website here")
Dim info As String = browser.DownloadString(browser.BaseAddress)
[Code]....
as you can see, what i've tried is to download the websites source code then find with an index value the information i want. However, how do i get specific information from the website without having to find the information by its index location?
In short, is it possible to use GetElementById without having to use webbrowser1?
View 3 Replies
Feb 26, 2011
I want with the click on the Button to get values from the site.The site has a code example:
1.Name: <b>Daniel</b><BR>
Daniel is the value I want to get into TextBox1.text
2.Same as the first:
<a onclick=" infowin(478488) " href="#"> ' It's not the full code
in the
Green: variable
Red: Text that I want to get what inside the brackets (variable)
View 39 Replies
Feb 13, 2010
automatic login to a website I want to use webbrowser site login screen, but you do not open the popup site is directed to the main page.How can I solve this problem
View 3 Replies
Mar 29, 2009
I'm trying to use WebBrowser to remotely log into a site and perform a basic action on the site.I'm running into problems though so maybe you brilliant people The first step is logging in to the site. Here's the form code for the login:
<form action="" method="post" id="loginform">
<input type="text" name="username"/>
<input type="password" name="password"/>
[code].....
View 2 Replies
Sep 12, 2011
how can i get the html code via WebBrowser control?
View 1 Replies
Nov 4, 2008
in my form load, I have the web browser control navigate to a site. What I'm trying to do is when a user clicks button1, i want the program to look through the webpage and check if there is an image source equal to a static URL that I assign. this is basically just navigating to a website & checking if a certain link exists.
View 10 Replies
Mar 23, 2011
In my program I am trying to make a combobox that when the user hits enter it will navigate the web browser to the site address that the user entered into the combobox. I tried this code:
If Keys.Enter Then
WebBrowser1.Navigate(ComboBox1.Text)
And then when I debugged the program and tried it out, the web browser did nothing.
View 3 Replies
Jul 2, 2010
How can I make a application there detects when the webbrowser navigates to another website?
View 8 Replies
Mar 8, 2012
We've been set a task to build a really basic web browser with one advanced function. I've done the web browser with the basic functionality. The advanced feature is a "most visited site" feature. I need to create some kind of listbox, that keeps track of all the websites visited (when the go button is pressed) and arranges them in the most popular order (i.e. the one that has been clicked the most). Furthermore, it states that substrings should be used so that for example if you go to [URL] and go to [URL] that counts as 1 hit. I'm sure its something to do with arrays, but he did say you will need to use multiple procedures/strings/functions....
View 3 Replies
Nov 26, 2009
I have a webbrowser control on a form and try to navigate to one specific site. It seems to me that the remote detects that call is from a desktop program and redirect it. Is it possible? and if it is how I can hide it.
View 1 Replies
Feb 26, 2010
Im trying to get my webbrowser to display Specific location of the website it's loading i.e login
Instead its showing me top right coner of the banner :s
Is there a way for my webbrowser to display whats on middle of the page and not on top of the site it self ?
View 29 Replies
Aug 27, 2010
How can I make my webbrowser control to show only a specific part of the site. for example show only the google text on [url]...
View 1 Replies
Mar 10, 2006
I am using an embedded webbrowser control to access a third-party website, populate the username and password boxes on their front page, and login. The problem I have is that the resulting window that the site returns to me is in the form of a new window. What I want to do is capture this window and all it's session/cookie data in to the original webbrowser control, as even if I direct the original window to the same resulting url, some kind of authentication data is missing and the site tells me I have logged out, even though the popup window works fine. I need that page in the original control so that I can continue to access it programmatically, and I don't really want to get in to the complication of accessing the new window, as I expect I'll have to delve in to the api or something.
View 1 Replies
Jun 25, 2011
I am trying to use my web browser control to get retrieve date from a specific page, including all sub-page content. Problem is some of the sub-pages are on a separate domain and thus I am getting a permission deigned error when i try to access the frame [through document.windows.frames(i).document].Is there any work around to do this, even if I have to manually change security settings? I tried turning all my settings in IE to allow and still same error. I will only be running the app locally and no one will be browsing on IE so I can literally change anything needed to get this to work (even install older version of IE which may allow it but can still handle JS processing).
Note the reason I am using web browser is a great majority of data I will be accessing is JS generated, so I need to access the DOM after JS processed / generated the HTML. Because of this, simply using SOCKETS to get the HTML is really not an option. Even if I had the HTML, I still need some type of engine to process all of the DOM elements based off javascript.
View 2 Replies
Jun 18, 2011
I've been trying to make a app that logs into a website. So far it didn't work for me.I have trouble because:
- The "pin" (username) box on the site doesn't have an ID. (Can't use getelementbyid)
- The picture doesn't have an ID either
Codes I've tried:
With WebBrowser1.Document
.All("pin").InnerText = "mypinhere"
End With
End Sub
This should have, in my opinion, filled in the textbox. Now I need to click the login button?Also I found this in the source of the site:
<img src="/media/img/text_AccountPin.gif" alt="Account Pin" width="93" height="10" border="0"> <input type="text" name="pin" class="form" size="15"> </p>
As we can see, it says
name="pin"
So I should be able to use "getelementbytagname" right?Also, the formId is logmein (log me in)
<form id="logmein"....
This is what I came up with:
Dim webbrowserDocForm As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("logmein")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlValue As String = curElement.GetAttribute("Value").ToString
[code]....
in the next code it's tagname is "input" or "text"? Because I found:
<input type="text" name="pin" class="form" size="15"> </p>
Code for filling in:
webbrowserDocForm = WebBrowser1.document.GetElementsByTagName("text")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlName As String = curElement.GetAttribute("name").ToString
[code]....
It doesn't give me any errors no more, but it doesn't work either.
View 3 Replies
Mar 26, 2010
I am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in VB.net?
View 3 Replies
Feb 9, 2010
Ive got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with
Quote:
{"Collection was modified; enumeration operation might not execute."}
The error flags up on the "Next" line in "ThreadedPing"
Thread stuff
Public Sub ThreadedPing(ByVal dt As DataTable)
Try
Dim dr As DataRow
[CODE]...
View 2 Replies
Oct 13, 2010
When i publish my program i choose to let the application check for updates via a website and if their is one update automatically when the program starts. Is their a way were on the main user form i can make it so that the user can change the update site with out me building the program again with the new site. I want to do this becuase the site i use goes down alot so when i changed the update url no one was able to download the update for the new update server.
View 16 Replies
May 19, 2011
I'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,fidelity.com",AppWinStyle.NormalFocus)
This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.
View 7 Replies
May 18, 2012
I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.
I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:
IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0
View 2 Replies
Jan 8, 2010
i want to know how can i code my button when i click it will open my site ... i Think i was clear.
View 1 Replies
Nov 8, 2010
We're trying to install this across a school for use by our students. How can I obtain a site licence as the 30 day trial has ran out and VB Express is asking to be reinstalled?
View 3 Replies
Jun 24, 2011
im trying to get a picture from a site to a picturebox. I know that you can use imagelocation, but the imagelocation is changing. For example:
[URL}
(not real images obv)How can i get this changing picture?
View 2 Replies
Jul 13, 2010
I'm trying to integrate a feature into my application that emulates a cell phone. This means that when the "mobile browser" is used, the browser automatically redirects to the mobile version of the site (if there is one). How would I do this? Is there a way to make the site think my browser is from a mobile phone? How do I detect if there is a mobile version of the site?
View 3 Replies
May 6, 2011
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 Replies
Sep 22, 2011
I always wanted to make some websites. Is VB 2010 a good tool to make websites?
Where is a good place to start. Tutorials, examples and all of that.
View 1 Replies
May 6, 2012
Currently I'm using a third party file hosting website (like mediafire) to upload my program and I update the link every time a new version is out.I know there are some ways to autoupdate the program but most of them need to own a website, which currently I don't have.So I was wondering if there could be a way to make an autoupdate using sites like mediafire.Example: I always delete old version of the program, on mediafire when someone try to access a deleted file page he gets redirected on a page which says "file deleted or invalid". So if the program find out that the file link redirect to that page it should inform the user about the new version.
View 1 Replies
Feb 4, 2012
I knew a code and can't find it anywhere. So here it goes.I want to click a button on a website (so far I know how) but what I want to do is when I press the button, I want the program to let the webpage finish loading then invoke the click.
View 12 Replies
Mar 27, 2012
I need to connect my VB app to html site and login in it...after that I need to view informations in labels may be it will be with ID or anything alse I do not know...[URL]I only need to log in from VB application form with out any webbrowsers and something alses...
P.s. I have my username and password on this site but I want do log in with my VB app...
View 9 Replies