Monday, February 23, 2009

Digital Downloads

Today we noticed sum unused applications which wood be a good idea to remember them.
For the Digital Downloads Project, these appeared:

Const _cdecPriceperDownload As Decimal = 0.99D
This allows us to keep the pricing constant.

Dim strNumberofSongs As String
Dim intNumberofSongs As Integer
Dim decTotalCostofDownloads As Decimal
These are our declarations that the next step will be to give them an application

strNumberofSongs = Me.txtNumberofDownloads.Text
This allows the strNumberofSongs to equal the txtNumberofDownloads

intNumberofSongs = Convert.ToInt32(strNumberofSongs)
this allows the intNumberofSongs to be converted

decTotalCostofDownloads = intNumberofSongs * _cdecPriceperDownload
This process allows the calculation between the number of songs selected and the price per download to give us a cost for the songs.

Me.lblTotalCostofDownloads.Text = decTotalCostofDownloads.ToString("C")
This allows the cost to be shown as currency

Me.txtNumberofDownloads.Clear()
Me.lblTotalCostofDownloads.Text = ""
Me.txtNumberofDownloads.Focus()
This process allows the clear button to erase the text that is within the textbox.

Me.Close()
This allows the close button to close the program

I hope this has been handy for ppl so cya on Friday or weneva i cya
and remember to keep watching the skies........or sum Visual Studio Tutorials lol.

Links for Visual Basic/Studio

http://en.wikipedia.org/wiki/Visual_basic
http://en.wikipedia.org/wiki/Visual_Studio_.NET
http://www.microsoft.com/visualstudio/en-us/default.mspx

Sunday, February 22, 2009

Quiz Reminder

Hey again everybody just a reminder that the quiz is in 2 weeks on the 10th of march which is a tuesdy but its open book so ya dont have ta study if ya dont wanna. Me on the other hand will study a bit as i havent used VB b4 so i should get used to it.

Until next time, keep watching the skies...........or sum Visual Studio Tutorials lol!!!

Sunday, February 15, 2009

Hello Everybody

Hey everybody Nathan Stone here saying stuff to create a blog.

Uum.....wat to say?

Er..maybe i should just make sum stuff up.

How well doesnt matta for now well i congratulat everybody on getting into the Multimedia/Websites Ceft IV class and i look forward to blogging wid everybody.