VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 309,260 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,462 people online right now. Registration is fast and FREE... Join Now!




Currency Converter Help.

 

Currency Converter Help., How do you continue the code?

cvh0573

14 Jan, 2009 - 05:03 PM
Post #1

New D.I.C Head
*

Joined: 7 Jan, 2009
Posts: 2

Here is my code
CODE

Private Sub Command1_Click()

If (Us.Text = True) Then
Can.Text = (1.5 * Us.Text)
Jap.Text = (1.5 * Us.Text)
Mex.Text = (1.5 * Us.Text)
Ind.Text = (1.5 * Us.Text)
Aus.Text = (1.5 * Us.Text)
End If

It convert Us dollars to 5 different currencies. My problem is how do I make it so that it can convert Canadian dollars to Us, Jap, Mex and so on. And I know that the conversion rates are incorrect.

User is offlineProfile CardPM
+Quote Post

 
Reply to this topicStart new topic
Replies(1 - 1)

Fuzz_Bullet

RE: Currency Converter Help.

15 Jan, 2009 - 09:33 AM
Post #2

New D.I.C Head
*

Joined: 30 Nov, 2008
Posts: 25

You'd just be reversing the numbers
CODE
Us.Text = (Can.Text / 1.5)
Us.Text = (Jap.Text / 1.5)
Us.Text = (Mex.Text / 1.5)
Us.Text = (Ind.Text / 1.5)
Us.Text = (Aus.Text / 1.5)


All it was a lil math wink2.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/26/09 10:07AM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month