home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD67576142000.psc / START.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2000-04-13  |  15.9 KB  |  537 lines

  1. VERSION 5.00
  2. Begin VB.Form START 
  3.    BackColor       =   &H00000000&
  4.    Caption         =   "WHO WANTS TO BE A MILLIONNAIRE"
  5.    ClientHeight    =   5010
  6.    ClientLeft      =   60
  7.    ClientTop       =   375
  8.    ClientWidth     =   7050
  9.    Icon            =   "START.frx":0000
  10.    LinkTopic       =   "Form2"
  11.    ScaleHeight     =   5010
  12.    ScaleWidth      =   7050
  13.    StartUpPosition =   3  'Windows Default
  14.    WindowState     =   2  'Maximized
  15.    Begin VB.CommandButton Command1 
  16.       BackColor       =   &H00FFFFFF&
  17.       Height          =   975
  18.       Left            =   10200
  19.       Picture         =   "START.frx":0442
  20.       Style           =   1  'Graphical
  21.       TabIndex        =   16
  22.       Top             =   7560
  23.       Visible         =   0   'False
  24.       Width           =   1575
  25.    End
  26.    Begin VB.Timer Timer3 
  27.       Left            =   120
  28.       Top             =   8040
  29.    End
  30.    Begin VB.Timer Timer2 
  31.       Left            =   6000
  32.       Top             =   7080
  33.    End
  34.    Begin VB.Timer Timer1 
  35.       Interval        =   1
  36.       Left            =   720
  37.       Top             =   4080
  38.    End
  39.    Begin VB.Label Label7 
  40.       BackColor       =   &H80000007&
  41.       Caption         =   "CLICK ME"
  42.       BeginProperty Font 
  43.          Name            =   "MS Sans Serif"
  44.          Size            =   13.5
  45.          Charset         =   0
  46.          Weight          =   400
  47.          Underline       =   0   'False
  48.          Italic          =   0   'False
  49.          Strikethrough   =   0   'False
  50.       EndProperty
  51.       Height          =   375
  52.       Left            =   1800
  53.       TabIndex        =   18
  54.       Top             =   1680
  55.       Visible         =   0   'False
  56.       Width           =   1335
  57.    End
  58.    Begin VB.Image Image1 
  59.       BorderStyle     =   1  'Fixed Single
  60.       Height          =   135
  61.       Index           =   2
  62.       Left            =   7440
  63.       Picture         =   "START.frx":0884
  64.       Stretch         =   -1  'True
  65.       Top             =   -200
  66.       Visible         =   0   'False
  67.       Width           =   3015
  68.    End
  69.    Begin VB.Image Image1 
  70.       BorderStyle     =   1  'Fixed Single
  71.       Height          =   135
  72.       Index           =   1
  73.       Left            =   4440
  74.       Picture         =   "START.frx":FE32
  75.       Stretch         =   -1  'True
  76.       Top             =   -200
  77.       Visible         =   0   'False
  78.       Width           =   3015
  79.    End
  80.    Begin VB.Label Label6 
  81.       BackColor       =   &H00000000&
  82.       Height          =   495
  83.       Left            =   360
  84.       TabIndex        =   17
  85.       Top             =   720
  86.       Width           =   375
  87.    End
  88.    Begin VB.Image Image1 
  89.       BorderStyle     =   1  'Fixed Single
  90.       Height          =   135
  91.       Index           =   0
  92.       Left            =   1440
  93.       Picture         =   "START.frx":106C3
  94.       Stretch         =   -1  'True
  95.       Top             =   -200
  96.       Visible         =   0   'False
  97.       Width           =   3015
  98.    End
  99.    Begin VB.Label Label5 
  100.       BackStyle       =   0  'Transparent
  101.       Caption         =   "TRY TO WIN IF YOU CAN"
  102.       BeginProperty Font 
  103.          Name            =   "Haettenschweiler"
  104.          Size            =   24
  105.          Charset         =   0
  106.          Weight          =   500
  107.          Underline       =   0   'False
  108.          Italic          =   0   'False
  109.          Strikethrough   =   0   'False
  110.       EndProperty
  111.       ForeColor       =   &H00FF00FF&
  112.       Height          =   615
  113.       Left            =   4320
  114.       TabIndex        =   15
  115.       Top             =   7560
  116.       Visible         =   0   'False
  117.       Width           =   3615
  118.    End
  119.    Begin VB.Label Label4 
  120.       BackStyle       =   0  'Transparent
  121.       Caption         =   "?"
  122.       BeginProperty Font 
  123.          Name            =   "PMingLiU"
  124.          Size            =   399.75
  125.          Charset         =   0
  126.          Weight          =   400
  127.          Underline       =   0   'False
  128.          Italic          =   0   'False
  129.          Strikethrough   =   0   'False
  130.       EndProperty
  131.       ForeColor       =   &H0000FFFF&
  132.       Height          =   615
  133.       Left            =   4440
  134.       TabIndex        =   14
  135.       Top             =   720
  136.       Width           =   3735
  137.    End
  138.    Begin VB.Line Line1 
  139.       BorderColor     =   &H00FFFFFF&
  140.       X1              =   0
  141.       X2              =   11760
  142.       Y1              =   6600
  143.       Y2              =   6600
  144.    End
  145.    Begin VB.Label Label3 
  146.       BackStyle       =   0  'Transparent
  147.       Caption         =   "E"
  148.       BeginProperty Font 
  149.          Name            =   "Britannic Bold"
  150.          Size            =   72
  151.          Charset         =   0
  152.          Weight          =   700
  153.          Underline       =   0   'False
  154.          Italic          =   0   'False
  155.          Strikethrough   =   0   'False
  156.       EndProperty
  157.       ForeColor       =   &H00C0C000&
  158.       Height          =   1335
  159.       Index           =   12
  160.       Left            =   -720
  161.       TabIndex        =   13
  162.       Top             =   5040
  163.       Visible         =   0   'False
  164.       Width           =   1095
  165.    End
  166.    Begin VB.Label Label3 
  167.       BackStyle       =   0  'Transparent
  168.       Caption         =   "R"
  169.       BeginProperty Font 
  170.          Name            =   "Britannic Bold"
  171.          Size            =   72
  172.          Charset         =   0
  173.          Weight          =   700
  174.          Underline       =   0   'False
  175.          Italic          =   0   'False
  176.          Strikethrough   =   0   'False
  177.       EndProperty
  178.       ForeColor       =   &H00FF0000&
  179.       Height          =   1335
  180.       Index           =   11
  181.       Left            =   -1680
  182.       TabIndex        =   12
  183.       Top             =   5040
  184.       Width           =   1095
  185.    End
  186.    Begin VB.Label Label3 
  187.       BackStyle       =   0  'Transparent
  188.       Caption         =   "I"
  189.       BeginProperty Font 
  190.          Name            =   "Britannic Bold"
  191.          Size            =   72
  192.          Charset         =   0
  193.          Weight          =   700
  194.          Underline       =   0   'False
  195.          Italic          =   0   'False
  196.          Strikethrough   =   0   'False
  197.       EndProperty
  198.       ForeColor       =   &H00FF0000&
  199.       Height          =   1335
  200.       Index           =   10
  201.       Left            =   -2160
  202.       TabIndex        =   11
  203.       Top             =   5040
  204.       Width           =   495
  205.    End
  206.    Begin VB.Label Label3 
  207.       BackStyle       =   0  'Transparent
  208.       Caption         =   "A"
  209.       BeginProperty Font 
  210.          Name            =   "Britannic Bold"
  211.          Size            =   72
  212.          Charset         =   0
  213.          Weight          =   700
  214.          Underline       =   0   'False
  215.          Italic          =   0   'False
  216.          Strikethrough   =   0   'False
  217.       EndProperty
  218.       ForeColor       =   &H00FF0000&
  219.       Height          =   1335
  220.       Index           =   9
  221.       Left            =   -3000
  222.       TabIndex        =   10
  223.       Top             =   5040
  224.       Width           =   855
  225.    End
  226.    Begin VB.Label Label3 
  227.       BackStyle       =   0  'Transparent
  228.       Caption         =   "N"
  229.       BeginProperty Font 
  230.          Name            =   "Britannic Bold"
  231.          Size            =   72
  232.          Charset         =   0
  233.          Weight          =   700
  234.          Underline       =   0   'False
  235.          Italic          =   0   'False
  236.          Strikethrough   =   0   'False
  237.       EndProperty
  238.       ForeColor       =   &H00FF0000&
  239.       Height          =   1335
  240.       Index           =   8
  241.       Left            =   -3840
  242.       TabIndex        =   9
  243.       Top             =   5040
  244.       Width           =   855
  245.    End
  246.    Begin VB.Label Label3 
  247.       BackStyle       =   0  'Transparent
  248.       Caption         =   "N"
  249.       BeginProperty Font 
  250.          Name            =   "Britannic Bold"
  251.          Size            =   72
  252.          Charset         =   0
  253.          Weight          =   700
  254.          Underline       =   0   'False
  255.          Italic          =   0   'False
  256.          Strikethrough   =   0   'False
  257.       EndProperty
  258.       ForeColor       =   &H00FF0000&
  259.       Height          =   1335
  260.       Index           =   7
  261.       Left            =   -4680
  262.       TabIndex        =   8
  263.       Top             =   5040
  264.       Width           =   855
  265.    End
  266.    Begin VB.Label Label3 
  267.       BackStyle       =   0  'Transparent
  268.       Caption         =   "O"
  269.       BeginProperty Font 
  270.          Name            =   "Britannic Bold"
  271.          Size            =   72
  272.          Charset         =   0
  273.          Weight          =   700
  274.          Underline       =   0   'False
  275.          Italic          =   0   'False
  276.          Strikethrough   =   0   'False
  277.       EndProperty
  278.       ForeColor       =   &H00FF0000&
  279.       Height          =   1335
  280.       Index           =   6
  281.       Left            =   15720
  282.       TabIndex        =   7
  283.       Top             =   5040
  284.       Width           =   975
  285.    End
  286.    Begin VB.Label Label3 
  287.       BackStyle       =   0  'Transparent
  288.       Caption         =   "I"
  289.       BeginProperty Font 
  290.          Name            =   "Britannic Bold"
  291.          Size            =   72
  292.          Charset         =   0
  293.          Weight          =   700
  294.          Underline       =   0   'False
  295.          Italic          =   0   'False
  296.          Strikethrough   =   0   'False
  297.       EndProperty
  298.       ForeColor       =   &H00FF0000&
  299.       Height          =   1335
  300.       Index           =   5
  301.       Left            =   15240
  302.       TabIndex        =   6
  303.       Top             =   5040
  304.       Width           =   495
  305.    End
  306.    Begin VB.Label Label3 
  307.       BackStyle       =   0  'Transparent
  308.       Caption         =   "L"
  309.       BeginProperty Font 
  310.          Name            =   "Britannic Bold"
  311.          Size            =   72
  312.          Charset         =   0
  313.          Weight          =   700
  314.          Underline       =   0   'False
  315.          Italic          =   0   'False
  316.          Strikethrough   =   0   'False
  317.       EndProperty
  318.       ForeColor       =   &H00FF0000&
  319.       Height          =   1335
  320.       Index           =   4
  321.       Left            =   14400
  322.       TabIndex        =   5
  323.       Top             =   5040
  324.       Width           =   855
  325.    End
  326.    Begin VB.Label Label3 
  327.       BackStyle       =   0  'Transparent
  328.       Caption         =   "L"
  329.       BeginProperty Font 
  330.          Name            =   "Britannic Bold"
  331.          Size            =   72
  332.          Charset         =   0
  333.          Weight          =   700
  334.          Underline       =   0   'False
  335.          Italic          =   0   'False
  336.          Strikethrough   =   0   'False
  337.       EndProperty
  338.       ForeColor       =   &H00FF0000&
  339.       Height          =   1335
  340.       Index           =   3
  341.       Left            =   13560
  342.       TabIndex        =   4
  343.       Top             =   5040
  344.       Width           =   735
  345.    End
  346.    Begin VB.Label Label3 
  347.       BackStyle       =   0  'Transparent
  348.       Caption         =   "I"
  349.       BeginProperty Font 
  350.          Name            =   "Britannic Bold"
  351.          Size            =   72
  352.          Charset         =   0
  353.          Weight          =   700
  354.          Underline       =   0   'False
  355.          Italic          =   0   'False
  356.          Strikethrough   =   0   'False
  357.       EndProperty
  358.       ForeColor       =   &H00FF0000&
  359.       Height          =   1335
  360.       Index           =   2
  361.       Left            =   13080
  362.       TabIndex        =   3
  363.       Top             =   5040
  364.       Width           =   495
  365.    End
  366.    Begin VB.Label Label3 
  367.       BackStyle       =   0  'Transparent
  368.       Caption         =   "M"
  369.       BeginProperty Font 
  370.          Name            =   "Britannic Bold"
  371.          Size            =   72
  372.          Charset         =   0
  373.          Weight          =   700
  374.          Underline       =   0   'False
  375.          Italic          =   0   'False
  376.          Strikethrough   =   0   'False
  377.       EndProperty
  378.       ForeColor       =   &H00C0C000&
  379.       Height          =   1335
  380.       Index           =   1
  381.       Left            =   11880
  382.       TabIndex        =   2
  383.       Top             =   5040
  384.       Visible         =   0   'False
  385.       Width           =   1215
  386.    End
  387.    Begin VB.Shape Shape2 
  388.       BackColor       =   &H000000FF&
  389.       BackStyle       =   1  'Opaque
  390.       BorderColor     =   &H00000000&
  391.       BorderWidth     =   4
  392.       Height          =   2055
  393.       Left            =   6120
  394.       Top             =   9000
  395.       Width           =   5055
  396.    End
  397.    Begin VB.Shape Shape1 
  398.       BackColor       =   &H000000FF&
  399.       BackStyle       =   1  'Opaque
  400.       BorderColor     =   &H00000000&
  401.       BorderWidth     =   4
  402.       Height          =   2055
  403.       Left            =   1080
  404.       Top             =   9000
  405.       Width           =   5055
  406.    End
  407.    Begin VB.Label Label1 
  408.       BackStyle       =   0  'Transparent
  409.       Caption         =   "MCPOWER COMPUTERS           PRESENTS"
  410.       BeginProperty Font 
  411.          Name            =   "Snap ITC"
  412.          Size            =   36
  413.          Charset         =   0
  414.          Weight          =   400
  415.          Underline       =   0   'False
  416.          Italic          =   0   'False
  417.          Strikethrough   =   0   'False
  418.       EndProperty
  419.       ForeColor       =   &H0000FF00&
  420.       Height          =   2055
  421.       Left            =   840
  422.       TabIndex        =   0
  423.       Top             =   480
  424.       Width           =   10455
  425.    End
  426.    Begin VB.Label Label2 
  427.       BackStyle       =   0  'Transparent
  428.       Caption         =   "WHO WANTS TO BE  A"
  429.       BeginProperty Font 
  430.          Name            =   "Times New Roman"
  431.          Size            =   48
  432.          Charset         =   0
  433.          Weight          =   700
  434.          Underline       =   0   'False
  435.          Italic          =   0   'False
  436.          Strikethrough   =   0   'False
  437.       EndProperty
  438.       ForeColor       =   &H000000FF&
  439.       Height          =   1095
  440.       Left            =   1080
  441.       TabIndex        =   1
  442.       Top             =   2880
  443.       Visible         =   0   'False
  444.       Width           =   9855
  445.    End
  446. Attribute VB_Name = "START"
  447. Attribute VB_GlobalNameSpace = False
  448. Attribute VB_Creatable = False
  449. Attribute VB_PredeclaredId = True
  450. Attribute VB_Exposed = False
  451. Dim TOPVAL, PROCED, WIDTHVAL
  452. Dim LEFTVAL
  453. Dim X As Integer
  454. Dim PROCED2
  455. Private Sub Command1_Click()
  456. Load Form1
  457. Form1.Visible = True
  458. START.Visible = False
  459. End Sub
  460. Private Sub Form_KeyPress(KeyAscii As Integer)
  461. If KeyAscii = 13 Then
  462. Load Form1
  463. Form1.Visible = True
  464. START.Visible = False
  465. End If
  466. End Sub
  467. Private Sub Form_Load()
  468. TOPVAL = 150
  469. PROCED = 0
  470. WIDTHVAL = 80
  471. PROCED2 = 1
  472. End Sub
  473. Private Sub Label6_Click()
  474. Label7.Visible = True
  475. Label7.BackColor = &H8000000F
  476. End Sub
  477. Private Sub Label7_Click()
  478. For X = 0 To 2
  479. Image1(X).Visible = True
  480. Image1(X).Height = Image1(X).Height + 100
  481. Next X
  482. End Sub
  483. Private Sub Timer1_Timer()
  484. Shape1.Top = Shape1.Top - TOPVAL
  485. Shape2.Top = Shape2.Top - TOPVAL
  486. If Shape1.Top < 2480 Then
  487. TOPVAL = 0
  488. PROCED = 1
  489. End If
  490. If PROCED = 1 Then
  491. Label2.Visible = True
  492. Shape1.Width = Shape1.Width - WIDTHVAL
  493. Shape2.Width = Shape2.Width - WIDTHVAL
  494. Shape2.Left = Shape2.Left + 80
  495. If Shape1.Width < 60 Then
  496. Shape1.Visible = False
  497. Shape2.Visible = False
  498. WIDTHVAL = 0
  499. PROCED = 2
  500. End If
  501. End If
  502. If PROCED = 2 Then
  503. For X = 1 To 6
  504. Label3(X).Left = Label3(X).Left - 130
  505. Next X
  506. For X = 7 To 12
  507. Label3(X).Left = Label3(X).Left + 130
  508. Next X
  509. End If
  510. If Label3(11).Left > 9000 Then
  511. Timer1.Interval = 0
  512. Timer2.Interval = 1
  513. End If
  514. End Sub
  515. Private Sub Timer2_Timer()
  516. If PROCED2 = 1 Then
  517. Label3(12).Visible = True
  518. Label3(1).Visible = True
  519. Label4.Height = Label4.Height + 100
  520. If Label4.Height > 7335 Then
  521. Timer3.Interval = 700
  522. Timer2.Interval = 0
  523. End If
  524. End If
  525. End Sub
  526. Private Sub Timer3_Timer()
  527. Command1.Visible = True
  528. If Label5.Visible = False Then
  529. Label5.Visible = True
  530. Exit Sub
  531. End If
  532. If Label5.Visible = True Then
  533. Label5.Visible = False
  534. Exit Sub
  535. End If
  536. End Sub
  537.