|
-
Dec 7th, 1999, 06:38 AM
#1
Thread Starter
Lively Member
Ok these questions are gonna make me look like a real dumb ass but i am so I'll ask anyway.
1. what is a splash screen? I've heard alot about them but have actually understood what one does.
and if u think its useful can someone tell me how to make one?
2. in vb how do you say between as in if a number in a text box = between 1 and 17 how would you say that so that it would include all the decimal places and everything.
3. how do you say if the number equals a certain number or higher? as in
if text1.text = 54 or higher then
what ever
thanx
-
Dec 7th, 1999, 06:55 AM
#2
A splash screen is a window that you would pop up while the rest of your project is loading.
You can use the following operators to do any comparasing:
= -> Equal
< -> Less then
> -> Greater then
<= ->Equals or less then
>= ->Equals or greater then
<> ->Not equal
So the answer to question 2 and 3 is as follows:
Dim iNum As Integer
iNum = Val(Text1)
If iNum >= 1 And iNum <= 17 Then
MsgBox "The number is between 1 and 17"
End If
If iNum >= 54 Then
MsgBox "The number is greater then or equal to 54"
End If
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
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
|