Need help with Visual Basic 2008

Discussion in 'Computer Games and General Discussion' started by raiderscrusade, Oct 17, 2010.

  1. raiderscrusade

    raiderscrusade GBAtemp Fan

    Jun 30, 2009

    Recently I have been having interest in shares, and want to make it a bit easier to find them.

    I want to develop a program that searches for the share code (Example: GOOG for Google) and displays:

    Full Stock Name:
    Current Price:

    Example, if I was to do this with Google:

    Stock Name: Google Inc. /GOOG
    Current Price: 601.45
    Points: +60.52
    Percentage: (11.19%)
    I am using a Webbrowser tool to achieve this. Right now this is my code, and as you can see I am having troubles on how to obtain the other information, which is my problem I need solving:

    Public Class Form1
    ÂÂÂÂPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    ÂÂÂÂÂÂÂÂWebBrowser1.Navigate("" & TextBox1.Text & "")
    ÂÂÂÂEnd Sub
    End Class
    TextBox1.Text is the input in which the person searches for the share, "GOOG" for example.

    These are the names for my labels in which the items should display:
    How would I go about getting the elements needed to output how I want it?

    Any help would be appreciated, I've tried getting elements by ID but it has failed.