Search:

Type: Posts; User: dynamic_sysop

Page 1 of 13 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    17
    Views
    2,163

    Re: Webpage Text Into Array

    would referencing to mshtml be an issue for you? if not you could use the IHtmlDocument2 along with the HttpWebrequest / HttpWebresponse / Streamreader, like this.....

    Imports mshtml
    Imports...
  2. Replies
    17
    Views
    2,163

    Re: Webpage Text Into Array

    There's quite a good example / tutorial on downloading the web content to XML here ---- > https://developer.yahoo.com/dotnet/howto-xml_vb.html :)
  3. Re: Get the HEX color of the pixel the mouse is on?

    that example won't work because it's a vb6 sample they provided & would need a fair bit of modification to get it to work. you may want to look at the System.Drawing Namespace. it may provide what...
  4. VS 2010 Re: Working With iFrames in the WebBrowser Control

    the example link you posted doesn't have iframes ( atleast not looking from firefox ) it uses javascript for the googleSearchFrame, so no matter how much you try searching for window.frames on that...
  5. Replies
    1
    Views
    563

    VS 2008 Re: Getting value of an HTML Element

    use GetElementById to get the Element ( eg: id1 ) & then GetAttribute to get it's value, like this...


    '/// obviously putting your own browser's name where i have WebBrowser1.
    If...
  6. Replies
    5
    Views
    824

    VS 2010 Re: Regex to get string.

    been a long week, lucky for me i listened to the ad on the TV & i really am off to specsavers in a few minutes lol
  7. Replies
    5
    Views
    824

    VS 2010 Re: Regex to get string.

    because the pStyle varies, you would need to make a new regex pattern for each line with that code.
    you could do this also, which would avoid the pStyle issue...


    '/// this pattern will...
  8. Re: webBrowser html element & error...

    That's exactly what .Paul has already explained, if i was to take a wild stab in the dark & assume that you wanted to find something in the html you posted...

    <a onclick="baything(9526794,6)"...
  9. Re: webBrowser html element & error...

    does your webpage contain the text id=""timeDiv"" inside it's html? because the example .Paul posted will work if you are using it on a page that actually contains that info.
  10. Replies
    7
    Views
    2,257

    VS 2010 Re: WebBrowser Handle new window

    here's some links to get you started...

    http://www.v b d o t n e t forums.com/other/10379-webbrowser-2-0-newwindow.html ( **** Remove the spaces from v b d o t n e t **** )
    ...
  11. Re: webBrowser html element & error...

    well, i'm not sure if i'm the only one. but i'm completely lost as to what the question is you are asking? which maybe why no one is answering.

    What exactly are you now trying to achieve?
  12. VS 2008 Re: VBNET2008 EXCEL 2003 - OLEDB to retrieve EXCEL Data to DataReader

    you do know that could not find installable ISAM is a very common problem in VS don't you?

    Do a search in google using OleDb excel 2003 could not find installable ISAM & you will see :)

    There...
  13. VS 2008 Re: [RESOLVED] Monitor HTTP data sent and recieved over a webbrowser control

    you're welcome :rolleyes:
  14. VS 2008 Re: Monitor HTTP data sent and recieved over a webbrowser control

    you may want to import mshtml to use some events, i don't know if the newer .NET browser has those events exposed.
    but here's a link to how to use a proxy in a webbrowser in .net ......
  15. VS 2008 Re: Monitor HTTP data sent and recieved over a webbrowser control

    hahaha :)

    i think they are using the webbrowser on a windows form ( not asp ) have you tried the webbrowser's before navigate event? it usually allows you to inspect headers.

    if you want to...
  16. Replies
    3
    Views
    2,317

    Re: Live Http Headers (FireFox Addon)

    hang on, so people put them selves out to help others for free ( which they don't have to do, but are kind enough to ) & you post a question about reading live http header info ( including deciding...
  17. VS 2010 Re: Web browser (Internet Explorer) & words in the text box

    Just use Regex.Escape to allow searching of special characters.
    eg:


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    ...
  18. VS 2010 Re: Web browser (Internet Explorer) & words in the text box

    probably because you asked How do you find a word...


    :[testing]: is not a word, it contains a word, but it starts & ends with special characters.
    you would have to add a regex pattern to find...
  19. VS 2010 Re: Web browser (Internet Explorer) & words in the text box

    try the Regex website, it's got all the answers you need & you may actually learn something, the address is http://www.regular-expressions.info/tutorial.html

    if you want to search for words even...
  20. VS 2010 Re: Search Listview: Object reference not set to an instance of an object

    To be honest i don't know what the point of TopItem is, i think it does something to it's index, but it doesn't move anywhere, i've managed to search a few different items in a lisview & select the...
  21. VS 2010 Re: Search Listview: Object reference not set to an instance of an object

    what do you have the listview VIEW set to?

    & Do you have subitems in your listview? (you have include subitems as True on the textsearch ( although i doubt that matters ) )

    i've added items to...
  22. VS 2010 Re: Search Listview: Object reference not set to an instance of an object

    looking at this, where exactly are you using the code that is giving you an error? (ie: in a button_click?) just seeing you put that you went to type a letter & got the error makes me think you are...
  23. VS 2010 Re: Search Listview: Object reference not set to an instance of an object

    you shouldn't be declaring atem AS NEW...


    because when you specify ListView1.TopItem = atem, you are telling it to set the NEW ListviewItem as the TopItem (which although you have an item by...
  24. Replies
    3
    Views
    694

    Re: Problem With HTML Tags

    erm that's not C# code it's vb.net :rolleyes:
  25. Re: On a macbook, I cant list Directories in root mac drive, any ideas?

    just use the DriveInfo class of System.IO to get the names / paths / volumes of all your drives, should show how to lay the path out.
    eg:


    private void button1_Click(object sender,...
  26. Re: On a macbook, I cant list Directories in root mac drive, any ideas?

    have you tried double backslash E:\\ ?

    More to the point, why oh why have a quality bit of kit like a mack book & then go & bung win7 on it? :eek:
  27. Replies
    3
    Views
    813

    VS 2010 Re: Find Function in DLL

    I think they want to get the dll imports from any dll (eg: not just a .NET dll, but probably more likely one's made with C++ )

    You can check what functions are available export / import using...
  28. VS 2008 Re: How to check if CheckBox is checked?

    Each one of the items you are getting when you call CheckedListbox1.Items is a String object, but you are trying to look at them as a checkbox, that's why you get the error.
    do as Shaggy Hiker Says,...
  29. VS 2010 Re: Parsing Google results in listbox (in VB.net)

    have you actually looked at the code properly? you will see it says the following...


    Dim cl As New GwebSearchClient("http://www.google.co.uk/")

    cl is whatever you name the instance of...
  30. Replies
    4
    Views
    723

    Re: Writing XML from dataset

    are you using WriteXml more than once in the same Sub?
    i notice you are declaring the SQLString more than once.

    If so, i'm wondering if this is having an impact on what's being written in the xml...
  31. VS 2010 Re: Adding ToolboxBitmap to Usercontrol.

    you should only use the underscore _ at the end of a line if you are continuing the same piece of code on the next line as far as i'm aware.
    eg:


    Dim strString As _
    String

    also i notice you...
  32. Replies
    4
    Views
    723

    Re: Writing XML from dataset

    You could try checking what data is being writen as a test with a StringWriter.
    eg:


    Dim swriter As New StringWriter()

    Me.FlightDetailsTable.WriteXml(swriter)
    ...
  33. Replies
    4
    Views
    3,863

    VS 2010 Re: Get process windows handle and title

    If you select Thread Tools at the top of this thread, you can mark it as " Resolved " :)
  34. VS 2010 Re: Web browser (Internet Explorer) & words in the text box

    Do You mean you want Internet Explorer open & when it goes to a page, the same page loads into the webbrowser? or do you just want to know if you can navigate to a webpage with a webbrowser in the...
  35. VS 2010 Re: Parsing Google results in listbox (in VB.net)

    I already put a reply on this thread ---> http://www.vbforums.com/showthread.php?t=627454 in which you posted asking the same thing.

    You need to use the google api ( as i've described in that...
  36. Replies
    4
    Views
    3,863

    VS 2010 Re: Get process windows handle and title

    you can use System.Diagnostics.Process to retrieve info about a running process. eg:


    '/// Get all instances of mozilla firefox in this example...
    Dim prs As Process() =...
  37. Replies
    15
    Views
    1,440

    VS 2010 Re: Retrieve Text From WebBrowser

    The reason you are getting a blank value when you look at the element with the name Class=Red is because the word you are searching for is outside the element ( it's outside a </B> , your class=red...
  38. VS 2008 Re: Multiple Line string in vb.net

    Pc, you can keep adding to a string, but you don't have an index as such. As Bruce mentioned the List(Of ) , this is probably better if you want to keep adding to it. eg:


    Dim strList As...
  39. Replies
    4
    Views
    2,712

    VS 2008 Re: Google Search and display result

    go to google's developer area & you have the search api there, the link to the api page is http://code.google.com/p/google-api-for-dotnet/ the downloads list is at...
  40. Replies
    4
    Views
    1,439

    3.0/LINQ Re: Help with parsing xml

    took a while to write this & get it to actually work, give it a go. you will have to deal with adding the values to your list or where ever you want to store it, but this will retrieve the TERM &...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width