dcsimg

Search:

Type: Posts; User: JXDOS

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,988

    VS 2010 Re: Extracting main body text from webpage

    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...
  2. Replies
    5
    Views
    4,988

    VS 2010 Re: Extracting main body text from webpage

    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...
  3. Replies
    5
    Views
    4,988

    VS 2010 Extracting main body text from webpage

    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+...
  4. Replies
    9
    Views
    1,460

    Re: WaitForPageLoad OR wait 3 seconds

    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)
    ...
  5. Replies
    9
    Views
    1,460

    Re: WaitForPageLoad OR wait 3 seconds

    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...
  6. Replies
    9
    Views
    1,460

    Re: WaitForPageLoad OR wait 3 seconds

    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...
  7. Replies
    9
    Views
    1,460

    Re: WaitForPageLoad OR wait 3 seconds

    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...
  8. Replies
    9
    Views
    1,460

    [RESOLVED] WaitForPageLoad OR wait 3 seconds

    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,...
  9. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    Thanks for the help guys. sspoke's solution seems to do the trick :)
  10. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    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...
  11. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    Is there some setting in either internet explorer or adobe reader that I can change to handle this?
  12. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    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....
  13. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    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...
  14. VS 2010 Re: Disable adobe reader plugin in Webbrowser

    Yes, because I am using the document.innertext function to avoid some messy highlighting/link code from the html source.
  15. VS 2010 [RESOLVED] Disable adobe reader plugin in Webbrowser

    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)....
  16. Replies
    5
    Views
    4,442

    VS 2010 Re: [RESOLVED] Invoking webpage submit button

    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...
  17. Replies
    5
    Views
    4,442

    VS 2010 Re: Invoking webpage submit button

    Thanks for your help! I got it to work. Apparently the combo was btn and onclick.
  18. Replies
    5
    Views
    4,442

    VS 2010 Re: Invoking webpage submit button

    Thanks for the reply, so do you mean something like:

    Dim allelements As HtmlElementCollection = WebBrowser1.Document.All

    For Each webpageelement As HtmlElement In allelements
    ...
  19. Replies
    5
    Views
    4,442

    VS 2010 [RESOLVED] Invoking webpage submit button

    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"...
  20. Replies
    4
    Views
    605

    VS 2010 Re: User Generated VB code

    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?
  21. Replies
    4
    Views
    605

    VS 2010 Re: User Generated VB code

    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...
  22. Replies
    4
    Views
    605

    VS 2010 User Generated VB code

    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...
  23. Re: [RESOLVED] if checkbox.checked = true then remamber data 4 eva

    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...
  24. Re: [RESOLVED] if checkbox.checked = true then remamber data 4 eva

    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...
  25. VS 2008 Re: How to refer to objects via string

    thanks. It works great!
  26. VS 2008 Re: How to refer to objects via string

    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.
  27. VS 2008 Re: How to refer to objects via string

    So, what do I do? CType(Me.GoupBox...?
  28. VS 2008 Re: How to refer to objects via string

    System.Windows.Forms.GroupBox, Text:Feedback
  29. VS 2008 Re: How to refer to objects via string

    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...
  30. VS 2008 [RESOLVED] How to refer to objects via string

    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...
  31. Re: Web Scrapping (getting output from the web)

    Thanks again, your solutions work great!
  32. Re: Web Scrapping (getting output from the web)

    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...
  33. Re: Web Scrapping (getting output from the web)

    Actually, thanks so much. I just realised it was because the webpage didn't finish loading.
  34. [RESOLVED] Web Scrapping (getting output from the web)

    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...
  35. Replies
    22
    Views
    1,290

    VS 2008 Re: how to get rid of html coding.

    Good advice, I'll try it out. thanks!
  36. Replies
    30
    Views
    1,923

    Re: playing one *.wav without stopping the other.

    nvm.
  37. Replies
    22
    Views
    1,290

    VS 2008 Re: how to get rid of html coding.

    the main point is that I'm trying to pick out the "a kind of fish" part.
  38. Replies
    22
    Views
    1,290

    VS 2008 Re: how to get rid of html coding.

    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.
  39. Replies
    22
    Views
    1,290

    VS 2008 Re: how to get rid of html coding.

    *bump*
  40. Replies
    22
    Views
    1,290

    VS 2008 Re: how to get rid of html coding.

    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 =...
Results 1 to 40 of 437
Page 1 of 11 1 2 3 4



Featured


Click Here to Expand Forum to Full Width