Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Visual Basic / VB:
K guys

 

 


rs owner
Member


Aug 30, 2006, 7:59 PM

Post #1 of 13 (475 views)
Shortcut
K guys Can't Post

I want to create a program that converts foot to centimetre measurements. I was just wondering if you guys could give me a few pointers or show me to a specific tutorial. Heres a screenie of what i have in my toolbox currently, nothing is on my page at the moment.



TazG
Veteran / Moderator


Aug 30, 2006, 10:09 PM

Post #2 of 13 (472 views)
Shortcut
Re: [rs owner] K guys [In reply to] Can't Post

If you know the math equations, what else is there to explain?


MY BLOG,


Skanky!
Senior Member


Aug 31, 2006, 10:19 PM

Post #3 of 13 (460 views)
Shortcut
Re: [TazG] K guys [In reply to] Can't Post

Just gimme a good tutorial to one, or a script i can analyze.


meteora184
Newbie

Sep 1, 2006, 2:05 AM

Post #4 of 13 (456 views)
Shortcut
Re: [Skanky!] K guys [In reply to] Can't Post

i'll give u a script with everything needed, if u have a formula for it, i don't feel like figuring it out by myself.


http://www.metoslash.co.nr
^my website^
has lotsa runescape vb source and cheats.


Skanky!
Senior Member


Sep 1, 2006, 6:35 PM

Post #5 of 13 (450 views)
Shortcut
Re: [meteora184] K guys [In reply to] Can't Post

I meant inches to cm. And every inch is 2.5 cm.

cm x 0.39* = in
in x 2.54 = cm Thats the formula.


meteora184
Newbie

Sep 2, 2006, 8:46 AM

Post #6 of 13 (441 views)
Shortcut
Re: [Skanky!] K guys [In reply to] Can't Post

ok first u must add a textbox named textbox1 (this will be where u enter inches/centimeters)

then you must add two buttons. one named "btncentinch" (this one goes from centimeters to inches)
and another one named "btninchcent" (this one goes from inches to centimeters to inches)

lastly add a label called "answer" (this label will show the answer to the formula)

then all you do is add this code into the form.

Code
Public Class Form1  
Private Sub btncentinch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncentinch.Click
Dim cm As Decimal
cm = TextBox1.Text
answer.Text = cm * 0.39
End Sub

Private Sub btninchcent_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btninchcent.Click
Dim inch As Decimal
inch = TextBox1.Text
answer.Text = inch * 2.54
End Sub
End Class



http://www.metoslash.co.nr
^my website^
has lotsa runescape vb source and cheats.

(This post was edited by meteora184 on Sep 2, 2006, 8:49 AM)


Chupa chups
Member


Sep 2, 2006, 12:18 PM

Post #7 of 13 (436 views)
Shortcut
Re: [meteora184] K guys [In reply to] Can't Post

Oh yeah im using vb 2005 express edition and i dont know how to find a button.


That one moment when she was sandwhiched between the two Finnish dwarves and the maori tribesman...- Derek Zoolander (talking after a gangbang)


coolgreen44
Senior Member

Sep 2, 2006, 3:24 PM

Post #8 of 13 (433 views)
Shortcut
Re: [Chupa chups] K guys [In reply to] Can't Post

Find a button? You mean like the button control?


Cybernations


Sir lol
Enthusiast


Sep 2, 2006, 5:50 PM

Post #9 of 13 (431 views)
Shortcut
Re: [coolgreen44] K guys [In reply to] Can't Post

Like make a button, cos he said add 2 buttons.


__________________________________________________
J00 all suck



Peach Pit
Veteran / Moderator


Sep 3, 2006, 12:01 AM

Post #10 of 13 (428 views)
Shortcut
Re: [Chupa chups] K guys [In reply to] Can't Post

Learn Visual Basic HERE

Take all of the tutuorials.


bye.


meteora184
Newbie

Sep 3, 2006, 12:05 AM

Post #11 of 13 (427 views)
Shortcut
Re: [Chupa chups] K guys [In reply to] Can't Post

my gosh u guys are stupid, open up the TOOLBOX and get a BUTTON From it.


http://www.metoslash.co.nr
^my website^
has lotsa runescape vb source and cheats.


GTA lcs
Newbie


Sep 4, 2006, 6:22 PM

Post #12 of 13 (414 views)
Shortcut
Re: [Peach Pit] K guys [In reply to] Can't Post

Thanks man that helped.


TazG
Veteran / Moderator


Feb 6, 2007, 5:13 AM

Post #13 of 13 (315 views)
Shortcut
Re: [rs owner] K guys [In reply to] Can't Post

This thread is hilarious because Skanky changed his identity 5 times within it.


MY BLOG,

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.21 s on (CGI/1.1)