home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Planet Source Code Jumbo …e CD Visual Basic 1 to 7
/
7_2009-2012.ISO
/
data
/
zips
/
Weather_Of220609692011.psc
/
frmSplash.frm
< prev
next >
Wrap
Text File
|
2011-05-31
|
12KB
|
322 lines
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form frmSplash
BorderStyle = 3 'Fixed Dialog
ClientHeight = 7590
ClientLeft = 255
ClientTop = 1410
ClientWidth = 12045
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7590
ScaleWidth = 12045
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin MSComctlLib.ImageList ImageList3
Left = 1920
Top = 8520
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 6
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":000C
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":057E
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":0B71
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1161
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1729
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1CD2
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList2
Left = 1080
Top = 8520
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 59
ImageHeight = 156
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 15
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":226C
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":35E0
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":4780
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":5A93
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":6EBD
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":84CC
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":9B21
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":B188
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":C6DA
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":D9F5
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":EB2E
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":FE0A
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1131F
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":12992
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":13FE8
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 240
Top = 8520
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 134
ImageHeight = 99
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 18
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":155E9
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":161BD
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":16AF0
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":17322
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":179CD
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":18067
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":187DD
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":19278
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":19C39
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1A4AD
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1AC9D
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1B3C7
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1BA73
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1C4AA
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1CEE4
Key = ""
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1DB70
Key = ""
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1E760
Key = ""
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmSplash.frx":1F378
Key = ""
EndProperty
EndProperty
End
Begin VB.Timer Timer3
Interval = 90
Left = 1680
Top = 7800
End
Begin VB.Timer Timer2
Interval = 80
Left = 960
Top = 7800
End
Begin VB.Timer Timer1
Interval = 100
Left = 240
Top = 7800
End
Begin VB.Image Image4
Height = 495
Left = 240
Top = 6620
Width = 615
End
Begin VB.Image Image3
Height = 1575
Left = 360
Top = 4780
Width = 1575
End
Begin VB.Image Image2
Appearance = 0 'Flat
Height = 1575
Left = 220
Top = 420
Width = 1575
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 7635
Left = 0
Picture = "frmSplash.frx":1FD6F
Stretch = -1 'True
Top = 0
Width = 12060
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim an1 As Integer
Dim an2 As Integer
Dim an3 As Integer
Dim x1 As Integer
Dim x2 As Integer
Dim x3 As Integer
Dim result As Integer
Private Sub Form_Load()
x1 = 1
x2 = 1
x3 = 1
DoEvents
End Sub
Private Sub Timer1_Timer()
an1 = an1 + 250
Image2.Left = an1
If an1 > Me.ScaleWidth Then
an1 = -Image2.Width
If result = 1 Then
Image2.Top = 2200
Else
Image2.Top = 1820
result = 0
End If
result = result + 1
End If
Image2.Left = an1
Image2.Picture = ImageList1.ListImages(x1).Picture
x1 = IIf(x1 = ImageList1.ListImages.Count, 1, x1 + 1)
End Sub
Private Sub Timer2_Timer()
an2 = an2 + 100
Image3.Left = an2
If an2 > Me.ScaleWidth Then
an2 = -Image3.Width
Image3.Left = an2
End If
Image3.Picture = ImageList2.ListImages(x2).Picture
x2 = IIf(x2 = ImageList2.ListImages.Count, 1, x2 + 1)
End Sub
Private Sub Timer3_Timer()
an3 = an3 + 95
Image4.Left = an3
If an3 > Me.ScaleWidth Then
an3 = -Image4.Width
Image4.Left = an3
End If
Image4.Picture = ImageList3.ListImages(x3).Picture
x3 = IIf(x3 = ImageList3.ListImages.Count, 1, x3 + 1)
End Sub