Currency Converter

Trying for live conversions

Page 1 of 1

4 Replies - 24936 Views - Last Post: 13 January 2009 - 03:18 PM Rate Topic: -----

#1 Ruck  Icon User is offline

  • $

Reputation: -5
  • View blog
  • Posts: 1,033
  • Joined: 03-September 01

Currency Converter

Posted 18 September 2001 - 09:39 PM

In my Programming class we are starting out by making a Currency Converter that will convert US to Canadian (Lep :wink:) and Canadian to US. Does anyone know how I could get it to go out to a site on the Net to get the conversion rate live? I don't have the code right in front of me but it's set up like this..
txtCANDollars = Format ( 1.5 * txtUSDollars, "currency" )
Etc.

I'll post all the code tomorrow when I can get it.

Thanks :)

(Edited by Ruck at 12:09 am on Sep. 19, 2001)


Is This A Good Question/Topic? 0
  • +

Replies To: Currency Converter

#2 Ruck  Icon User is offline

  • $

Reputation: -5
  • View blog
  • Posts: 1,033
  • Joined: 03-September 01

Re: Currency Converter

Posted 25 September 2001 - 09:37 AM

Well poop.
Some little wigga deleted our program because they don't have the network set up properly yet. Get to code everything again, what fun!
Oh well; we've started working on other things now. Like a prog that converts minutes, hours, days, years, etc. into seconds! w00t

(Edited by Ruck at 9:38 am on Sep. 25, 2001)

Was This Post Helpful? 0
  • +
  • -

#3 LeprechauN  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 2
  • View blog
  • Posts: 857
  • Joined: 12-March 01

Re: Currency Converter

Posted 25 September 2001 - 10:09 AM

hehe, doing the net thing shouldn't be to hard.. just having the reliable source would be the hard part.
Was This Post Helpful? 0
  • +
  • -

#4 xilica  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 0
  • Joined: 28-May 02

Re: Currency Converter

Posted 28 May 2002 - 07:31 PM

Here is how you would right a converter:

Private Sub Command1_Click()

If (Can.Text = True) Then Us.Text = (1.5 * Can.Text) Else Can.Text = (Us.Text/1.5) End If

The formulas are incorrect I am sure of (I'm not up to date with the currency convertation) but the code is correct.

End Sub

Was This Post Helpful? 0
  • +
  • -

#5 cvh0573  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-January 09

Re: Currency Converter

Posted 13 January 2009 - 03:18 PM

View Postxilica, on 28 May, 2002 - 06:31 PM, said:

Here is how you would right a converter:<p>
Private Sub Command1_Click()<p>If (Can.Text = True) Then
Us.Text = (1.5 * Can.Text)
Else
Can.Text = (Us.Text/1.5)
End If
<p>The formulas are incorrect I am sure of (I'm not up to date with the currency convertation) but the code is correct.<p>End Sub

How would you set up the form and what things do you hvae to put on your form and what would you call the buttons/text boxes?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1