Results 1 to 5 of 5

Thread: 2 easy q's

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    jasper ab canada
    Posts
    28

    Red face

    k ive got 2 simple q's the first is how do u put wav files in2 a app and the 2nd is how do u add infinit loops 4 a msgbox???

  2. #2
    New Member
    Join Date
    Mar 2001
    Posts
    12

    hey

    hey,

    I can't answer your wav question but if you want to display a msgbox infinitely until the user clicks "yes" or something, you can do it like this:

    [Code]
    Dim intResponse as Integer ' Response from user
    Dim strMsg as String ' Msg to display

    msg = "You must click Yes to continue."

    Do
    intResponse = msgbox(msg,vbyesno,"Click Yes")

    if intResponse = vbYes then
    exit Do
    end if
    Loop
    [\Code]

    hope that's what you were asking for.

    nick

  3. #3
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    Question 2:

    Code:
    Do
    MsgBox "Wwazzzzzzzzzzzuuuuuuppppppppppp"
    Loop


    or to limit how much times it comes up:

    Code:
    Dim intA as integer
    do
    intA = intA + 1
    msgbox "Whazzzzzzzzzzzzzzzzzzzzzzzuppppppppppppppp"
    Loop until intA = 'enter a number of times here
    NXSupport - Your one-stop source for computer help

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    jasper ab canada
    Posts
    28

    Talking thanx guys

    thanx guys that is exactly wut i wanted

    know 2 go piss ppl off
    im going to send

    r u a dumbass

    and error 420 u r too stupid 2 every kid in my skewl

  5. #5
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    use programming for good, not evil
    NXSupport - Your one-stop source for computer help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width