Gaming Need help with Visual Basic 2008

raiderscrusade

Well-Known Member
OP
Member
Joined
Jun 30, 2009
Messages
433
Trophies
0
XP
155
Country
Hello,

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:
Points:
Percentage:

Example, if I was to do this with Google:

Code:
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:

Code:
Public Class Form1
ÂÂÂÂPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ÂÂÂÂÂÂÂÂWebBrowser1.Navigate("http://www.google.com/finance?q=" & 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:
QUOTE said:
Full Stock Name: "stockname"
Current Price: "current"
Points: "points"
Percentage: "percent"

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.

Thanks!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: