Search:
Type: Posts; User: JXDOS
Search:
Search took 0.07 seconds.
-
Thanks a lot dunfiddlin~! My logic was that news articles tend to have less formatting within the body texts. And the reason for replacing them with ~ is to use them as uniform markers for starts and...
-
I have thought of a potential solution to this though.. the main body tends to have the least <> around it.. making the distance between the last > or < and the next < or > longest. So I have...
-
Hi all,
I am trying to download various texts from different news sources in a systematic way. I know I can use get element by id/tag but it would be quite tedious to make one for each of the 100+...
-
Nevermind. I mysteriously solved the problem by pasting the urls into a listbox instead of using:
For Each strLine As String In TextBox2.Text.Split(vbNewLine)
...
-
I don't think that is the problem because it worked fine when I use to use a webbrowser instead of this webclient, since < is strictly less than anyway.. so its naturally items.Count - 1
The error...
-
endx:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
This happens for the second item on the list, but when I move it to the...
-
Thanks for the replies. I tried it out and it seems to work quite fast. However, it only works for the first one I do, and always fails on the second one (when I alter the second url to first...
-
Hi all,
I used a wait for page load function in the past, but now it seems to be not working after the website has been updated. Most of the content seems to be loaded, including the source,...
-
Thanks for the help guys. sspoke's solution seems to do the trick :)
-
I don't just mean the actual file, but rather an embedded PDF viewer within the webpage. I'm guessing their code has something to detect whether or not the PDF viewer plugin is enabled, and then...
-
Is there some setting in either internet explorer or adobe reader that I can change to handle this?
-
Ye, there is a few issues with using that. The main thing is that I have an existing code in place that uses the browser, mainly because the online database requires a login password on first search....
-
Sorry, what do you mean? Can you give an example? I think its because my program performs a search that involves extracting links from the first results page, browsing through these links and...
-
Yes, because I am using the document.innertext function to avoid some messy highlighting/link code from the html source.
-
Hi all,
I am currently trying to program a web scrapping program, which should be working fine if I searched using internet explorer or chrome - since the results would appear as text (html)....
-
One more quick question, after sending the submit button, I need to wait for the page to load before extracting some data. I have a wait_for_page_load function but it still seems to be performing the...
-
Thanks for your help! I got it to work. Apparently the combo was btn and onclick.
-
Thanks for the reply, so do you mean something like:
Dim allelements As HtmlElementCollection = WebBrowser1.Document.All
For Each webpageelement As HtmlElement In allelements
...
-
Hi all,
I am having a bit of trouble invoking a button without any id or tag name from a webpage.
Here is the html code.
<div class="sbSubmit"><ul class="buttons floatRight"...
-
Thanks for the advice. I'll have a try with the method approach. Do you know any sites with examples that can get me started?
-
That was what I had in mind too. It was suppose to be drop box of possible options that are readable to the user, which each have a corresponding VB command.
Back to the question though, how do...
-
Hi all,
I am trying to implement a strategy game that lets the user define the strategy. I would like to be able to convert their strategy as a string into VB.NET code that can be used in the...
-
Thanks for the suggestion. I did another isolated project and it is working. Must have something to do with me deleting the settings and reinstating them again later.
OK. Works now. There were...
-
Thanks for your help guys. Was looking back at my silly posts back then as reference just now. I have used it in several projects over the years with VS2005 and 2008, but VS 2010 seems to be running...
-
-
I just thought up of the idea. I'm currently away from my home computer so I couldn't try it out. I'll try your suggestion when I get back. Thanks.
-
So, what do I do? CType(Me.GoupBox...?
-
System.Windows.Forms.GroupBox, Text:Feedback
-
Maybe they have the same question?
I don't quite get the collection and parent thing you are talking about. the label definitely exists and is named label1 and there is only one form.
If I'm...
-
I have lots of labels that I need to refer to.
e.g. label1 = listbox1.selecteditem.tostring & "123"
label2 = listbox1.selecteditem.tostring & "123"
I have 20 labels which i need to repeat the...
-
Thanks again, your solutions work great!
-
What if there isn't an Id? Like in the example below:
<div class="dct-em">
<span class="dct-tt">A rope with its ends fastened at different points to a spar or other object in order to provide...
-
Actually, thanks so much. I just realised it was because the webpage didn't finish loading.
-
Hi,
I am trying to extract some data from the webpage's element. Since it is based on the input I type in, the length of the output is different for every different input.
The format of the...
-
Good advice, I'll try it out. thanks!
-
-
the main point is that I'm trying to pick out the "a kind of fish" part.
-
Well, I want to retrieve the definition of a word without the html codes in the retrieved data. I couldn't find a way to get rid of it.
-
-
Hi again, thanks for the help! Can you please check what's wrong with the code I'm currently using?
Public Function dictionaryF(ByVal url As String) As String
Dim HTMLSource As String =...
|
Click Here to Expand Forum to Full Width
|