how to make a currency converter program in C

June 6, 2011 at 19:42:54
Specs: Windows XP
I would like to make an application just like the one airlines use to convert the fares on their websites to another currency automatically. BR

See More: how to make a currency converter program in C

Report •

#1
June 6, 2011 at 23:20:00
Sorry, there is something missing on the title, it supposed to be:
how to make a currency converter program in C#

Report •

#2
June 7, 2011 at 13:28:07
So what is the problem. Once you have the conversion rates it is just a simple matter of multiplication or division with the currency you are converting from.

There are numerous web sites that will give you currency conversion rates.

Stuart


Report •

#3
August 18, 2011 at 01:15:12
You can but...I prefer VB.NET here's the code (For VB):

You need:

A Form Named: CC - ProMaker (VB)
2 Buttons Named: Convert & Cancel
2 Labels Named: Number: & Currency:
2 Textboxes (1 for number & 1 for currency)

The Code:

Public Class Form1

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.Close()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox2.Text = "$" & TextBox1.Text
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox2.Enabled = False
TextBox2.BackColor = Color.GreenYellow
TextBox2.ForeColor = Color.White
Me.ControlBox = False
'Enable this if you want to: Me.BackColor = Your Colour Here
End Sub
End Class


Report •

Related Solutions

#4
August 18, 2011 at 01:16:36
Oops... I forgot to add on my post:
Is that what you wanted???


Report •

Ask Question