Adblock breaks this site

Got a simple question..

Discussion in 'Archives' started by Runescape Buyer, Oct 7, 2009.

Thread Status:
Not open for further replies.
  1. Runescape Buyer

    Runescape Buyer Active Member

    Joined:
    Jun 30, 2008
    Posts:
    182
    Referrals:
    0
    Sythe Gold:
    0
    Got a simple question..

    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!
     
  2. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    Got a simple question..

    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.
     
  3. vbpro

    vbpro Member
    Banned

    Joined:
    Apr 20, 2010
    Posts:
    91
    Referrals:
    0
    Sythe Gold:
    0
    Got a simple question..

    Perhaps try google as a source? Maybe give us more of an idea of what you need help with
     
< taking requests for vb6 programs for those who cant find code for them on thier own | Help >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site