• Log in or sign up for an account here: https://www.sythe.org/login

Got a simple question..

Status
Not open for further replies.

Runescape Buyer

Active Member
Joined
Jun 30, 2008
Sythe Gold
0
Messages
182
I am trying to multiply one insert box data with a chosen choice in a list box?

What coding would I use for that?

Sorry for the simple question!
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Umm by insert box I'm going to assume it's an inputbox.

Code:
Dim Str As String
Str = InputBox("Blah blah blah", "Beans")
Dim i As Integer
i = CInt(Str) * CInt(List1.SelectedItem)

I haven't used VB6 for 2 years, so that might not even be right (free-handed, etc.) but it should give you the general idea.
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top