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:
How can i get a text from a webbrowser to a textbox.Example: I want to get the unknown text on this webpage: url...And i want it to get this text to textbox:[code]
I created a small project in VB using a SQLExpress db. So far everything has been fine. I need to take the little I've done to the customer for a look and feel approval.
When attempting to publish the project, I get the following errors:
"The install location for prerequisites has not been set to 'component vendor's web site' and the file...." You know the drill.
The two files are SQLEXPR32_x86_ENU.EXE and SQLEXPR_x64_ENU.EXE
I have downloaded the files and put them in the following directory:
CODE:
When that didn't work, I copied them to
CODE:
Same error
What's different about SqlExpress than other prerequisites?
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
I currently have my resources (images) in C:inetpubwwwrootimages I also have the images in the same location on my production server. How can I set it up so that I don't have to constantly sync up the folders? Seems like an easy thing but I'm not sure..
I want to build a VB program that will go to a web site and pull out a specific piece of data.I am using VB Express 2010 not sure if it belongs in this .net forum.I am successfully getting to the website using WebBrowser.navigate()The data is provided to me in XML format and I am told that it is ready to be retrieved. They tell me to use XML Parser.When I go to their web site I see the data I need to pull out there is a column with tags in front of each piece, the piece I need is between <Vr0> and </Vr0>.I have no resources other than the net currently I do have a dummies book ordered but will be at least next week (at the earliest) before my first book arrives.Can you explain how I can sort through the data and pull out the data in XML format on a web site?
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 .
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
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?
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.
I'm not sure exactly if the folder icon is in shell32.dll, but nonetheless if it is.Basically, whenever I come across a folder in a FileSystem list, I want to add the icon for a folder to the image list that I am using for the ListView. The problem is that I'm not sure how to reference a specific icon location in a icon collection in a dll.Is this possible with Icon.ExtractAssociatedIcon and shell32.dll?
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.
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....
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.
I'm having a problem getting the src of the image the mouse is hovering over in a webbrowser. I can get an href just fine, just not an src. To get the href, I used this
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.
How I can execute a stored procedure and the put the results into a webbrowser to display. I know html so I will format the stuff to look how I want it to.
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.
Code: InputStream in = new WebInputStream( url ); BrowserOutStream out = new BrowserOutStream(); while(in.read()){ out.write() }; in.close(); out.close();
Simple enough (although the code is simplified here). But i cant seem to find a proper example of the equivalent in vb .net. I am assuming i have to use System.Net.WebClient.OpenRead, but not sure where to go from there.
I want to create a treeview of a specific location, lets say D: drive. I cant seem to find any examples of how to populate a treeview with this info...
Can you anyone recommend any links with extremely easy to follow instructions, or even if its a short code perhaps an example here to get me started?