|
-
Apr 11th, 2001, 07:01 PM
#1
Thread Starter
Junior Member
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???
-
Apr 11th, 2001, 07:13 PM
#2
New Member
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
-
Apr 11th, 2001, 07:14 PM
#3
Frenzied Member
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
-
Apr 11th, 2001, 07:25 PM
#4
Thread Starter
Junior Member
-
Apr 11th, 2001, 08:30 PM
#5
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|