home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 5_2007-2008.ISO / data / Zips / Mahesh_Med20322111212006.psc / 01.frm
Text File  |  2006-11-21  |  119KB  |  3,700 lines

  1. VERSION 5.00
  2. Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
  3. Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx"
  4. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
  5. Begin VB.Form musicsystem 
  6.    AutoRedraw      =   -1  'True
  7.    BackColor       =   &H00000000&
  8.    BorderStyle     =   0  'None
  9.    ClientHeight    =   5775
  10.    ClientLeft      =   2025
  11.    ClientTop       =   1200
  12.    ClientWidth     =   7725
  13.    ClipControls    =   0   'False
  14.    ControlBox      =   0   'False
  15.    FillColor       =   &H00404040&
  16.    ForeColor       =   &H00404040&
  17.    Icon            =   "01.frx":0000
  18.    KeyPreview      =   -1  'True
  19.    LinkTopic       =   "Form1"
  20.    MaxButton       =   0   'False
  21.    MinButton       =   0   'False
  22.    OLEDropMode     =   1  'Manual
  23.    ScaleHeight     =   5775
  24.    ScaleWidth      =   7725
  25.    ShowInTaskbar   =   0   'False
  26.    Begin MCI.MMControl MMControl2 
  27.       Height          =   375
  28.       Left            =   6600
  29.       TabIndex        =   29
  30.       Top             =   4470
  31.       Width           =   840
  32.       _ExtentX        =   1482
  33.       _ExtentY        =   661
  34.       _Version        =   393216
  35.       PauseEnabled    =   -1  'True
  36.       RecordEnabled   =   -1  'True
  37.       PrevVisible     =   0   'False
  38.       NextVisible     =   0   'False
  39.       PlayVisible     =   0   'False
  40.       BackVisible     =   0   'False
  41.       StepVisible     =   0   'False
  42.       StopVisible     =   0   'False
  43.       EjectVisible    =   0   'False
  44.       DeviceType      =   "waveaudio"
  45.       FileName        =   ""
  46.       MouseIcon       =   "01.frx":0442
  47.    End
  48.    Begin VB.TextBox Text5 
  49.       Height          =   285
  50.       Left            =   4950
  51.       TabIndex        =   37
  52.       Text            =   "Text5"
  53.       Top             =   2820
  54.       Width           =   2655
  55.    End
  56.    Begin VB.TextBox Text4 
  57.       Height          =   285
  58.       Left            =   4500
  59.       TabIndex        =   36
  60.       Text            =   "Text4"
  61.       Top             =   1800
  62.       Width           =   1935
  63.    End
  64.    Begin VB.Timer Timer6 
  65.       Interval        =   200
  66.       Left            =   5550
  67.       Top             =   3450
  68.    End
  69.    Begin VB.Frame Frame1 
  70.       Caption         =   "Frame1"
  71.       Height          =   1935
  72.       Left            =   4320
  73.       TabIndex        =   34
  74.       Top             =   3060
  75.       Width           =   3375
  76.       Begin VB.Image recplay 
  77.          Height          =   270
  78.          Left            =   2520
  79.          Picture         =   "01.frx":0894
  80.          Top             =   960
  81.          Visible         =   0   'False
  82.          Width           =   360
  83.       End
  84.       Begin VB.Image cbuttone 
  85.          Height          =   270
  86.          Index           =   7
  87.          Left            =   120
  88.          Picture         =   "01.frx":0DE6
  89.          Top             =   240
  90.          Width           =   360
  91.       End
  92.       Begin VB.Label Label6 
  93.          AutoSize        =   -1  'True
  94.          BackColor       =   &H00000000&
  95.          BorderStyle     =   1  'Fixed Single
  96.          Caption         =   "12"
  97.          Enabled         =   0   'False
  98.          BeginProperty Font 
  99.             Name            =   "Small Fonts"
  100.             Size            =   5.25
  101.             Charset         =   0
  102.             Weight          =   400
  103.             Underline       =   0   'False
  104.             Italic          =   0   'False
  105.             Strikethrough   =   0   'False
  106.          EndProperty
  107.          ForeColor       =   &H000080FF&
  108.          Height          =   195
  109.          Index           =   15
  110.          Left            =   150
  111.          TabIndex        =   35
  112.          ToolTipText     =   "Track 12"
  113.          Top             =   3090
  114.          Width           =   195
  115.       End
  116.       Begin VB.Image colorbar 
  117.          Height          =   150
  118.          Left            =   180
  119.          Picture         =   "01.frx":1338
  120.          Top             =   2430
  121.          Width           =   975
  122.       End
  123.       Begin VB.Image volumebarup 
  124.          DragIcon        =   "01.frx":1B22
  125.          DragMode        =   1  'Automatic
  126.          Height          =   75
  127.          Left            =   180
  128.          Picture         =   "01.frx":1E2C
  129.          ToolTipText     =   "Volume bar"
  130.          Top             =   2790
  131.          Width           =   210
  132.       End
  133.       Begin VB.Image volumebardown 
  134.          DragIcon        =   "01.frx":1F4A
  135.          DragMode        =   1  'Automatic
  136.          Height          =   75
  137.          Left            =   450
  138.          Picture         =   "01.frx":2254
  139.          ToolTipText     =   "Volume bar"
  140.          Top             =   2790
  141.          Width           =   210
  142.       End
  143.       Begin VB.Image imgbardown 
  144.          Height          =   90
  145.          Left            =   180
  146.          Picture         =   "01.frx":2372
  147.          Top             =   2640
  148.          Width           =   435
  149.       End
  150.       Begin VB.Image imgbarup 
  151.          Height          =   90
  152.          Left            =   180
  153.          Picture         =   "01.frx":25C4
  154.          Top             =   2940
  155.          Width           =   435
  156.       End
  157.       Begin VB.Image recpause 
  158.          Height          =   270
  159.          Left            =   2610
  160.          Picture         =   "01.frx":2816
  161.          Top             =   240
  162.          Visible         =   0   'False
  163.          Width           =   360
  164.       End
  165.       Begin VB.Image cbuttonD 
  166.          Height          =   270
  167.          Index           =   7
  168.          Left            =   120
  169.          Picture         =   "01.frx":2D68
  170.          Top             =   570
  171.          Visible         =   0   'False
  172.          Width           =   360
  173.       End
  174.       Begin VB.Image cbuttone 
  175.          Height          =   270
  176.          Index           =   6
  177.          Left            =   0
  178.          Picture         =   "01.frx":32BA
  179.          Top             =   4350
  180.          Width           =   360
  181.       End
  182.       Begin VB.Image cbuttone 
  183.          Height          =   270
  184.          Index           =   3
  185.          Left            =   630
  186.          Picture         =   "01.frx":380C
  187.          Top             =   4620
  188.          Width           =   360
  189.       End
  190.       Begin VB.Image cbuttone 
  191.          Height          =   270
  192.          Index           =   0
  193.          Left            =   540
  194.          Picture         =   "01.frx":3D5E
  195.          Top             =   240
  196.          Width           =   360
  197.       End
  198.       Begin VB.Image cbuttonD 
  199.          Height          =   270
  200.          Index           =   6
  201.          Left            =   1740
  202.          Picture         =   "01.frx":42B0
  203.          Top             =   570
  204.          Width           =   360
  205.       End
  206.       Begin VB.Image cbuttonD 
  207.          Height          =   270
  208.          Index           =   3
  209.          Left            =   2190
  210.          Picture         =   "01.frx":4802
  211.          Top             =   570
  212.          Width           =   360
  213.       End
  214.       Begin VB.Image cbuttonD 
  215.          Height          =   270
  216.          Index           =   2
  217.          Left            =   930
  218.          Picture         =   "01.frx":4D54
  219.          Top             =   570
  220.          Width           =   360
  221.       End
  222.       Begin VB.Image cbuttonD 
  223.          Height          =   270
  224.          Index           =   1
  225.          Left            =   1320
  226.          Picture         =   "01.frx":52A6
  227.          Top             =   570
  228.          Width           =   360
  229.       End
  230.       Begin VB.Image cbuttone 
  231.          Height          =   270
  232.          Index           =   2
  233.          Left            =   930
  234.          Picture         =   "01.frx":57F8
  235.          Top             =   240
  236.          Width           =   360
  237.       End
  238.       Begin VB.Image cbuttone 
  239.          Height          =   270
  240.          Index           =   1
  241.          Left            =   1320
  242.          Picture         =   "01.frx":5D4A
  243.          Top             =   240
  244.          Width           =   360
  245.       End
  246.       Begin VB.Image cbuttonD 
  247.          Height          =   270
  248.          Index           =   0
  249.          Left            =   540
  250.          Picture         =   "01.frx":629C
  251.          Top             =   570
  252.          Width           =   360
  253.       End
  254.       Begin VB.Image autooffdown 
  255.          Height          =   195
  256.          Left            =   120
  257.          Picture         =   "01.frx":67EE
  258.          Top             =   1140
  259.          Width           =   495
  260.       End
  261.       Begin VB.Image autooffup 
  262.          Height          =   195
  263.          Left            =   120
  264.          Picture         =   "01.frx":6D44
  265.          Top             =   900
  266.          Width           =   495
  267.       End
  268.       Begin VB.Image p 
  269.          Height          =   255
  270.          Index           =   3
  271.          Left            =   120
  272.          Picture         =   "01.frx":729A
  273.          Top             =   1350
  274.          Visible         =   0   'False
  275.          Width           =   435
  276.       End
  277.       Begin VB.Image p 
  278.          Height          =   240
  279.          Index           =   4
  280.          Left            =   120
  281.          Picture         =   "01.frx":78B4
  282.          Top             =   1620
  283.          Visible         =   0   'False
  284.          Width           =   435
  285.       End
  286.       Begin VB.Image p 
  287.          Height          =   240
  288.          Index           =   1
  289.          Left            =   600
  290.          Picture         =   "01.frx":7E76
  291.          Top             =   1620
  292.          Visible         =   0   'False
  293.          Width           =   435
  294.       End
  295.       Begin VB.Image p 
  296.          Height          =   240
  297.          Index           =   2
  298.          Left            =   600
  299.          Picture         =   "01.frx":8438
  300.          Top             =   1350
  301.          Visible         =   0   'False
  302.          Width           =   435
  303.       End
  304.       Begin VB.Image autoondown 
  305.          Height          =   195
  306.          Left            =   660
  307.          Picture         =   "01.frx":89FA
  308.          Top             =   1140
  309.          Width           =   495
  310.       End
  311.       Begin VB.Image autoonup 
  312.          Height          =   195
  313.          Left            =   660
  314.          Picture         =   "01.frx":8F50
  315.          Top             =   900
  316.          Width           =   495
  317.       End
  318.       Begin VB.Image presetdown 
  319.          Height          =   210
  320.          Left            =   120
  321.          Picture         =   "01.frx":94A6
  322.          Top             =   1920
  323.          Width           =   690
  324.       End
  325.       Begin VB.Image eqonup 
  326.          Height          =   195
  327.          Left            =   1800
  328.          Picture         =   "01.frx":9C90
  329.          Top             =   900
  330.          Width           =   390
  331.       End
  332.       Begin VB.Image eqondown 
  333.          Height          =   195
  334.          Left            =   1800
  335.          Picture         =   "01.frx":A0E2
  336.          Top             =   1140
  337.          Width           =   390
  338.       End
  339.       Begin VB.Image eqoffdown 
  340.          Height          =   195
  341.          Left            =   1320
  342.          Picture         =   "01.frx":A534
  343.          Top             =   1140
  344.          Width           =   390
  345.       End
  346.       Begin VB.Image eqoffup 
  347.          Height          =   195
  348.          Left            =   1320
  349.          Picture         =   "01.frx":A986
  350.          Top             =   900
  351.          Width           =   390
  352.       End
  353.       Begin VB.Image presetup 
  354.          Height          =   210
  355.          Left            =   120
  356.          Picture         =   "01.frx":ADD8
  357.          Top             =   2160
  358.          Width           =   690
  359.       End
  360.       Begin VB.Image plup 
  361.          Height          =   135
  362.          Left            =   1110
  363.          Picture         =   "01.frx":B5C2
  364.          Top             =   1410
  365.          Width           =   270
  366.       End
  367.       Begin VB.Image equp 
  368.          Height          =   135
  369.          Left            =   1440
  370.          Picture         =   "01.frx":B7FC
  371.          Top             =   1410
  372.          Width           =   255
  373.       End
  374.       Begin VB.Image pldown 
  375.          Height          =   135
  376.          Left            =   1110
  377.          Picture         =   "01.frx":BA12
  378.          Top             =   1590
  379.          Width           =   255
  380.       End
  381.       Begin VB.Image eqdown 
  382.          Height          =   150
  383.          Left            =   1440
  384.          Picture         =   "01.frx":BC28
  385.          Top             =   1590
  386.          Width           =   270
  387.       End
  388.       Begin VB.Image Infdown 
  389.          Height          =   165
  390.          Left            =   1950
  391.          Picture         =   "01.frx":BE9A
  392.          Top             =   1590
  393.          Width           =   150
  394.       End
  395.       Begin VB.Image infup 
  396.          Height          =   165
  397.          Left            =   1950
  398.          Picture         =   "01.frx":C03C
  399.          Top             =   1410
  400.          Width           =   165
  401.       End
  402.       Begin VB.Image mindown 
  403.          Height          =   120
  404.          Left            =   2190
  405.          Picture         =   "01.frx":C20A
  406.          Top             =   1590
  407.          Width           =   135
  408.       End
  409.       Begin VB.Image minup 
  410.          Height          =   135
  411.          Left            =   2160
  412.          Picture         =   "01.frx":C32C
  413.          Top             =   1410
  414.          Width           =   165
  415.       End
  416.       Begin VB.Image closeup 
  417.          Height          =   135
  418.          Left            =   1770
  419.          Picture         =   "01.frx":C4B2
  420.          Top             =   1410
  421.          Width           =   135
  422.       End
  423.       Begin VB.Image closedown 
  424.          Height          =   150
  425.          Left            =   1770
  426.          Picture         =   "01.frx":C5F0
  427.          Top             =   1590
  428.          Width           =   150
  429.       End
  430.    End
  431.    Begin VB.FileListBox File1 
  432.       Height          =   480
  433.       Left            =   4440
  434.       Pattern         =   "*.wav"
  435.       TabIndex        =   33
  436.       Top             =   2760
  437.       Width           =   3255
  438.    End
  439.    Begin VB.CheckBox Check1 
  440.       Caption         =   "Use control panel recording format"
  441.       Height          =   255
  442.       Left            =   4920
  443.       TabIndex        =   32
  444.       Top             =   4470
  445.       Value           =   1  'Checked
  446.       Width           =   2895
  447.    End
  448.    Begin VB.ComboBox Combo2 
  449.       Height          =   315
  450.       Left            =   4680
  451.       TabIndex        =   31
  452.       Text            =   "<select soundcard>"
  453.       Top             =   4260
  454.       Width           =   4215
  455.    End
  456.    Begin VB.ComboBox Combo1 
  457.       Height          =   315
  458.       Left            =   4560
  459.       TabIndex        =   30
  460.       Text            =   "<select soundcard>"
  461.       Top             =   4500
  462.       Width           =   4215
  463.    End
  464.    Begin VB.Timer rec_timer 
  465.       Enabled         =   0   'False
  466.       Interval        =   100
  467.       Left            =   5430
  468.       Top             =   3840
  469.    End
  470.    Begin VB.TextBox Text3 
  471.       Height          =   285
  472.       Left            =   5430
  473.       Locked          =   -1  'True
  474.       TabIndex        =   22
  475.       TabStop         =   0   'False
  476.       Text            =   "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  477.       Top             =   4260
  478.       Width           =   2865
  479.    End
  480.    Begin VB.TextBox Text2 
  481.       Height          =   285
  482.       Left            =   4770
  483.       Locked          =   -1  'True
  484.       TabIndex        =   21
  485.       TabStop         =   0   'False
  486.       Text            =   "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  487.       Top             =   4080
  488.       Width           =   2835
  489.    End
  490.    Begin MSComctlLib.Slider Slider4 
  491.       Height          =   165
  492.       Left            =   4710
  493.       TabIndex        =   3
  494.       TabStop         =   0   'False
  495.       Top             =   4530
  496.       Width           =   1095
  497.       _ExtentX        =   1931
  498.       _ExtentY        =   291
  499.       _Version        =   393216
  500.       SelStart        =   5
  501.       Value           =   5
  502.    End
  503.    Begin MSComctlLib.Slider Slider3 
  504.       Height          =   225
  505.       Left            =   5250
  506.       TabIndex        =   2
  507.       TabStop         =   0   'False
  508.       Top             =   4050
  509.       Width           =   1305
  510.       _ExtentX        =   2302
  511.       _ExtentY        =   397
  512.       _Version        =   393216
  513.       LargeChange     =   1
  514.       Max             =   100
  515.       SelStart        =   14
  516.       Value           =   14
  517.    End
  518.    Begin MSComctlLib.Slider Slider2 
  519.       Height          =   315
  520.       Left            =   5790
  521.       TabIndex        =   1
  522.       TabStop         =   0   'False
  523.       Top             =   3900
  524.       Width           =   3495
  525.       _ExtentX        =   6165
  526.       _ExtentY        =   556
  527.       _Version        =   393216
  528.       Max             =   70
  529.    End
  530.    Begin VB.Timer Timer5 
  531.       Enabled         =   0   'False
  532.       Left            =   5310
  533.       Top             =   4440
  534.    End
  535.    Begin VB.Timer Timer4 
  536.       Enabled         =   0   'False
  537.       Interval        =   700
  538.       Left            =   5730
  539.       Top             =   3960
  540.    End
  541.    Begin VB.Timer Timer2 
  542.       Interval        =   100
  543.       Left            =   6000
  544.       Top             =   4140
  545.    End
  546.    Begin VB.Timer Timer3 
  547.       Enabled         =   0   'False
  548.       Left            =   5100
  549.       Top             =   4290
  550.    End
  551.    Begin VB.TextBox Text1 
  552.       Height          =   345
  553.       Left            =   6570
  554.       Locked          =   -1  'True
  555.       TabIndex        =   0
  556.       Text            =   "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  557.       Top             =   3300
  558.       Width           =   4545
  559.    End
  560.    Begin VB.Timer Timer1 
  561.       Interval        =   500
  562.       Left            =   6510
  563.       Top             =   4080
  564.    End
  565.    Begin VB.Frame Frame3 
  566.       Appearance      =   0  'Flat
  567.       BackColor       =   &H00404040&
  568.       BorderStyle     =   0  'None
  569.       ForeColor       =   &H80000008&
  570.       Height          =   285
  571.       Left            =   8460
  572.       TabIndex        =   4
  573.       Top             =   4800
  574.       Visible         =   0   'False
  575.       Width           =   1605
  576.       Begin VB.Image Image3 
  577.          Height          =   240
  578.          Index           =   1
  579.          Left            =   2700
  580.          Picture         =   "01.frx":C772
  581.          Top             =   300
  582.          Width           =   420
  583.       End
  584.       Begin VB.Image Image3 
  585.          Height          =   240
  586.          Index           =   3
  587.          Left            =   840
  588.          Picture         =   "01.frx":CCF4
  589.          Top             =   450
  590.          Width           =   420
  591.       End
  592.       Begin VB.Image Image3 
  593.          Height          =   240
  594.          Index           =   2
  595.          Left            =   2010
  596.          Picture         =   "01.frx":D276
  597.          Top             =   390
  598.          Width           =   420
  599.       End
  600.       Begin VB.Image Image3 
  601.          Height          =   240
  602.          Index           =   4
  603.          Left            =   1470
  604.          Picture         =   "01.frx":D7F8
  605.          Top             =   390
  606.          Width           =   420
  607.       End
  608.       Begin VB.Line Line9 
  609.          BorderColor     =   &H00FFFFFF&
  610.          X1              =   5670
  611.          X2              =   30
  612.          Y1              =   600
  613.          Y2              =   600
  614.       End
  615.       Begin VB.Line Line6 
  616.          BorderColor     =   &H00FFFFFF&
  617.          X1              =   5790
  618.          X2              =   -810
  619.          Y1              =   3000
  620.          Y2              =   3000
  621.       End
  622.       Begin VB.Line Line7 
  623.          BorderColor     =   &H00FFFFFF&
  624.          X1              =   5520
  625.          X2              =   5520
  626.          Y1              =   4560
  627.          Y2              =   120
  628.       End
  629.    End
  630.    Begin MSComDlg.CommonDialog CommonDialog2 
  631.       Left            =   5580
  632.       Top             =   3690
  633.       _ExtentX        =   847
  634.       _ExtentY        =   847
  635.       _Version        =   393216
  636.       DefaultExt      =   "wav"
  637.       DialogTitle     =   "Save recoeded file as"
  638.       FileName        =   "*.wav"
  639.       Filter          =   "*.wav"
  640.    End
  641.    Begin VB.Image Image21 
  642.       Height          =   5430
  643.       Left            =   4410
  644.       Picture         =   "01.frx":DD7A
  645.       Top             =   2490
  646.       Width           =   4155
  647.    End
  648.    Begin VB.Image Image24 
  649.       Height          =   585
  650.       Left            =   0
  651.       Picture         =   "01.frx":5763C
  652.       Top             =   390
  653.       Width           =   240
  654.    End
  655.    Begin VB.Image eqfup 
  656.       Height          =   165
  657.       Left            =   4650
  658.       Picture         =   "01.frx":57DCE
  659.       Top             =   810
  660.       Width           =   120
  661.    End
  662.    Begin VB.Image eqfdown 
  663.       Height          =   165
  664.       Left            =   4680
  665.       Picture         =   "01.frx":57F18
  666.       Top             =   1260
  667.       Width           =   105
  668.    End
  669.    Begin VB.Image eqf 
  670.       Height          =   165
  671.       Index           =   10
  672.       Left            =   360
  673.       Picture         =   "01.frx":58062
  674.       Top             =   2660
  675.       Width           =   120
  676.    End
  677.    Begin VB.Label rec_count 
  678.       AutoSize        =   -1  'True
  679.       BackStyle       =   0  'Transparent
  680.       Caption         =   "00:02:34"
  681.       BeginProperty Font 
  682.          Name            =   "Small Fonts"
  683.          Size            =   6
  684.          Charset         =   0
  685.          Weight          =   400
  686.          Underline       =   0   'False
  687.          Italic          =   0   'False
  688.          Strikethrough   =   0   'False
  689.       EndProperty
  690.       ForeColor       =   &H000000FF&
  691.       Height          =   150
  692.       Left            =   645
  693.       TabIndex        =   28
  694.       Top             =   540
  695.       Visible         =   0   'False
  696.       Width           =   510
  697.    End
  698.    Begin VB.Label reclabel 
  699.       AutoSize        =   -1  'True
  700.       BackStyle       =   0  'Transparent
  701.       Caption         =   "REC"
  702.       BeginProperty Font 
  703.          Name            =   "Small Fonts"
  704.          Size            =   5.25
  705.          Charset         =   0
  706.          Weight          =   400
  707.          Underline       =   0   'False
  708.          Italic          =   0   'False
  709.          Strikethrough   =   0   'False
  710.       EndProperty
  711.       ForeColor       =   &H000000FF&
  712.       Height          =   120
  713.       Left            =   320
  714.       TabIndex        =   27
  715.       Top             =   570
  716.       Visible         =   0   'False
  717.       Width           =   210
  718.    End
  719.    Begin VB.Image Image1 
  720.       Height          =   345
  721.       Left            =   -30
  722.       Picture         =   "01.frx":581AC
  723.       Stretch         =   -1  'True
  724.       Top             =   3210
  725.       Width           =   4110
  726.    End
  727.    Begin VB.Label Label19 
  728.       AutoSize        =   -1  'True
  729.       BackColor       =   &H00404040&
  730.       BackStyle       =   0  'Transparent
  731.       Caption         =   "EQUALIZER"
  732.       BeginProperty Font 
  733.          Name            =   "Small Fonts"
  734.          Size            =   6
  735.          Charset         =   0
  736.          Weight          =   400
  737.          Underline       =   0   'False
  738.          Italic          =   0   'False
  739.          Strikethrough   =   0   'False
  740.       EndProperty
  741.       ForeColor       =   &H000040C0&
  742.       Height          =   150
  743.       Left            =   4470
  744.       TabIndex        =   26
  745.       Top             =   2370
  746.       Width           =   675
  747.    End
  748.    Begin VB.Image eqclose 
  749.       Height          =   135
  750.       Left            =   3930
  751.       Picture         =   "01.frx":5BF16
  752.       ToolTipText     =   "Close"
  753.       Top             =   1770
  754.       Width           =   135
  755.    End
  756.    Begin VB.Line Line15 
  757.       BorderColor     =   &H00004080&
  758.       BorderStyle     =   3  'Dot
  759.       DrawMode        =   9  'Not Mask Pen
  760.       X1              =   1300
  761.       X2              =   2970
  762.       Y1              =   2150
  763.       Y2              =   2150
  764.    End
  765.    Begin VB.Image auto 
  766.       Height          =   195
  767.       Left            =   600
  768.       Picture         =   "01.frx":5C054
  769.       Top             =   2010
  770.       Width           =   495
  771.    End
  772.    Begin VB.Image preset 
  773.       Height          =   210
  774.       Left            =   3240
  775.       Picture         =   "01.frx":5C5AA
  776.       Top             =   1970
  777.       Width           =   690
  778.    End
  779.    Begin VB.Image eqon 
  780.       Height          =   195
  781.       Left            =   210
  782.       Picture         =   "01.frx":5CD94
  783.       Top             =   2010
  784.       Width           =   390
  785.    End
  786.    Begin VB.Image eqf 
  787.       Height          =   165
  788.       Index           =   9
  789.       Left            =   3650
  790.       Picture         =   "01.frx":5D1E6
  791.       Top             =   2550
  792.       Width           =   120
  793.    End
  794.    Begin VB.Image eqf 
  795.       Height          =   165
  796.       Index           =   8
  797.       Left            =   3380
  798.       Picture         =   "01.frx":5D330
  799.       Top             =   2550
  800.       Width           =   120
  801.    End
  802.    Begin VB.Image eqf 
  803.       Height          =   165
  804.       Index           =   7
  805.       Left            =   3110
  806.       Picture         =   "01.frx":5D47A
  807.       Top             =   2700
  808.       Width           =   120
  809.    End
  810.    Begin VB.Image eqf 
  811.       Height          =   165
  812.       Index           =   6
  813.       Left            =   2840
  814.       Picture         =   "01.frx":5D5C4
  815.       Top             =   2700
  816.       Width           =   120
  817.    End
  818.    Begin VB.Image eqf 
  819.       Height          =   165
  820.       Index           =   5
  821.       Left            =   2570
  822.       Picture         =   "01.frx":5D70E
  823.       Top             =   2700
  824.       Width           =   120
  825.    End
  826.    Begin VB.Image eqf 
  827.       Height          =   165
  828.       Index           =   4
  829.       Left            =   2300
  830.       Picture         =   "01.frx":5D858
  831.       Top             =   2730
  832.       Width           =   120
  833.    End
  834.    Begin VB.Image eqf 
  835.       Height          =   165
  836.       Index           =   3
  837.       Left            =   2020
  838.       Picture         =   "01.frx":5D9A2
  839.       Top             =   2700
  840.       Width           =   120
  841.    End
  842.    Begin VB.Image eqf 
  843.       Height          =   165
  844.       Index           =   2
  845.       Left            =   1750
  846.       Picture         =   "01.frx":5DAEC
  847.       Top             =   2670
  848.       Width           =   120
  849.    End
  850.    Begin VB.Image eqf 
  851.       Height          =   165
  852.       Index           =   1
  853.       Left            =   1480
  854.       Picture         =   "01.frx":5DC36
  855.       Top             =   2640
  856.       Width           =   120
  857.    End
  858.    Begin VB.Image eqf 
  859.       Height          =   165
  860.       Index           =   0
  861.       Left            =   1200
  862.       Picture         =   "01.frx":5DD80
  863.       Top             =   2400
  864.       Width           =   120
  865.    End
  866.    Begin VB.Image balancebar 
  867.       DragIcon        =   "01.frx":5DECA
  868.       Height          =   75
  869.       Left            =   2880
  870.       Picture         =   "01.frx":5E1D4
  871.       ToolTipText     =   "Balance bar"
  872.       Top             =   930
  873.       Width           =   210
  874.    End
  875.    Begin VB.Image imgbalancemeter 
  876.       Height          =   150
  877.       Left            =   2640
  878.       Picture         =   "01.frx":5E2F2
  879.       Top             =   900
  880.       Width           =   660
  881.    End
  882.    Begin VB.Image Image20 
  883.       Height          =   165
  884.       Left            =   3570
  885.       Picture         =   "01.frx":5E85C
  886.       Top             =   0
  887.       Width           =   225
  888.    End
  889.    Begin VB.Image Image18 
  890.       Height          =   300
  891.       Left            =   3630
  892.       Picture         =   "01.frx":5EAAE
  893.       Top             =   1290
  894.       Width           =   315
  895.    End
  896.    Begin VB.Label Label17 
  897.       AutoSize        =   -1  'True
  898.       BackColor       =   &H00000000&
  899.       BackStyle       =   0  'Transparent
  900.       Caption         =   "00:00"
  901.       BeginProperty Font 
  902.          Name            =   "Small Fonts"
  903.          Size            =   6.75
  904.          Charset         =   0
  905.          Weight          =   400
  906.          Underline       =   0   'False
  907.          Italic          =   0   'False
  908.          Strikethrough   =   0   'False
  909.       EndProperty
  910.       ForeColor       =   &H000040C0&
  911.       Height          =   165
  912.       Left            =   2310
  913.       TabIndex        =   24
  914.       ToolTipText     =   "Current Media Duration"
  915.       Top             =   600
  916.       Width           =   330
  917.    End
  918.    Begin VB.Shape sp 
  919.       BorderStyle     =   0  'Transparent
  920.       FillColor       =   &H0000C000&
  921.       FillStyle       =   0  'Solid
  922.       Height          =   255
  923.       Index           =   7
  924.       Left            =   1170
  925.       Top             =   750
  926.       Width           =   90
  927.    End
  928.    Begin VB.Shape sp 
  929.       BorderStyle     =   0  'Transparent
  930.       FillColor       =   &H00C0FFC0&
  931.       FillStyle       =   0  'Solid
  932.       Height          =   255
  933.       Index           =   5
  934.       Left            =   930
  935.       Top             =   750
  936.       Width           =   90
  937.    End
  938.    Begin VB.Shape sp 
  939.       BorderStyle     =   0  'Transparent
  940.       FillColor       =   &H000000FF&
  941.       FillStyle       =   0  'Solid
  942.       Height          =   255
  943.       Index           =   0
  944.       Left            =   330
  945.       Top             =   750
  946.       Width           =   90
  947.    End
  948.    Begin VB.Shape sp 
  949.       BorderStyle     =   0  'Transparent
  950.       FillColor       =   &H000080FF&
  951.       FillStyle       =   0  'Solid
  952.       Height          =   255
  953.       Index           =   1
  954.       Left            =   450
  955.       Top             =   750
  956.       Width           =   90
  957.    End
  958.    Begin VB.Shape sp 
  959.       BorderStyle     =   0  'Transparent
  960.       FillColor       =   &H0080C0FF&
  961.       FillStyle       =   0  'Solid
  962.       Height          =   255
  963.       Index           =   2
  964.       Left            =   570
  965.       Top             =   750
  966.       Width           =   90
  967.    End
  968.    Begin VB.Shape sp 
  969.       BorderStyle     =   0  'Transparent
  970.       FillColor       =   &H00C0FFFF&
  971.       FillStyle       =   0  'Solid
  972.       Height          =   255
  973.       Index           =   3
  974.       Left            =   690
  975.       Top             =   750
  976.       Width           =   90
  977.    End
  978.    Begin VB.Shape sp 
  979.       BorderStyle     =   0  'Transparent
  980.       FillColor       =   &H00FFFFFF&
  981.       FillStyle       =   0  'Solid
  982.       Height          =   255
  983.       Index           =   4
  984.       Left            =   810
  985.       Top             =   750
  986.       Width           =   90
  987.    End
  988.    Begin VB.Shape sp 
  989.       BorderStyle     =   0  'Transparent
  990.       FillColor       =   &H0080FF80&
  991.       FillStyle       =   0  'Solid
  992.       Height          =   255
  993.       Index           =   6
  994.       Left            =   1050
  995.       Top             =   750
  996.       Width           =   90
  997.    End
  998.    Begin VB.Shape sp 
  999.       BorderStyle     =   0  'Transparent
  1000.       FillColor       =   &H00008000&
  1001.       FillStyle       =   0  'Solid
  1002.       Height          =   255
  1003.       Index           =   8
  1004.       Left            =   1290
  1005.       Top             =   750
  1006.       Width           =   90
  1007.    End
  1008.    Begin VB.Label trackno 
  1009.       AutoSize        =   -1  'True
  1010.       BackColor       =   &H00000000&
  1011.       BackStyle       =   0  'Transparent
  1012.       Caption         =   " Track"
  1013.       BeginProperty Font 
  1014.          Name            =   "Small Fonts"
  1015.          Size            =   6.75
  1016.          Charset         =   0
  1017.          Weight          =   400
  1018.          Underline       =   0   'False
  1019.          Italic          =   0   'False
  1020.          Strikethrough   =   0   'False
  1021.       EndProperty
  1022.       ForeColor       =   &H000040C0&
  1023.       Height          =   165
  1024.       Left            =   1680
  1025.       TabIndex        =   17
  1026.       Top             =   600
  1027.       Width           =   390
  1028.    End
  1029.    Begin VB.Label trackpos 
  1030.       AutoSize        =   -1  'True
  1031.       BackStyle       =   0  'Transparent
  1032.       Caption         =   "00:00"
  1033.       BeginProperty Font 
  1034.          Name            =   "Arial"
  1035.          Size            =   8.25
  1036.          Charset         =   0
  1037.          Weight          =   700
  1038.          Underline       =   0   'False
  1039.          Italic          =   0   'False
  1040.          Strikethrough   =   0   'False
  1041.       EndProperty
  1042.       ForeColor       =   &H000080FF&
  1043.       Height          =   210
  1044.       Left            =   315
  1045.       TabIndex        =   18
  1046.       ToolTipText     =   "Time elapsed"
  1047.       Top             =   395
  1048.       Width           =   405
  1049.    End
  1050.    Begin VB.Image Image16 
  1051.       Height          =   750
  1052.       Left            =   240
  1053.       Picture         =   "01.frx":5EFF0
  1054.       Top             =   300
  1055.       Width           =   1350
  1056.    End
  1057.    Begin VB.Image EQ 
  1058.       Height          =   135
  1059.       Left            =   3450
  1060.       Picture         =   "01.frx":62552
  1061.       ToolTipText     =   "Toggle Graphic EQualisers"
  1062.       Top             =   900
  1063.       Width           =   255
  1064.    End
  1065.    Begin VB.Image PL 
  1066.       Height          =   135
  1067.       Left            =   3720
  1068.       Picture         =   "01.frx":62768
  1069.       ToolTipText     =   "Toggle PlaylistEditor"
  1070.       Top             =   900
  1071.       Width           =   270
  1072.    End
  1073.    Begin VB.Image Image2 
  1074.       Height          =   225
  1075.       Left            =   3210
  1076.       Picture         =   "01.frx":629A2
  1077.       Stretch         =   -1  'True
  1078.       Top             =   870
  1079.       Width           =   735
  1080.    End
  1081.    Begin VB.Line Line21 
  1082.       BorderColor     =   &H00404000&
  1083.       X1              =   3960
  1084.       X2              =   4020
  1085.       Y1              =   300
  1086.       Y2              =   300
  1087.    End
  1088.    Begin VB.Label Label15 
  1089.       AutoSize        =   -1  'True
  1090.       BackColor       =   &H00404040&
  1091.       BackStyle       =   0  'Transparent
  1092.       Caption         =   "MAHESH'S MPLAYER"
  1093.       BeginProperty Font 
  1094.          Name            =   "Small Fonts"
  1095.          Size            =   6
  1096.          Charset         =   0
  1097.          Weight          =   400
  1098.          Underline       =   0   'False
  1099.          Italic          =   0   'False
  1100.          Strikethrough   =   0   'False
  1101.       EndProperty
  1102.       ForeColor       =   &H000040C0&
  1103.       Height          =   150
  1104.       Left            =   4560
  1105.       TabIndex        =   23
  1106.       Top             =   3360
  1107.       Width           =   1245
  1108.    End
  1109.    Begin VB.Label Label6 
  1110.       AutoSize        =   -1  'True
  1111.       BackColor       =   &H00000000&
  1112.       BackStyle       =   0  'Transparent
  1113.       Caption         =   "12"
  1114.       Enabled         =   0   'False
  1115.       BeginProperty Font 
  1116.          Name            =   "Small Fonts"
  1117.          Size            =   5.25
  1118.          Charset         =   0
  1119.          Weight          =   400
  1120.          Underline       =   0   'False
  1121.          Italic          =   0   'False
  1122.          Strikethrough   =   0   'False
  1123.       EndProperty
  1124.       ForeColor       =   &H000080FF&
  1125.       Height          =   120
  1126.       Index           =   11
  1127.       Left            =   3810
  1128.       TabIndex        =   16
  1129.       ToolTipText     =   "Track 12"
  1130.       Top             =   660
  1131.       Width           =   105
  1132.    End
  1133.    Begin VB.Label Label6 
  1134.       AutoSize        =   -1  'True
  1135.       BackColor       =   &H00000000&
  1136.       BackStyle       =   0  'Transparent
  1137.       Caption         =   "9"
  1138.       Enabled         =   0   'False
  1139.       BeginProperty Font 
  1140.          Name            =   "Small Fonts"
  1141.          Size            =   5.25
  1142.          Charset         =   0
  1143.          Weight          =   400
  1144.          Underline       =   0   'False
  1145.          Italic          =   0   'False
  1146.          Strikethrough   =   0   'False
  1147.       EndProperty
  1148.       ForeColor       =   &H000080FF&
  1149.       Height          =   120
  1150.       Index           =   8
  1151.       Left            =   3690
  1152.       TabIndex        =   13
  1153.       ToolTipText     =   "Track 9"
  1154.       Top             =   660
  1155.       Width           =   60
  1156.    End
  1157.    Begin VB.Label Label6 
  1158.       AutoSize        =   -1  'True
  1159.       BackColor       =   &H00000000&
  1160.       BackStyle       =   0  'Transparent
  1161.       Caption         =   "6"
  1162.       Enabled         =   0   'False
  1163.       BeginProperty Font 
  1164.          Name            =   "Small Fonts"
  1165.          Size            =   5.25
  1166.          Charset         =   0
  1167.          Weight          =   400
  1168.          Underline       =   0   'False
  1169.          Italic          =   0   'False
  1170.          Strikethrough   =   0   'False
  1171.       EndProperty
  1172.       ForeColor       =   &H000080FF&
  1173.       Height          =   120
  1174.       Index           =   5
  1175.       Left            =   3570
  1176.       TabIndex        =   12
  1177.       ToolTipText     =   "Track 6"
  1178.       Top             =   660
  1179.       Width           =   60
  1180.    End
  1181.    Begin VB.Label Label6 
  1182.       AutoSize        =   -1  'True
  1183.       BackColor       =   &H00000000&
  1184.       BackStyle       =   0  'Transparent
  1185.       Caption         =   "11"
  1186.       Enabled         =   0   'False
  1187.       BeginProperty Font 
  1188.          Name            =   "Small Fonts"
  1189.          Size            =   5.25
  1190.          Charset         =   0
  1191.          Weight          =   400
  1192.          Underline       =   0   'False
  1193.          Italic          =   0   'False
  1194.          Strikethrough   =   0   'False
  1195.       EndProperty
  1196.       ForeColor       =   &H000080FF&
  1197.       Height          =   120
  1198.       Index           =   10
  1199.       Left            =   3810
  1200.       TabIndex        =   15
  1201.       ToolTipText     =   "Track 11"
  1202.       Top             =   510
  1203.       Width           =   90
  1204.    End
  1205.    Begin VB.Label Label6 
  1206.       AutoSize        =   -1  'True
  1207.       BackColor       =   &H00000000&
  1208.       BackStyle       =   0  'Transparent
  1209.       Caption         =   "8"
  1210.       Enabled         =   0   'False
  1211.       BeginProperty Font 
  1212.          Name            =   "Small Fonts"
  1213.          Size            =   5.25
  1214.          Charset         =   0
  1215.          Weight          =   400
  1216.          Underline       =   0   'False
  1217.          Italic          =   0   'False
  1218.          Strikethrough   =   0   'False
  1219.       EndProperty
  1220.       ForeColor       =   &H000080FF&
  1221.       Height          =   120
  1222.       Index           =   7
  1223.       Left            =   3690
  1224.       TabIndex        =   11
  1225.       ToolTipText     =   "Track 8"
  1226.       Top             =   510
  1227.       Width           =   60
  1228.    End
  1229.    Begin VB.Label Label6 
  1230.       AutoSize        =   -1  'True
  1231.       BackColor       =   &H00000000&
  1232.       BackStyle       =   0  'Transparent
  1233.       Caption         =   "5"
  1234.       Enabled         =   0   'False
  1235.       BeginProperty Font 
  1236.          Name            =   "Small Fonts"
  1237.          Size            =   5.25
  1238.          Charset         =   0
  1239.          Weight          =   400
  1240.          Underline       =   0   'False
  1241.          Italic          =   0   'False
  1242.          Strikethrough   =   0   'False
  1243.       EndProperty
  1244.       ForeColor       =   &H000080FF&
  1245.       Height          =   120
  1246.       Index           =   4
  1247.       Left            =   3570
  1248.       TabIndex        =   9
  1249.       ToolTipText     =   "Track 5"
  1250.       Top             =   510
  1251.       Width           =   60
  1252.    End
  1253.    Begin VB.Label Label6 
  1254.       AutoSize        =   -1  'True
  1255.       BackColor       =   &H00000000&
  1256.       BackStyle       =   0  'Transparent
  1257.       Caption         =   "10"
  1258.       Enabled         =   0   'False
  1259.       BeginProperty Font 
  1260.          Name            =   "Small Fonts"
  1261.          Size            =   5.25
  1262.          Charset         =   0
  1263.          Weight          =   400
  1264.          Underline       =   0   'False
  1265.          Italic          =   0   'False
  1266.          Strikethrough   =   0   'False
  1267.       EndProperty
  1268.       ForeColor       =   &H000080FF&
  1269.       Height          =   120
  1270.       Index           =   9
  1271.       Left            =   3810
  1272.       TabIndex        =   14
  1273.       ToolTipText     =   "Track 10"
  1274.       Top             =   390
  1275.       Width           =   105
  1276.    End
  1277.    Begin VB.Label Label6 
  1278.       AutoSize        =   -1  'True
  1279.       BackColor       =   &H00000000&
  1280.       BackStyle       =   0  'Transparent
  1281.       Caption         =   "7"
  1282.       Enabled         =   0   'False
  1283.       BeginProperty Font 
  1284.          Name            =   "Small Fonts"
  1285.          Size            =   5.25
  1286.          Charset         =   0
  1287.          Weight          =   400
  1288.          Underline       =   0   'False
  1289.          Italic          =   0   'False
  1290.          Strikethrough   =   0   'False
  1291.       EndProperty
  1292.       ForeColor       =   &H000080FF&
  1293.       Height          =   120
  1294.       Index           =   6
  1295.       Left            =   3690
  1296.       TabIndex        =   10
  1297.       ToolTipText     =   "Track 7"
  1298.       Top             =   390
  1299.       Width           =   60
  1300.    End
  1301.    Begin VB.Label Label6 
  1302.       AutoSize        =   -1  'True
  1303.       BackColor       =   &H00000000&
  1304.       BackStyle       =   0  'Transparent
  1305.       Caption         =   "4"
  1306.       Enabled         =   0   'False
  1307.       BeginProperty Font 
  1308.          Name            =   "Small Fonts"
  1309.          Size            =   5.25
  1310.          Charset         =   0
  1311.          Weight          =   400
  1312.          Underline       =   0   'False
  1313.          Italic          =   0   'False
  1314.          Strikethrough   =   0   'False
  1315.       EndProperty
  1316.       ForeColor       =   &H000080FF&
  1317.       Height          =   120
  1318.       Index           =   3
  1319.       Left            =   3570
  1320.       TabIndex        =   6
  1321.       ToolTipText     =   "Track 4"
  1322.       Top             =   390
  1323.       Width           =   60
  1324.    End
  1325.    Begin VB.Label Label6 
  1326.       AutoSize        =   -1  'True
  1327.       BackColor       =   &H00000000&
  1328.       BackStyle       =   0  'Transparent
  1329.       Caption         =   "3"
  1330.       Enabled         =   0   'False
  1331.       BeginProperty Font 
  1332.          Name            =   "Small Fonts"
  1333.          Size            =   5.25
  1334.          Charset         =   0
  1335.          Weight          =   400
  1336.          Underline       =   0   'False
  1337.          Italic          =   0   'False
  1338.          Strikethrough   =   0   'False
  1339.       EndProperty
  1340.       ForeColor       =   &H000080FF&
  1341.       Height          =   120
  1342.       Index           =   2
  1343.       Left            =   3450
  1344.       TabIndex        =   8
  1345.       ToolTipText     =   "Track 3"
  1346.       Top             =   660
  1347.       Width           =   60
  1348.    End
  1349.    Begin VB.Label Label6 
  1350.       AutoSize        =   -1  'True
  1351.       BackColor       =   &H00000000&
  1352.       BackStyle       =   0  'Transparent
  1353.       Caption         =   "2"
  1354.       Enabled         =   0   'False
  1355.       BeginProperty Font 
  1356.          Name            =   "Small Fonts"
  1357.          Size            =   5.25
  1358.          Charset         =   0
  1359.          Weight          =   400
  1360.          Underline       =   0   'False
  1361.          Italic          =   0   'False
  1362.          Strikethrough   =   0   'False
  1363.       EndProperty
  1364.       ForeColor       =   &H000080FF&
  1365.       Height          =   120
  1366.       Index           =   1
  1367.       Left            =   3450
  1368.       TabIndex        =   7
  1369.       ToolTipText     =   "Track 2"
  1370.       Top             =   510
  1371.       Width           =   60
  1372.    End
  1373.    Begin VB.Label Label6 
  1374.       AutoSize        =   -1  'True
  1375.       BackColor       =   &H00000000&
  1376.       BackStyle       =   0  'Transparent
  1377.       Caption         =   "1"
  1378.       Enabled         =   0   'False
  1379.       BeginProperty Font 
  1380.          Name            =   "Small Fonts"
  1381.          Size            =   5.25
  1382.          Charset         =   0
  1383.          Weight          =   400
  1384.          Underline       =   0   'False
  1385.          Italic          =   0   'False
  1386.          Strikethrough   =   0   'False
  1387.       EndProperty
  1388.       ForeColor       =   &H000080FF&
  1389.       Height          =   120
  1390.       Index           =   0
  1391.       Left            =   3450
  1392.       TabIndex        =   5
  1393.       ToolTipText     =   "Track 1"
  1394.       Top             =   390
  1395.       Width           =   45
  1396.    End
  1397.    Begin VB.Image volumebar 
  1398.       DragIcon        =   "01.frx":631A0
  1399.       Height          =   75
  1400.       Left            =   2210
  1401.       Picture         =   "01.frx":634AA
  1402.       ToolTipText     =   "Volume bar"
  1403.       Top             =   930
  1404.       Width           =   210
  1405.    End
  1406.    Begin VB.Image meclose 
  1407.       Height          =   135
  1408.       Left            =   3930
  1409.       Picture         =   "01.frx":635C8
  1410.       ToolTipText     =   "Close"
  1411.       Top             =   30
  1412.       Width           =   135
  1413.    End
  1414.    Begin VB.Image Inf 
  1415.       Height          =   165
  1416.       Left            =   60
  1417.       Picture         =   "01.frx":63706
  1418.       ToolTipText     =   "Configuration"
  1419.       Top             =   0
  1420.       Width           =   165
  1421.    End
  1422.    Begin VB.Line Line16 
  1423.       X1              =   3960
  1424.       X2              =   3960
  1425.       Y1              =   330
  1426.       Y2              =   810
  1427.    End
  1428.    Begin VB.Image Image10 
  1429.       Height          =   150
  1430.       Left            =   1640
  1431.       Picture         =   "01.frx":638D4
  1432.       Top             =   900
  1433.       Width           =   975
  1434.    End
  1435.    Begin VB.Image min 
  1436.       Height          =   135
  1437.       Left            =   3780
  1438.       Picture         =   "01.frx":640BE
  1439.       ToolTipText     =   "Minimise"
  1440.       Top             =   30
  1441.       Width           =   165
  1442.    End
  1443.    Begin VB.Label mediatype 
  1444.       AutoSize        =   -1  'True
  1445.       BackStyle       =   0  'Transparent
  1446.       Caption         =   "(MEDIA)"
  1447.       BeginProperty Font 
  1448.          Name            =   "Small Fonts"
  1449.          Size            =   5.25
  1450.          Charset         =   0
  1451.          Weight          =   400
  1452.          Underline       =   0   'False
  1453.          Italic          =   0   'False
  1454.          Strikethrough   =   0   'False
  1455.       EndProperty
  1456.       ForeColor       =   &H000040C0&
  1457.       Height          =   120
  1458.       Left            =   2700
  1459.       TabIndex        =   19
  1460.       Top             =   610
  1461.       Width           =   420
  1462.    End
  1463.    Begin VB.Image Imgbar 
  1464.       DragIcon        =   "01.frx":64244
  1465.       Height          =   90
  1466.       Left            =   240
  1467.       Picture         =   "01.frx":6454E
  1468.       ToolTipText     =   "Seeking Bar"
  1469.       Top             =   1110
  1470.       Width           =   435
  1471.    End
  1472.    Begin VB.Image Image3 
  1473.       Height          =   240
  1474.       Index           =   0
  1475.       Left            =   3150
  1476.       Picture         =   "01.frx":647A0
  1477.       ToolTipText     =   "Toggle repeat"
  1478.       Top             =   1350
  1479.       Width           =   420
  1480.    End
  1481.    Begin VB.Image p 
  1482.       Height          =   240
  1483.       Index           =   0
  1484.       Left            =   2730
  1485.       Picture         =   "01.frx":64D22
  1486.       ToolTipText     =   "Toggle shuffle"
  1487.       Top             =   1350
  1488.       Width           =   435
  1489.    End
  1490.    Begin VB.Image cbutton 
  1491.       Height          =   270
  1492.       Index           =   7
  1493.       Left            =   2010
  1494.       Picture         =   "01.frx":652E4
  1495.       ToolTipText     =   "Record/Record Pause"
  1496.       Top             =   1320
  1497.       Width           =   360
  1498.    End
  1499.    Begin VB.Image cbutton 
  1500.       Height          =   270
  1501.       Index           =   2
  1502.       Left            =   540
  1503.       Picture         =   "01.frx":65836
  1504.       ToolTipText     =   "Play(P)"
  1505.       Top             =   1320
  1506.       Width           =   360
  1507.    End
  1508.    Begin VB.Image cbutton 
  1509.       Height          =   270
  1510.       Index           =   3
  1511.       Left            =   900
  1512.       Picture         =   "01.frx":65D88
  1513.       ToolTipText     =   "Pause(P)"
  1514.       Top             =   1320
  1515.       Width           =   360
  1516.    End
  1517.    Begin VB.Image cbutton 
  1518.       Height          =   270
  1519.       Index           =   6
  1520.       Left            =   1260
  1521.       Picture         =   "01.frx":662DA
  1522.       ToolTipText     =   "Stop(S)"
  1523.       Top             =   1320
  1524.       Width           =   360
  1525.    End
  1526.    Begin VB.Image cbutton 
  1527.       Height          =   270
  1528.       Index           =   1
  1529.       Left            =   1620
  1530.       Picture         =   "01.frx":6682C
  1531.       ToolTipText     =   "Next track(N)"
  1532.       Top             =   1320
  1533.       Width           =   360
  1534.    End
  1535.    Begin VB.Image cbutton 
  1536.       Height          =   270
  1537.       Index           =   0
  1538.       Left            =   210
  1539.       Picture         =   "01.frx":66D7E
  1540.       ToolTipText     =   "Previous track(B)"
  1541.       Top             =   1320
  1542.       Width           =   360
  1543.    End
  1544.    Begin VB.Image Image8 
  1545.       Height          =   135
  1546.       Index           =   1
  1547.       Left            =   220
  1548.       Picture         =   "01.frx":672D0
  1549.       Stretch         =   -1  'True
  1550.       ToolTipText     =   "Seeking Bar"
  1551.       Top             =   1100
  1552.       Width           =   3705
  1553.    End
  1554.    Begin VB.Image Image23 
  1555.       Height          =   450
  1556.       Left            =   3360
  1557.       Picture         =   "01.frx":6909A
  1558.       Stretch         =   -1  'True
  1559.       Top             =   330
  1560.       Width           =   585
  1561.    End
  1562.    Begin VB.Label playtrack 
  1563.       BackStyle       =   0  'Transparent
  1564.       Caption         =   ". Mahesh Mediaplayer ."
  1565.       BeginProperty Font 
  1566.          Name            =   "Small Fonts"
  1567.          Size            =   6.75
  1568.          Charset         =   0
  1569.          Weight          =   400
  1570.          Underline       =   0   'False
  1571.          Italic          =   0   'False
  1572.          Strikethrough   =   0   'False
  1573.       EndProperty
  1574.       ForeColor       =   &H000080FF&
  1575.       Height          =   165
  1576.       Left            =   1680
  1577.       TabIndex        =   20
  1578.       Top             =   390
  1579.       Width           =   1770
  1580.    End
  1581.    Begin VB.Label volinf 
  1582.       AutoSize        =   -1  'True
  1583.       BackStyle       =   0  'Transparent
  1584.       BeginProperty Font 
  1585.          Name            =   "Small Fonts"
  1586.          Size            =   6.75
  1587.          Charset         =   0
  1588.          Weight          =   400
  1589.          Underline       =   0   'False
  1590.          Italic          =   0   'False
  1591.          Strikethrough   =   0   'False
  1592.       EndProperty
  1593.       ForeColor       =   &H000080FF&
  1594.       Height          =   165
  1595.       Left            =   1720
  1596.       TabIndex        =   25
  1597.       Top             =   390
  1598.       Visible         =   0   'False
  1599.       Width           =   465
  1600.    End
  1601.    Begin VB.Image Image15 
  1602.       Height          =   450
  1603.       Left            =   1620
  1604.       Picture         =   "01.frx":6B35C
  1605.       Stretch         =   -1  'True
  1606.       Top             =   330
  1607.       Width           =   2385
  1608.    End
  1609.    Begin VB.Image Image17 
  1610.       Height          =   360
  1611.       Left            =   3920
  1612.       Picture         =   "01.frx":6D61E
  1613.       Stretch         =   -1  'True
  1614.       Top             =   300
  1615.       Width           =   150
  1616.    End
  1617.    Begin VB.Image Image22 
  1618.       Height          =   3630
  1619.       Left            =   -30
  1620.       Picture         =   "01.frx":6D8A0
  1621.       Top             =   -15
  1622.       Width           =   4125
  1623.    End
  1624.    Begin VB.Menu file 
  1625.       Caption         =   ""
  1626.       Visible         =   0   'False
  1627.       Begin VB.Menu about 
  1628.          Caption         =   "About Mahesh'sMplayer..."
  1629.       End
  1630.       Begin VB.Menu atop 
  1631.          Caption         =   "Always on top"
  1632.       End
  1633.       Begin VB.Menu ple 
  1634.          Caption         =   "Playlist Editor"
  1635.          Checked         =   -1  'True
  1636.       End
  1637.       Begin VB.Menu eqe 
  1638.          Caption         =   "Graphic Equaliser"
  1639.          Checked         =   -1  'True
  1640.       End
  1641.       Begin VB.Menu explored 
  1642.          Caption         =   "Explore mmpWorkarea Folder"
  1643.       End
  1644.       Begin VB.Menu plb 
  1645.          Caption         =   "playback"
  1646.       End
  1647.       Begin VB.Menu exe 
  1648.          Caption         =   "Exit"
  1649.       End
  1650.    End
  1651. End
  1652. Attribute VB_Name = "musicsystem"
  1653. Attribute VB_GlobalNameSpace = False
  1654. Attribute VB_Creatable = False
  1655. Attribute VB_PredeclaredId = True
  1656. Attribute VB_Exposed = False
  1657. Option Explicit
  1658. Dim l As Long
  1659. Dim m As Integer
  1660. Public vol As New clsVolume
  1661.  
  1662.  
  1663. ' Define variants to hold keyword parsing arrays
  1664.  
  1665. ' *** Establish constants for the registry functions
  1666. Const HKEY_CLASSES_ROOT = &H80000000
  1667. Const HKEY_CURRENT_USER = &H80000001
  1668. Const HKEY_LOCAL_MACHINE = &H80000002
  1669. Const HKEY_USERS = &H80000003
  1670. Const HKEY_DYN_DATA = &H80000004
  1671.  
  1672. Const REG_SZ = 1
  1673.  
  1674. ' Registry error constants
  1675. Const ERROR_SUCCESS = 0&
  1676. Const ERROR_BADKEY = 1010&
  1677.  
  1678. ' Registry API prototypes
  1679. Private Declare Function RegCreateKey Lib "advapi32.dll" _
  1680.   Alias "RegCreateKeyA" _
  1681.     (ByVal hkey As Long, _
  1682.      ByVal lpSubKey As String, _
  1683.      phkResult As Long) As Long
  1684.      
  1685. Private Declare Function RegSetValueEx Lib "advapi32.dll" _
  1686.   Alias "RegSetValueExA" _
  1687.     (ByVal hkey As Long, _
  1688.      ByVal lpValueName As String, _
  1689.      ByVal Reserved As Long, _
  1690.      ByVal dwType As Long, _
  1691.      lpData As Any, _
  1692.      ByVal cbData As Long) As Long
  1693.  
  1694. Private Declare Function RegDeleteKey Lib "advapi32.dll" _
  1695.   Alias "RegDeleteKeyA" _
  1696.     (ByVal hkey As Long, _
  1697.      ByVal lpSubKey As String) As Long
  1698.      
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. Private Sub ResultsImportFile(sFileName As String, media As Boolean)
  1712.  
  1713. Dim listname As String
  1714. Dim i As Integer
  1715. If media = True Then
  1716. Dim temptrack As file
  1717. currenttrack = 1 ' = sFileName
  1718. plst.newpl_Click
  1719. 'Open App.path + "\mplayerlist.mmpl" For Random As #1 Len = 155
  1720. totaltracks = 1
  1721. temptrack.path = sFileName
  1722. File1.path = ""
  1723. File1.FileName = sFileName
  1724. listname = File1.List(0)
  1725. listname = str(totaltracks) + ". " + listname
  1726. If Len(listname) >= 34 Then listname = Left(listname, 34) + "..."
  1727. listname = LCase(listname)
  1728. plst.List1.AddItem (listname)
  1729. temptrack.name = listname 'Str(totaltracks) + ". " + Left(cd1.FileTitle, 30) + Space(7) + tracklength
  1730. i = InStr(listname, ".")
  1731. temptrack.name = LCase(Mid(listname, i + 1, Len(listname)))
  1732. 'Put #1, totaltracks, track
  1733. 'Close #1
  1734. currenttrack = 1
  1735. plst.List1.ListIndex = 0
  1736. track(totaltracks) = temptrack
  1737. Call plst.list1_DblClick
  1738.  
  1739. 'playtrack.Caption = temptrack.name
  1740. Label6(0).Enabled = True
  1741. Else
  1742. End If
  1743.  
  1744. End Sub
  1745. Private Sub GetAppSettings()
  1746.  
  1747. Dim nLeft           As Integer
  1748. Dim nTop            As Integer
  1749.  
  1750. ' Get the previous left position of the form
  1751. nLeft = GetSetting(App.Title, "General", "Left", 0)
  1752.  
  1753. ' Get the previous top position of the form
  1754. nTop = GetSetting(App.Title, "General", "Top", 0)
  1755.  
  1756. ' Now reposition the form
  1757. Me.Move nLeft, nTop
  1758.  
  1759. End Sub
  1760.  
  1761. Private Sub SaveAppSettings()
  1762.  
  1763. ' Save the current form position and dimensions
  1764. SaveSetting App.Title, "General", "Left", Me.Left
  1765. SaveSetting App.Title, "General", "Top", Me.Top
  1766.  
  1767. End Sub
  1768.  
  1769. Public Sub DroppedFiles(vFileList As Variant)
  1770.  
  1771. Dim nLoopCtr            As Integer
  1772. Dim sFileName           As String
  1773.  
  1774. ' *** Loop through the variant array to process
  1775. ' each dropped file
  1776. 'For nLoopCtr = 0 To UBound(vFileList)
  1777.     ' Get the current file name from the array
  1778.     sFileName = vFileList(nLoopCtr)
  1779.     
  1780.     ' Make sure it is a SAD format file
  1781.     If UCase$(Right$(sFileName, 4)) = ".MP3" Or UCase$(Right$(sFileName, 4)) = ".DAT" Or UCase$(Right$(sFileName, 4)) = ".WAV" Or UCase$(Right$(sFileName, 4)) = ".MPG" Or UCase$(Right$(sFileName, 5)) = ".MPEG" Or UCase$(Right$(sFileName, 4)) = ".AVI" Then
  1782.       'Form1.MediaPlayer1.FileName = sFileName
  1783.         ' It is the correct file type so import it
  1784.         Call ResultsImportFile(sFileName, True)
  1785.     End If
  1786. 'Next nLoopCtr
  1787.  
  1788. End Sub
  1789.  
  1790. Private Sub SelfRegister(sCommandLine As String)
  1791.  
  1792. Dim lResult                 As Long
  1793.     On Error Resume Next
  1794.  
  1795.  DeleteSetting App.Title, "General"
  1796.     DeleteSetting App.Title
  1797. ' Check to see if the code needs to establish registry settings
  1798. If InStr(1, UCase$(sCommandLine), "/REGSERVER") <> 0 Then
  1799.     ' Create the file type entries
  1800.     lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1801.                 ".DAT", _
  1802.                 "")
  1803.   ' lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1804.                 "winamp.file", _
  1805.                 "")
  1806.   ' lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1807.                 "MaheshMp3file\Shell\open", _
  1808.                 "")
  1809.    ' lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1810.                 "MaheshMp31", _
  1811.                 "")
  1812.     ' Register the file extension'("")value for default registry
  1813.     ' don't write" " for ""
  1814.     lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1815.                 ".DAT", _
  1816.                 "", _
  1817.                 "MaheshDATfile")
  1818.                 
  1819.     ' Register the extension shell handling
  1820.     lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1821.                 "MaheshDATfile", _
  1822.                 "", _
  1823.                 "Maheshmp media file")
  1824.      'assigns type of file in detailed view
  1825.     lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1826.                 "MaheshDATfile\DefaultIcon", _
  1827.                 "", _
  1828.                 "d:\maheshmp.exe" & ",0")
  1829.       'assigns exe icon to filename type
  1830.     lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1831.                 "MaheshDATfile\Shell\play with mahesh\Command", _
  1832.                 "", _
  1833.                  "d:\maheshmp.exe" & " " & Chr$(34) & "%1" & Chr$(34))
  1834.      ' "%1" is replaced by the correspomding filename selected & henc ew thic particular
  1835.      'combination gives commmand as <Exe filepath filename>
  1836.      'and filename is sent as commandline argument
  1837.       lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1838.                 "MaheshDATfile\Shell\open", _
  1839.                 "", _
  1840.                 "open with Mahesh Mplayer")
  1841.      'Instructs to display "open with Mplayer " in place of "open" menu command in right click
  1842.       lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1843.                 "MaheshDATfile\Shell\play with mahesh", _
  1844.                 "", _
  1845.                 "play with Mahesh Mplayer")
  1846.                 
  1847.      lResult = SetRegValue(HKEY_CLASSES_ROOT, _
  1848.                 "MaheshDATfile\Shell\open\Command", _
  1849.                 "", _
  1850.                 Chr$(34) & "d:\maheshmp.exe" & Chr$(34) & " " & Chr$(34) & "%1" & Chr$(34))
  1851.      'sends command prompt the instruction <exepath "filename">
  1852.      'replacing  "%1"by filename string
  1853.   
  1854.     End
  1855.  
  1856. End If
  1857.  
  1858. ' Check to see if the code needs to remove registry settings
  1859. If InStr(1, UCase$(sCommandLine), "/UNREGSERVER") <> 0 Then
  1860.     ' Delete the form and application settings
  1861.     
  1862.     ' The error trapping is in case the application
  1863.     ' specific entries do not exist
  1864.     On Error Resume Next
  1865.     DeleteSetting App.Title, "General"
  1866.     DeleteSetting App.Title
  1867.     On Error GoTo 0
  1868.     
  1869.     ' Delete the file type entries
  1870.     lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1871.                 ".mp3", _
  1872.                 "")
  1873.     lResult = DeleteRegKey(HKEY_CLASSES_ROOT, _
  1874.                 "MaheshMp3", _
  1875.                 "")
  1876.                 
  1877.     ' Exit from the program
  1878.     End
  1879.  
  1880. End If
  1881.  
  1882. ' If the program gets here there were no self-registration
  1883. ' tasks to perform, so go back to form load
  1884.  
  1885. End Sub
  1886.  
  1887. Private Function SetRegValue _
  1888.             (lKeyRoot As Long, _
  1889.              tRegistryKey As String, _
  1890.              tSubKey As String, _
  1891.              tKeyValue As String) As Long
  1892.  
  1893. Dim lKeyId              As Long
  1894. Dim lResult             As Long
  1895.  
  1896. SetRegValue = 0                ' Assume succcess
  1897.  
  1898. If Len(tRegistryKey) = 0 Then
  1899.     ' The key parameter is not set
  1900.     SetRegValue = ERROR_BADKEY
  1901.     Exit Function
  1902. End If
  1903.  
  1904. ' Open the key by attempting to create it. If it
  1905. ' already exists we get back an ID.
  1906. lResult = RegCreateKey(lKeyRoot, _
  1907.                 tRegistryKey, _
  1908.                 lKeyId)
  1909.  
  1910. If lResult <> 0 Then
  1911.     ' Call failed, can't open the key so exit
  1912.     SetRegValue = lResult
  1913.     Exit Function
  1914. End If
  1915.  
  1916. If Len(tKeyValue) = 0 Then
  1917.     ' No key value, so clear any existing entry
  1918.     SetRegValue = RegSetValueEx(lKeyId, _
  1919.                 tSubKey, _
  1920.                 0&, _
  1921.                 REG_SZ, _
  1922.                 0&, _
  1923.                 0&)
  1924.   Else
  1925.     ' Set the registry entry to the value
  1926.     SetRegValue = RegSetValueEx(lKeyId, _
  1927.                 tSubKey, _
  1928.                 0&, _
  1929.                 REG_SZ, _
  1930.                 ByVal tKeyValue, _
  1931.                 Len(tKeyValue) + 1)
  1932. End If
  1933.  
  1934. End Function
  1935.  
  1936. Private Function DeleteRegKey _
  1937.             (lKeyRoot As Long, _
  1938.              tRegistryKey As String, _
  1939.              tSubKey As String) As Long
  1940.  
  1941. Dim lKeyId          As Long
  1942. Dim lResult         As Long
  1943.  
  1944. DeleteRegKey = 0           ' Assume succcess
  1945.  
  1946. If Len(tRegistryKey) = 0 Then
  1947.     ' The key parameter is not set
  1948.     DeleteRegKey = ERROR_BADKEY
  1949.     Exit Function
  1950. End If
  1951.  
  1952. ' Open the key by attempting to create it. If it
  1953. ' already exists we get back an ID.
  1954. lResult = RegCreateKey(lKeyRoot, tRegistryKey, lKeyId)
  1955. If lResult = 0 Then
  1956.     ' We got a key ID so we can delete the entry
  1957.     DeleteRegKey = RegDeleteKey(lKeyId, ByVal tSubKey)
  1958. End If
  1959.  
  1960. End Function
  1961.  
  1962.  
  1963.  '.FileSystemObject
  1964.  
  1965.  
  1966.  
  1967. Public Sub bar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  1968. 'bar.Move X, Y
  1969.  
  1970. text1.Text = str(X) + "   " + str(Y)
  1971. End Sub
  1972.  
  1973. Public Sub button_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  1974.  
  1975.  
  1976. End Sub
  1977.  
  1978. Public Sub button_MouseUp(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  1979.  
  1980. End Sub
  1981.  
  1982. Public Sub about_Click()
  1983. Form2.Show
  1984. End Sub
  1985.  
  1986.  
  1987. Public Sub addtracks_Click()
  1988.  
  1989. End Sub
  1990.  
  1991. Public Sub atop_Click()
  1992. Dim k
  1993. On Error GoTo 1
  1994.  
  1995. If atop.Checked = False Then
  1996. k = SetWindowPos(Me.hwnd, -1, Me.Left / 12000 * 800, Me.Top / 9000 * 600, Me.width / 12000 * 800, Me.height / 9000 * 600, &H40)
  1997. k = SetWindowPos(plst.hwnd, -1, plst.Left / 12000 * 800, plst.Top / 9000 * 600, Me.width / 12000 * 800, plst.height / 9000 * 600, &H40)
  1998.  
  1999. atop.Checked = True
  2000. Else
  2001. k = SetWindowPos(Me.hwnd, -2, Me.Left / 12000 * 800, Me.Top / 9000 * 600, Me.width / 12000 * 800, Me.height / 9000 * 600, &H40)
  2002. k = SetWindowPos(plst.hwnd, -2, plst.Left / 12000 * 800, plst.Top / 9000 * 600, Me.width / 12000 * 800, plst.height / 9000 * 600, &H40)
  2003.  
  2004. atop.Checked = False
  2005. End If
  2006. 1:
  2007. End Sub
  2008.  
  2009. Public Sub back_Click()
  2010. On Error GoTo 1
  2011. If musicsystem.cbutton(0).Enabled = True Then musicsystem.cbutton_Click (0)
  2012. 1:
  2013. End Sub
  2014.  
  2015. Private Sub balancebar_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2016. Dim m As POINTAPI
  2017. Dim k
  2018. Dim m1 As Integer
  2019. k = GetCursorPos(m)
  2020. initialypos = m.Y '- Me.Top / 12000 * 800
  2021.  
  2022. initialxpos = m.X '- Me.Left / 12000 * 800
  2023. volinf.Visible = True
  2024. playtrack.Visible = False
  2025. If balancebar.Left > 2868 Then
  2026. m1 = Int((balancebar.Left - 2868) / 2.5)
  2027. If m1 > 99 Then m1 = 100
  2028. If m1 < 2 Then m1 = 0
  2029. volinf.Caption = "Balance= " + str(m1) + "% Right"
  2030. ElseIf balancebar.Left < 2870 Then
  2031. m1 = Int(-(balancebar.Left - 2880) / 2.5)
  2032. If m1 > 99 Then m1 = 100
  2033. If m1 < 2 Then m1 = 0
  2034. volinf.Caption = "Balance= " + str(m1) + "% Left"
  2035. End If
  2036. If balancebar.Left < 2880 And balancebar.Left > 2850 Then
  2037. volinf.Caption = "Balance= Centre" '+ 'Str(Int(-(balancebar.Left - 2870) / 2.5)) + "% Left"
  2038. Form1.MediaPlayer1.Balance = 0
  2039. End If
  2040.  
  2041. End Sub
  2042.  
  2043. Public Sub balancebar_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2044. Dim m As POINTAPI
  2045. Dim k
  2046. If Button = 1 Then
  2047. k = GetCursorPos(m)
  2048. If Abs(m.X - initialxpos) >= 1 Then
  2049. balancebar.Left = balancebar.Left + ((m.X - initialxpos) * 12000 / 800)
  2050. initialxpos = m.X
  2051. End If
  2052.  
  2053. Dim m1 As Integer
  2054.  
  2055. If balancebar.Left <= 2600 Then balancebar.Left = 2620
  2056. If (balancebar.Left >= 3120) Then balancebar.Left = 3120
  2057.  
  2058. Form1.MediaPlayer1.Balance = (balancebar.Left - 2850) * 9
  2059.  
  2060. Slider4.Value = (balancebar.Left - 2610) / 72
  2061. 'Slider3.SetFocus
  2062. playtrack.Visible = False
  2063.  
  2064. If balancebar.Left > 2868 Then
  2065. m1 = Int((balancebar.Left - 2868) / 2.5)
  2066. If m1 > 99 Then m1 = 100
  2067. If m1 < 2 Then m1 = 0
  2068. volinf.Caption = "Balance= " + str(m1) + "% Right"
  2069. ElseIf balancebar.Left < 2870 Then
  2070. m1 = Int(-(balancebar.Left - 2880) / 2.5)
  2071. If m1 > 99 Then m1 = 100
  2072. If m1 < 2 Then m1 = 0
  2073. volinf.Caption = "Balance= " + str(m1) + "% Left"
  2074. End If
  2075. If balancebar.Left < 2880 And balancebar.Left > 2850 Then
  2076. volinf.Caption = "Balance= Centre" '+ 'Str(Int(-(balancebar.Left - 2870) / 2.5)) + "% Left"
  2077. Form1.MediaPlayer1.Balance = 0
  2078. End If
  2079.  
  2080. End If
  2081.  
  2082. 'Slider4.SetFocus
  2083. Slider4.SetFocus
  2084.  
  2085. End Sub
  2086.  
  2087. Private Sub balancebar_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2088. volinf.Visible = False
  2089. playtrack.Visible = True
  2090. End Sub
  2091.  
  2092. Public Sub cbutton_Click(Index As Integer)
  2093. On Error GoTo 1
  2094. If plst.List1.ListCount >= 1 Then plst.List1.ListIndex = currenttrack - 1
  2095. Select Case Index
  2096.  
  2097. Case 0 'back
  2098. totalreplayedtracks = totalreplayedtracks + 1
  2099.  
  2100. 'totalplayedtracks = totalplayedtracks + 1
  2101. 'previoustrack(totalplayedtracks) = previoustrack(totalplayedtracks - 1)
  2102. checkback = True
  2103. If totalreplayedtracks < totalplayedtracks Then
  2104. plst.List1.ListIndex = previoustrack(totalplayedtracks - totalreplayedtracks) - 1
  2105. If plst.List1.ListIndex <= 0 Then plst.List1.ListIndex = 0
  2106. Call plst.list1_DblClick
  2107. Else
  2108. plst.List1.ListIndex = 0
  2109. End If
  2110. checkback = False
  2111. Case 1 'next
  2112.  
  2113. Call nexttrackplay
  2114.  
  2115. Case 3 'pause
  2116. If Form1.MediaPlayer1.PlayState = mpStopped Then
  2117. 'musicsystem.cbutton(2).Enabled = True
  2118. Else
  2119. If Form1.MediaPlayer1.PlayState = mpPlaying Then
  2120. Form1.MediaPlayer1.Pause
  2121. 'musicsystem.cbutton(2).Picture = musicsystem.cbuttonE(2).Picture
  2122. 'musicsystem.cbutton(2).Enabled = True
  2123. Else
  2124. If Form1.MediaPlayer1.OpenState Then
  2125. Form1.MediaPlayer1.Play
  2126. 'musicsystem.cbutton(2).Picture = musicsystem.cbuttonD(2).Picture
  2127. 'musicsystem.cbutton(2).Enabled = False
  2128.  
  2129. End If
  2130. End If
  2131. End If
  2132. Case 2 'play
  2133. If Form1.MediaPlayer1.PlayState = mpPaused Then
  2134. Form1.MediaPlayer1.Play
  2135. ElseIf Form1.MediaPlayer1.PlayState = mpStopped Then
  2136. Form1.MediaPlayer1.CurrentPosition = 0
  2137. Form1.MediaPlayer1.Play
  2138. Imgbar.Left = Image8(1).width
  2139. ElseIf Form1.MediaPlayer1.FileName = "" Then
  2140. Call plst.list1_DblClick
  2141. End If
  2142. 'musicsystem.cbutton(4).Picture = musicsystem.cbuttonE(4).Picture
  2143. 'musicsystem.cbutton(4).Enabled = True
  2144. 'musicsystem.cbutton(5).Picture = musicsystem.cbuttonE(5).Picture
  2145. 'musicsystem.cbutton(5).Enabled = True
  2146.  
  2147. 'musicsystem.cbutton(2).Picture = musicsystem.cbuttonD(2).Picture
  2148. 'musicsystem.cbutton(3).Picture = musicsystem.cbuttonE(3).Picture
  2149. 'musicsystem.cbutton(2).Enabled = False
  2150. 'musicsystem.cbutton(6).Picture = musicsystem.cbuttonE(6).Picture
  2151. 'musicsystem.cbutton(6).Enabled = True
  2152. 'musicsystem.cbutton(3).Enabled = True
  2153. Case 4
  2154.  
  2155. If Form1.MediaPlayer1.CurrentPosition > 20 Then
  2156. Form1.MediaPlayer1.CurrentPosition = Form1.MediaPlayer1.CurrentPosition - 20
  2157. Else
  2158. Form1.MediaPlayer1.CurrentPosition = 0
  2159. End If
  2160. 'Call musicsystem.cbutton_Click(2)
  2161. If Form1.MediaPlayer1.Duration >= 1 Then Imgbar.Left = Image8(1).Left + Form1.MediaPlayer1.CurrentPosition / Form1.MediaPlayer1.Duration * (3270)
  2162.  
  2163. Case 5
  2164. If Form1.MediaPlayer1.CurrentPosition < Form1.MediaPlayer1.Duration - 20 Then
  2165. Form1.MediaPlayer1.CurrentPosition = Form1.MediaPlayer1.CurrentPosition + 20
  2166. Else
  2167. 'Form1.MediaPlayer1.Stop
  2168. 'musicsystem.cbutton(2).Enabled = True
  2169. 'musicsystem.cbutton(2).Picture = musicsystem.cbuttonE(2).Picture
  2170. 'bar.Width = Label3.Width
  2171. Form1.MediaPlayer1.CurrentPosition = Form1.MediaPlayer1.Duration - 0.5
  2172. 'musicsystem.cbutton(3).Picture = musicsystem.cbuttonD(3).Picture
  2173. 'musicsystem.cbutton(3).Enabled = False
  2174. End If
  2175. 'Call musicsystem.cbutton_Click(2)
  2176. If Form1.MediaPlayer1.Duration > 0 Then Imgbar.Left = Image8(1).Left + Form1.MediaPlayer1.CurrentPosition / Form1.MediaPlayer1.Duration * 3270
  2177.  
  2178. Case 6
  2179. If rec = True Then
  2180.  cbutton(7).Picture = cbuttonE(7).Picture
  2181.  rectime = 0
  2182.  musicsystem.rec_timer.Enabled = False
  2183.  musicsystem.reclabel.Caption = "FILE"
  2184.  musicsystem.reclabel.ForeColor = musicsystem.trackpos.ForeColor
  2185. ' MMControl2.Command = "stop"
  2186.    'Call stop_record
  2187.    'CommonDialog2.ShowSave
  2188.    Call getSaveFile
  2189.     MMControl2.FileName = SaveAudiofile
  2190. MMControl2.Command = "save"
  2191. MMControl2.FileName = ""
  2192.   MMControl2.Command = "close"
  2193.   rec_count.Left = reclabel.Left + reclabel.width + 40
  2194.  
  2195. rec = False
  2196. rec_pause = False
  2197. 'Form1.MediaPlayer1.FileName = SaveAudiofile
  2198. 'Form1.Hide
  2199. 'Form1.MediaPlayer1.Play
  2200. 'Form1.Hide
  2201.  
  2202. Else
  2203. Imgbar.Left = Image8(1).Left
  2204.  
  2205. 'Form1.MediaPlayer1.Stop
  2206. Form1.MediaPlayer1.CurrentPosition = 0.5
  2207. Form1.MediaPlayer1.Stop 'Pause
  2208. trackpos.Caption = "00:00"
  2209. 'If Form1.Visible = True Then
  2210. Form1.trackpos.Caption = trackpos.Caption
  2211.  
  2212. playtrack.Left = 1700
  2213. 'musicsystem.cbutton(2).Enabled = True
  2214. 'musicsystem.cbutton(2).Picture = musicsystem.cbuttonE(2).Picture
  2215. 'musicsystem.cbutton(3).Picture = musicsystem.cbuttonD(3).Picture
  2216. 'musicsystem.cbutton(3).Enabled = False
  2217. 'musicsystem.cbutton(6).Picture = musicsystem.cbuttonD(6).Picture
  2218. 'musicsystem.cbutton(6).Enabled = False
  2219. 'form1.MediaPlayer1.CurrentPosition = form1.MediaPlayer1.Duration - 1
  2220. 'musicsystem.cbutton(4).Picture = musicsystem.cbuttonD(4).Picture
  2221. 'musicsystem.cbutton(4).Enabled = False
  2222. 'musicsystem.cbutton(5).Picture = musicsystem.cbuttonD(5).Picture
  2223. 'musicsystem.cbutton(5).Enabled = False
  2224. End If
  2225. Case 7 'open
  2226. If rec = False Then
  2227.    rec = True
  2228.    cbutton(7).Picture = cbuttonE(7).Picture
  2229.    MMControl2.Command = "close"    ' close previously open file
  2230.    MMControl2.FileName = "new"
  2231.    MMControl2.Command = "open"
  2232.    MMControl2.Notify = True
  2233.    MMControl2_RecordClick (0)
  2234.    MMControl2.Command = "record"
  2235.    rectime = 0
  2236.    rec_pause = False
  2237.    rec_timer.Enabled = True
  2238.    musicsystem.reclabel.Caption = "REC"
  2239.    musicsystem.rec_count.Left = 630
  2240.    musicsystem.rec_count.Visible = True
  2241.    musicsystem.reclabel.Visible = True
  2242.    musicsystem.reclabel.ForeColor = musicsystem.rec_count.ForeColor
  2243. ElseIf rec_pause = False Then
  2244.    rec = True
  2245.    rec_pause = True
  2246.    cbutton(7).Picture = recpause.Picture
  2247.    rec_timer.Enabled = False
  2248.      ' MMControl2.Notify = True
  2249.    MMControl2.Command = "pause"
  2250. Else
  2251.    rec = True
  2252.    rec_pause = False
  2253.    cbutton(7).Picture = cbuttonE(7).Picture
  2254.    rec_timer.Enabled = True
  2255.    'MMControl2.Notify = True
  2256.    
  2257.    MMControl2.Command = "pause"
  2258. End If
  2259.  
  2260. rec_count.Left = reclabel.Left + reclabel.width + 40
  2261.  
  2262.  
  2263. End Select
  2264. 'MMC.Command = "close"
  2265. 1:
  2266. Dim k
  2267. 'k = SetWindowPos(Me.hwnd, -1, Me.Left / 12000 * 800, Me.Top / 9000 * 600, Me.width / 12000 * 800, Me.height / 9000 * 600, &H40)
  2268. 'rectime = 520
  2269. 'Text1.SetFocus
  2270. End Sub
  2271.  
  2272. Public Sub cbutton_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2273. cbutton(Index).Picture = musicsystem.cbuttonD(Index).Picture
  2274. End Sub
  2275.  
  2276. Public Sub cbutton_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2277. 'Dim i As Integer
  2278. 'For i = 0 To 7 Step 1
  2279. 'musicsystem.cbutton(i).Picture = musicsystem.cbuttonE(i).Picture
  2280. 'Next
  2281. 'musicsystem.cbutton(Index).Picture = musicsystem.cbuttonD(Index).Picture
  2282.  
  2283. On Error GoTo 9
  2284. text1.SetFocus
  2285. 9:
  2286. End Sub
  2287.  
  2288. Public Sub cbutton_MouseUp(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2289. cbutton(Index).Picture = musicsystem.cbuttonE(Index).Picture
  2290. End Sub
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315. Public Sub EQ_Click()
  2316. Dim k As Integer
  2317.  If plst.Top >= Me.Top + Me.height - 40 And plst.Top <= Me.Top + Me.height + 40 Then
  2318.   plst.Top = Me.Top + Me.height
  2319.   k = 1
  2320.   attach1 = True
  2321.  ElseIf Me.Top >= plst.Top + plst.height - 40 And Me.Top <= plst.Top + plst.height + 40 Then
  2322.   Me.Top = plst.Top + plst.height
  2323.    attach1 = True
  2324.   k = 2
  2325.  Else
  2326.   attach1 = False
  2327.  End If
  2328. If Me.height > 2500 Then
  2329. Me.height = 1765
  2330. Else
  2331. Me.height = 3610
  2332. If attach1 = True Then plst.Top = plst.Top - plst.height - 10
  2333. End If
  2334.  
  2335. If attach1 = True And k = 1 Then
  2336. plst.Top = Me.Top + Me.height - 10
  2337.  
  2338. plst.Show
  2339.  
  2340. End If
  2341.  
  2342. End Sub
  2343.  
  2344. Public Sub EQ_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2345. EQ.Picture = eqdown.Picture
  2346. End Sub
  2347.  
  2348. Public Sub EQ_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2349. EQ.Picture = equp.Picture
  2350.  
  2351. End Sub
  2352.  
  2353. Public Sub eqclose_Click()
  2354.  
  2355. Call EQ_Click
  2356. End Sub
  2357.  
  2358. Public Sub eqclose_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2359. eqclose.Picture = closedown.Picture
  2360.  
  2361. End Sub
  2362.  
  2363. Public Sub eqclose_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2364. eqclose.Picture = closeup.Picture
  2365.  
  2366. End Sub
  2367.  
  2368. Public Sub eqe_Click()
  2369. Call EQ_Click
  2370. 'If frmeq.Visible = True Then eqe.Checked = True
  2371. 'If frmeq.Visible = False Then eqe.Checked = False
  2372.  
  2373. End Sub
  2374.  
  2375.  
  2376. Private Sub eqf_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2377. Dim m As POINTAPI
  2378. Dim k
  2379. If Button = 1 Then
  2380. k = GetCursorPos(m)
  2381. initialypos = m.Y
  2382. End If
  2383. eqf(Index).Picture = eqfdown.Picture
  2384.  
  2385. End Sub
  2386.  
  2387. Private Sub eqf_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2388. Dim m As POINTAPI
  2389. Dim k
  2390. k = GetCursorPos(m)
  2391. If Button = 1 Then
  2392. If Abs(m.Y - initialypos) >= 1 Then
  2393. eqf(Index).Top = eqf(Index).Top + (m.Y - initialypos) * 12000 / 800
  2394. initialypos = m.Y
  2395. End If
  2396. If eqf(Index).Top >= 3060 Then eqf(Index).Top = 3060
  2397. If eqf(Index).Top <= 2310 Then eqf(Index).Top = 2310
  2398. 'Image12(Index).height = -(590 - eqf(Index).Top) + 90
  2399. End If
  2400. If Index = 10 And Button = 1 Then
  2401.  If playspeed <> (eqf(10).Top - 2450) / 700# - 0.4 Then
  2402.   playspeed = (eqf(10).Top - 2450) / 700# - 0.4
  2403.   Form1.MediaPlayer1.Rate = 1 - playspeed
  2404.  End If
  2405. End If
  2406. 'Dim i As Integer
  2407. 'Dim l1, l2 As Integer
  2408. 'Dim ind As Integer
  2409. 'Line (800, 2000)-(3700, 2200), RGB(0, 0, 0), BF
  2410. 'Line8.Visible = False
  2411. 'Line8.Visible = True
  2412.  
  2413. 'For i = 1300 To 2970 Step 20
  2414.  
  2415. 'k = k + 1
  2416.  
  2417. 'l1 = 200 * (eqf(ind).Top - 570) / 700
  2418. 'l2 = 200 * (eqf(ind + 1).Top - 570) / 700
  2419. 'If i > eqf(ind).Left Then
  2420. 'Line (i, 2000 + l1)-(i + 270, 2000 + l2), RGB((200 - l1) + 50, l1, 0)
  2421.  
  2422. 'ind = ind + 1
  2423. 'End If
  2424. 'Next
  2425.  
  2426. End Sub
  2427.  
  2428. Private Sub eqf_MouseUp(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  2429. eqf(Index).Picture = eqfup.Picture
  2430.  
  2431. End Sub
  2432.  
  2433. Private Sub eqon_Click()
  2434. If eqon.Picture = eqonup.Picture Then
  2435. allowrate = False
  2436. eqf(10).Enabled = False
  2437. Form1.MediaPlayer1.Rate = 1
  2438. eqon.Picture = eqoffup.Picture
  2439. Else
  2440. eqon.Picture = eqonup.Picture
  2441. eqf(10).Enabled = True
  2442. Form1.MediaPlayer1.Rate = 1 - playspeed
  2443. allowrate = True
  2444. End If
  2445. End Sub
  2446.  
  2447. Private Sub eqon_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2448. If eqon.Picture = eqonup.Picture Then
  2449. eqon.Picture = eqondown.Picture
  2450. Else
  2451. eqon.Picture = eqoffdown.Picture
  2452. End If
  2453. End Sub
  2454.  
  2455.  
  2456. Private Sub eqon_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2457. If eqon.Picture = eqondown.Picture Then
  2458. eqon.Picture = eqonup.Picture
  2459. Else
  2460. eqon.Picture = eqoffup.Picture
  2461. End If
  2462.  
  2463. End Sub
  2464.  
  2465. Private Sub auto_Click()
  2466. If auto.Picture = autoonup.Picture Then
  2467. auto.Picture = autooffup.Picture
  2468. Else
  2469. auto.Picture = autoonup.Picture
  2470. End If
  2471. Form1.MediaPlayer1.Rate = 1
  2472. playspeed = 0
  2473. eqf(10).Top = 2660
  2474. End Sub
  2475.  
  2476. Private Sub auto_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2477. If auto.Picture = autoonup.Picture Then
  2478. auto.Picture = autoondown.Picture
  2479. Else
  2480. auto.Picture = autooffdown.Picture
  2481. End If
  2482. End Sub
  2483.  
  2484.  
  2485. Private Sub auto_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2486. If auto.Picture = autoondown.Picture Then
  2487. auto.Picture = autoonup.Picture
  2488. Else
  2489. auto.Picture = autooffup.Picture
  2490. End If
  2491. End Sub
  2492.  
  2493.  
  2494. Private Sub Image12_Click(Index As Integer)
  2495. End Sub
  2496.  
  2497. Private Sub Form_Paint()
  2498. Static k1, k2, a, b
  2499. Me.Refresh
  2500. 'DoEvents
  2501. If musicsystem.WindowState = 1 Then
  2502. 'Me.Caption = "Mahesh's Mediaplayer"
  2503. If attach3 = False Then plst.Hide
  2504. '
  2505. Else 'If 'Me.WindowState = 0 Then
  2506.  
  2507. If mini = True Then plst.Show 'eql.WindowState = 2
  2508. 'Call Image22_MouseDown(1, 0, 50, 59)
  2509. End If
  2510. End Sub
  2511.  
  2512. Private Sub Image18_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2513. moovemain = False
  2514. If plst.Left >= Me.Left + Me.width - 40 And plst.Left <= Me.Left + Me.width + 40 Then
  2515.  plst.Left = Me.Left + Me.width
  2516.  attach1 = True
  2517.  ElseIf Me.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left + plst.width + 40 Then
  2518.   Me.Left = plst.Left + plst.width
  2519.  attach1 = True
  2520. ElseIf plst.Top >= Me.Top + Me.height - 40 And plst.Top <= Me.Top + Me.height + 40 Then
  2521.  plst.Top = Me.Top + Me.height
  2522.  attach1 = True
  2523.  ElseIf Me.Top >= plst.Top + plst.height - 40 And Me.Top <= plst.Top + plst.height + 40 Then
  2524.  Me.Top = plst.Top + plst.height
  2525.  attach1 = True
  2526.  
  2527. 'plst.Left = Me.Left + Me.width
  2528. 'attach1 = True
  2529.  
  2530. Else
  2531. attach1 = False
  2532. End If
  2533. End Sub
  2534.  
  2535. Private Sub Image22_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2536. moovemain = False
  2537. If plst.Left >= Me.Left + Me.width - 40 And plst.Left <= Me.Left + Me.width + 40 Then
  2538.  plst.Left = Me.Left + Me.width
  2539.  attach1 = True
  2540.  ElseIf Me.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left + plst.width + 40 Then
  2541.   Me.Left = plst.Left + plst.width
  2542.  attach1 = True
  2543. ElseIf plst.Top >= Me.Top + Me.height - 40 And plst.Top <= Me.Top + Me.height + 40 Then
  2544.  plst.Top = Me.Top + Me.height
  2545.  attach1 = True
  2546.  ElseIf Me.Top >= plst.Top + plst.height - 40 And Me.Top <= plst.Top + plst.height + 40 Then
  2547.  Me.Top = plst.Top + plst.height
  2548.  attach1 = True
  2549.  
  2550. 'plst.Left = Me.Left + Me.width
  2551. 'attach1 = True
  2552.  
  2553. Else
  2554. attach1 = False
  2555. End If
  2556. End Sub
  2557.  
  2558. Private Sub Image24_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2559. Dim m As POINTAPI
  2560. Dim k
  2561. moovemain = True
  2562. k = GetCursorPos(m)
  2563. initialypos = m.Y - Me.Top / 12000 * 800
  2564.  
  2565. initialxpos = m.X - Me.Left / 12000 * 800
  2566. If plst.Left >= Me.Left + Me.width - 40 And plst.Left <= Me.Left + Me.width + 40 Then
  2567.  plst.Left = Me.Left + Me.width
  2568.  attach1 = True
  2569.  ElseIf Me.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left + plst.width + 40 Then
  2570.   Me.Left = plst.Left + plst.width
  2571.  attach1 = True
  2572. ElseIf plst.Top >= Me.Top + Me.height - 40 And plst.Top <= Me.Top + Me.height + 40 Then
  2573.  plst.Top = Me.Top + Me.height
  2574.  attach1 = True
  2575.  ElseIf Me.Top >= plst.Top + plst.height - 40 And Me.Top <= plst.Top + plst.height + 40 Then
  2576.  Me.Top = plst.Top + plst.height
  2577.  attach1 = True
  2578.  
  2579. 'plst.Left = Me.Left + Me.width
  2580. 'attach1 = True
  2581.  
  2582. Else
  2583. attach1 = False
  2584. End If
  2585. If Form1.Left >= Me.Left + Me.width - 40 And Form1.Left <= Me.Left + Me.width + 40 Then
  2586.  Form1.Left = Me.Left + Me.width
  2587.  attach2 = True
  2588.  ElseIf Me.Left >= Form1.Left + Form1.width - 40 And Me.Left <= Form1.Left + Form1.width + 40 Then
  2589.   Me.Left = Form1.Left + Form1.width
  2590.  attach2 = True
  2591. ElseIf Form1.Top >= Me.Top + Me.height - 40 And Form1.Top <= Me.Top + Me.height + 40 Then
  2592.  Form1.Top = Me.Top + Me.height
  2593.  attach2 = True
  2594.  ElseIf Me.Top >= Form1.Top + Form1.height - 40 And Me.Top <= Form1.Top + Form1.height + 40 Then
  2595.  Me.Top = Form1.Top + Form1.height
  2596.  attach2 = True
  2597.  
  2598. 'form1.Left = Me.Left + Me.width
  2599. 'attach2 = True
  2600.  
  2601. Else
  2602. attach2 = False
  2603. End If
  2604. initialpx = m.X - plst.Left / 12000 * 800
  2605. initialpy = m.Y - plst.Top / 12000 * 800
  2606. initialfx = m.X - Form1.Left / 12000 * 800
  2607. initialfy = m.Y - Form1.Top / 12000 * 800
  2608. If attach3 = True And attach2 = True Then
  2609. attach1 = True
  2610. attach3 = False
  2611. End If
  2612. End Sub
  2613.  
  2614. Private Sub Image24_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2615. Dim k
  2616. Dim m As POINTAPI
  2617. Dim width As Long
  2618. Dim height As Long
  2619. text1.SetFocus
  2620. k = GetCursorPos(m)
  2621. 'm.X = (X - Me.Left) * 277 / 4110
  2622. 'm.x = m.x - initialxpos
  2623. 'm.y = m.y - initialypos
  2624. If moovemain = True Then
  2625. width = Me.width / 12000 * 800
  2626. height = Me.height / 12000 * 800
  2627. If Button = 1 Then
  2628.  
  2629. If (((attach1 = False) Or (plst.Visible = False)) And ((attach2 = False) Or (Form1.Visible = False))) Then
  2630. Call Drag(Me)
  2631.  
  2632. Else
  2633. k = MoveWindow(Me.hwnd, m.X - initialxpos, m.Y - initialypos, width, height, 1)
  2634. If attach2 = True Then k = MoveWindow(Form1.hwnd, m.X - initialfx, m.Y - initialfy, Form1.width / 12000 * 800, Form1.height / 12000 * 800, 1)
  2635. If attach1 = True Then k = MoveWindow(plst.hwnd, m.X - initialpx, m.Y - initialpy, plst.width / 12000 * 800, plst.height / 12000 * 800, 1)
  2636. End If
  2637. End If
  2638. End If
  2639. End Sub
  2640.  
  2641. Private Sub Image24_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2642. If plst.Left >= Me.Left + Me.width - 40 And plst.Left <= Me.Left + Me.width + 40 Then
  2643.  plst.Left = Me.Left + Me.width
  2644.  attach1 = True
  2645.  ElseIf Me.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left + plst.width + 40 Then
  2646.   Me.Left = plst.Left + plst.width
  2647.  attach1 = True
  2648. ElseIf plst.Top >= Me.Top + Me.height - 40 And plst.Top <= Me.Top + Me.height + 40 Then
  2649.  plst.Top = Me.Top + Me.height
  2650.  attach1 = True
  2651.  ElseIf Me.Top >= plst.Top + plst.height - 40 And Me.Top <= plst.Top + plst.height + 40 Then
  2652.  Me.Top = plst.Top + plst.height
  2653.  attach1 = True
  2654.  
  2655. 'plst.Left = Me.Left + Me.width
  2656. 'attach1 = True
  2657.  
  2658. Else
  2659. attach1 = False
  2660. End If
  2661. End Sub
  2662.  
  2663. Private Sub MMControl2_RecordClick(Cancel As Integer)
  2664. Dim parms As MCI_WAVE_SET_PARMS
  2665.    Dim rc As Long
  2666.    Dim Msg As String * 300
  2667.    
  2668.    ' Set the record/playback device for mmcontrol2
  2669.    parms.wInput = Combo2.ListIndex
  2670.    parms.wOutput = Combo2.ListIndex
  2671.    rc = mciSendCommand(MMControl2.DEVICEID, _
  2672.                         MCI_SET, _
  2673.                         MCI_WAVE_INPUT Or MCI_WAVE_OUTPUT, _
  2674.                         parms)
  2675.                         
  2676.    If (rc <> NO_ERROR) Then
  2677.       mciGetErrorString rc, Msg, Len(Msg)
  2678.      ' MsgBox msg
  2679.    End If
  2680.    
  2681.    ' Use control panel record format if option is checked
  2682.    If (Check1.Value = 1) Then
  2683.       Dim wf As WAVEFORMAT
  2684.       If (GetDefaultWaveFormat(wf) = False) Then
  2685.        '/  MsgBox "Couldn't get the default format"
  2686.       Else
  2687.          parms.nAvgBytesPerSec = wf.nAvgBytesPerSec
  2688.          parms.nBlockAlign = wf.nBlockAlign
  2689.          parms.nChannels = wf.nChannels
  2690.          parms.nSamplesPerSec = wf.nSamplesPerSec
  2691.          parms.wBitsPerSample = wf.wBitsPerSample
  2692.          parms.wFormatTag = wf.wFormatTag
  2693.          rc = mciSendCommand(MMControl2.DEVICEID, _
  2694.                               MCI_SET, _
  2695.                               MCI_WAVE_SET_SAMPLESPERSEC Or _
  2696.                               MCI_WAVE_SET_AVGBYTESPERSEC Or _
  2697.                               MCI_WAVE_SET_BITSPERSAMPLE Or _
  2698.                               MCI_WAVE_SET_BLOCKALIGN Or _
  2699.                               MCI_WAVE_SET_CHANNELS Or _
  2700.                               MCI_WAVE_SET_FORMATTAG, _
  2701.                               parms)
  2702.                               
  2703.          If (rc <> NO_ERROR) Then
  2704.             mciGetErrorString rc, Msg, Len(Msg)
  2705.             MsgBox Msg
  2706.          End If
  2707.       End If
  2708.    End If
  2709. End Sub
  2710.  
  2711.  
  2712. Private Sub preset_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2713. preset.Picture = presetdown.Picture
  2714. End Sub
  2715.  
  2716.  
  2717. Private Sub preset_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2718. preset.Picture = presetup.Picture
  2719.  
  2720. End Sub
  2721.  
  2722. Public Sub exe_Click()
  2723. Call meclose_Click
  2724. End Sub
  2725.  
  2726. Public Sub fast_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  2727.  text1.SetFocus
  2728.  
  2729. End Sub
  2730.  
  2731.  
  2732.  
  2733. Private Sub Form_Activate()
  2734. On Error GoTo 1
  2735. cmo = True
  2736. plst.List1.Selected(plst.List1.ListIndex) = False
  2737. plst.Scroll.Top = 90
  2738. plst.Frame1(0).Visible = False
  2739. plst.Frame1(1).Visible = False
  2740. Slider3.Value = vol.WaveLevel / 3275 + 1
  2741. volumebar.Left = 1550 + Slider3.Value * 40
  2742. volinf.Caption = "Volume" + str((Slider3.Value - 1) * 5) + " %" '+ Form1.MediaPlayer1.volume) / 25))) + " %"
  2743.  
  2744. 'form1.scroll.top
  2745. 1:
  2746. End Sub
  2747. Public Sub SetWindowStyle(ByVal hwnd As Long, ByVal extended_style As Boolean, ByVal style_value As Long, ByVal new_value As Boolean, ByVal brefresh As Boolean)
  2748.    
  2749.    Dim style_type As Long
  2750.    Dim style As Long
  2751.    
  2752.    If extended_style Then
  2753.       style_type = GWL_EXSTYLE
  2754.    Else
  2755.       style_type = GWL_STYLE
  2756.    End If
  2757.    
  2758.    ' Get the current style.
  2759.    style = GetWindowLong(hwnd, style_type)
  2760.    
  2761.    ' Add or remove the indicated value.
  2762.    If new_value Then
  2763.       style = style Or style_value
  2764.    Else
  2765.       style = style And Not style_value
  2766.    End If
  2767.    
  2768.    ' Hide Window if Changing ShowInTaskBar
  2769.    If brefresh Then
  2770.       ShowWindow hwnd, 5
  2771.    End If
  2772.    
  2773.    ' Set the style.
  2774.    SetWindowLong hwnd, style_type, style
  2775.    
  2776.    ' Show Window if Changing ShowInTaskBar
  2777.    If brefresh Then
  2778.       ShowWindow hwnd, 0
  2779.    End If
  2780.    
  2781.    ' Make the window redraw.
  2782.    
  2783. End Sub
  2784. Private Sub Timer6_Timer()
  2785. Dim str, str1 As String
  2786. If playtrack.Caption = "" Then playtrack.Caption = ". Mahesh's Mediaplayer . "
  2787.    ' str = Mid$(frmMirror.Caption, 2, Len(frmMirror.Caption))
  2788.    ' frmMirror.Caption = str & Mid$(frmMirror.Caption, 1, 1)
  2789.     str1 = Mid$(playtrack.Caption, 2, Len(playtrack))
  2790.     playtrack.Caption = str1 & Mid$(playtrack.Caption, 1, 1)
  2791.     frmMirror.Caption = playtrack.Caption
  2792. End Sub
  2793. Private Function GetDefaultWaveFormat(format As WAVEFORMAT) As Boolean
  2794. '////////////////////////////////////////////////////////////////////////////////////
  2795. ' This user-defined function retrieves the default wave format from the registry.
  2796. '////////////////////////////////////////////////////////////////////////////////////
  2797.    Dim rc As Long
  2798.    Dim key1 As Long
  2799.    Dim key2 As Long
  2800.    Dim formatName As String * 50
  2801.    Dim length As Long
  2802.    
  2803.    ' Initialize return code
  2804.    GetDefaultWaveFormat = False
  2805.     
  2806.    rc = RegOpenKeyEx(HKEY_CURRENT_USER, _
  2807.                      "Software\Microsoft\Multimedia\Audio", _
  2808.                      0, _
  2809.                      KEY_READ, _
  2810.                      key1)
  2811.    If (rc <> 0) Then
  2812.       Exit Function
  2813.    End If
  2814.    
  2815.    length = Len(formatName)
  2816.    rc = RegQueryValueString(key1, "DefaultFormat", 0, 0, formatName, length)
  2817.    
  2818.    If (NO_ERROR = rc) Then
  2819.       rc = RegOpenKeyEx(HKEY_CURRENT_USER, _
  2820.                         "Software\Microsoft\Multimedia\Audio\WaveFormats", _
  2821.                         0, _
  2822.                         KEY_READ, _
  2823.                         key2)
  2824.                         
  2825.       If (NO_ERROR = rc) Then
  2826.          length = Len(format)
  2827.          rc = RegQueryValueEx(key2, _
  2828.                               formatName, _
  2829.                               0, _
  2830.                               0, _
  2831.                               format, _
  2832.                               length)
  2833.          RegCloseKey key2
  2834.          
  2835.          If (NO_ERROR = rc) Then
  2836.             GetDefaultWaveFormat = True
  2837.          End If
  2838.       End If
  2839.    End If
  2840.    RegCloseKey key1
  2841. End Function
  2842.  
  2843. Public Sub Form_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
  2844. 'Source.Left = X
  2845. End Sub
  2846.  
  2847. Private Sub Form_GotFocus()
  2848. On Error GoTo 9
  2849. 'Slider1.SetFocus
  2850. 'Label15.ForeColor = &H80FF80    'RGB(20te Subntr       G8_Mo
  2851. End Sub
  2852.  
  2853.  
  2854. Privat(20teeonup.P1 \fE * 801 A            MCI_WAVE_SET_AVGBYT      MCI_WAVE
  2855.  
  2856. Publiccsy Integericcsy Integer     MCI_WA6track.Caption, 1, 1)
  2857.     f01 A                  0, _
  2858.     Y As Single, State As Integer)
  2859. 'Sou"VE_SEm_AVGBYT    d fun As Si(frm A                  0, _
  2860.     Y As Single, State As Integer)
  2861. 'Sou"VE_SEm_AVGBYT    d fun As Si(frm A                 /////v
  2862. Me. True
  2863.   ist
  2864. X 2ption, 1, 1) = ght + 40 Then
  2865.  plst.Top = Me.Top + Me.height
  2866.  attach1 = True
  2867.  ElseIf Me.Top >= plst.Top + plst.height - 40 AHMe.Top + M             02.Ton, 1,      t.Left +nd Su   /////v
  2868. Me. True
  2869.  t =5gformatName, _
  2870.                               0, _
  2871.                               0, _
  2872.        _s240 AHMe.Top + M             02.Ton, 1,   1,      t.Left +nd Su   /////v
  2873. Me. True
  2874.  t =5gformatName, _
  2875.                               0, _
  2876.  i      p + p    02.Ton, 1,      t.Left 40 Thoe            0, _
  2877.     Y As Single, Stataptiurce As
  2878. ' ) = True
  2879.  ElseIf.Wavb le)
  2880. 'bar.Md(e22_Mo    t.LeftIf.Wavbpo      ror GoTo yVal sEAD, _
  2881.  Mo    t.LeftIf.l$ves thC.width - 40 And pl                       0, _
  2882.          d If 2ype = GWL  Me.Top +ileNassm the regiSves thC.width  teRegKe   _
  2883.   Ta 6_Time
  2884.     iaPlay     regiSvndex)Ed Sub eim klMoAihen
  2885. Form1.MediaPlayer1.Play
  2886. ElseIf Form1.MediaPlayer1.PlayState = mpStopped Then
  2887. Form1.MediaPlayer1.CurrentPosition = 0
  2888. Form1.MediaPlayer1.Play
  2889. Imgbar.Left = ImplsttheRer1.Plt
  2890.        eRegKe   _
  2891.   Ta 6_Time
  2892.     iaPlay  f    iaPlay  f   4Ke  _
  2893.  Mo    t.LeftIf.l$ves thC.width - 40 And pl       \fE * 8idtouseUp                                       s t1 = True
  2894.  ElseIf  frmCloseKey kan't D.To$  eR_
  2895.   Ta 6
  2896.  ElseIf  frmCloseKey ka
  2897.    
  2898. _
  2899. 2     p strirmCloseKey ka
  2900.    
  2901. _
  2902. otrol2.DEVICEID, _
  2903.           E       3eKey ka
  2904.    
  2905. _
  2906. otrol2.9. Elsef    hesh's Mediaplayer".a
  2907.   a_+ Me.width - 40 teIf  = ImplsttheRer1.Plt
  2908.        eRegKe      length = Len(formatpv1m1 = 0
  2909. volinf.Caption = "Balance= " + att
  2910.    
  2911. _
  2912. otrol2.9. Elsef n(formatptrol2.9. E
  2913.     opped TToptrol2.9. Eatpm1.MediaPlayert -s
  2914. _
  2915. otrol2.DEVICEID, _
  2916.           Eip                                 rh Ma"
  2917. _
  2918. otrol,em.'Source.Leu 40 teIf I     If (NO_ERROR = rc) Then
  2919.    = True
  2920.  ElseIf  frmClThen
  2921.    =_
  2922.  Mo    t.LeftIf.l$ves thC.wAs I:
  2923.     f01 A   frmClThen 
  2924. _o    t2     p strirmClofIf (oI    f01irmClofIL
  2925.     f01 A   seIf  frmCloseKey kan't D.To$  eR_
  2926.   Ta 6
  2927.  ElseIf.l$voI    f D.T
  2928. _
  2929. 2     ph5IhuseUp .l$ves thC.w  _
  2930.   T    eRegKe      l3Duratio(sram
  2931. e.Left / 12000 * 800
  2932. If plst.Left >= Me.Left + Me.widm
  2933. e1800"ivatee, _
  2934.  9    d f3system.uion =f3system.uion =f3systemS        0, "e.Left / 12000"lon.Picture =              Y As Si d
  2935. Foron.Picture =              Y As Si d
  2936. Foron.Picture=    MX(oI    f01irmClofIL
  2937. 00"lAs Si d
  2938. Fortion, 1, 1) = ght + 40 Then
  2939. "    uttonthC.w + plst        al$ves thC.        _ TrrrrrrrrC.   > plst        al$T6Wrol2.DEVI'MouseDowWro Set R  T   m(NO_ERRRhen
  2940. "    uttonthC.w > plst i6st     
  2941.      P0"lAs Si d
  2942. Fortion, 1, 1) = ght + 40 Then
  2943. "    uttonthC.w + plst        al$ves thC.       2    'th + 40ion = sonthC.w >o Set R  T)laytrack.Caption
  2944. End   lID, _
  2945.           Eip                             sicsy    EiiTopt + 40 Th0ion = sonthC.w rmatName, leftI4rrrrrrrC.  n = sonth+n
  2946. "    uttonthC.w > plst i6snthtI4rr2ight - Shiftl2.9. Eatpm    er)
  2947. t
  2948.   nt - Shiftl2.9. Eatpm    er Mo    //v
  2949. Me. True
  2950.  t =5gformatName, _
  2951.                               0, _
  2952.  i      p + p    02.Ton, 1,      t.Left 40 Thoe            0, _
  2953.     Y As Single, Stataptiurce As
  2954. ' ) = True
  2955.  ElseIf.Wavb le)
  2956. 'bar.Md(e22_Mo    t.LeftIf.Wavbpo      ror GoTo yVal sEAD,lEat+ 40 (tpmoeonup.P1 \fE * 801 Ami,eiNSub
  2957.   2smoerb le)
  2958. 'bar=N le)svf01 A ("d
  2959. 'bar.Md(e22_Mo    t.LeftIf.Wavbpo      ror GoTo yVal sEAD,lEat+ 40 (tpmoeonupnd AsThelID, _
  2960.  i0 AHMe=0 (tpmc6e, Stataptiurce As
  2961. ' ) = True
  2962.  ElseIf.le)
  2963. 'bar.(2 rma0, _
  2964.     Y As Singl
  2965. e1800"belar.Left put = lse e.Left + Me.width + 40ef n(formatptrol2.9. E
  2966.    + Meeeeeeeeeeedar.(2avbpo     th + 40ef n(f0"b ( + 40    t.Left     al$T6Wrol2.DEVI'MouseDowWro Set R= str1 & Mid$(playtrack.Capti(,lEat+ 40 (tpmoeonupnd Asan40  moeonupnd wmpmoeing * 50
  2967.    Dim leO     tn
  2968. "    utEng * 5f
  2969.  ol2.DEVI'MouseDowWro Set ctFocu * 5f
  2970.  ol2.DEVI'MouseDowWro Set ctFocu * 5f
  2971.  ol2.DEVI'MouseDowWro Set ctFoc&E1.Cu
  2972. t
  2973.   non_Mouon_Mouon_Mouon_Mt:emain =(playtrack.Capti Ta 6_TimeEng * 5f
  2974.  ol2.DEVI'MouseDow)ger)
  2975. O                    0, _
  2976.  i      p + p    02.Ton, 1,      t.Left 40 Thoe            0, _
  2977.     Y As Singlns As 'cvbpo  e       ystem.cbyt 40 Thoe            0   yste Dim leO  ttonD(Inde po up.e   0   Set R,em.'Sec.lse
  2978. puon_Mon
  2979. End   lID, _ eRs
  2980.  i     er)lAs Si d
  2981. FortionIlD, 0) / 700# - 0.4 Then
  2982.   playspA XeRegKe   _
  2983.   Ta 6_Tortionp.Top + plst.height - 40the regiSves tayspA)5f
  2984.  ol2.DEVI'MouseDow)ger)
  2985. O                    0, _
  2986.  i     Si d
  2987. Fortglns As 'cvbpo  e       ystem.cbyt 40 Thoe            0   yste Dim leO  ttonD(In=le, S = TrR'cvbpo  O kan't D.To$  eR_
  2988.   Ta 6
  2989.  Else mmcontrol2
  2990. :0"ie,ht -00*hAC6
  2991.  Else ean't \
  2992. End If
  2993. En ttonD(In=le, S = TrR'cvbpo  O kan't D.To$  eR_
  2994.   Ta 6
  2995.  Else mmcontrol2
  2996. :0"l"e.Lefffffffffffffffffff(th +  Rde Or style_value
  2997.    Else
  2998.       style = style And Not spo      ror GoTo yVal sEAD,lEat+ 40 (tpmoeonupnd AsThelID, _
  2999.  i0 AHMe=0 (tpmc6e, Stataptiurce As
  3000. ' no$  eR_
  3001. _
  3002. 'bar=N le)svfStataptiurce As
  3003. ' no$  eR_
  3004. _
  3005. 'bar=N 1Sub EQ_MouseDown(Button As Integer, Shift As Integer, et ctc_
  3006.  Mo    C =5gforrC.thC.    X\
  3007. End If
  3008. En ttonD(In=le, S = TrR'cvbpo  O kan't D.To$  eR_
  3009.   Ta 6
  3010.  Else mmcontrol2
  3011. :4 vat(2EVI'MouseDowWro Set i0 4End IIIIIIIIIIIIS'MouseDowWro SL = Gs mmco0 The VI'Mou
  3012. 'musicsyste.Left + pCape Or style_IIIIIS'MouseDowWro pCapMt:emain = stylyle_Isonth+As SingapMt:emain nth+As SingapMt:emain nt0# - 0oni = Tr0>owWro S1M&, _
  3013.  en(fpub
  3014.  
  3015. :emain nth+As SingapMt:emain nt0# - 0oni = Tr0>owWro S1M&, _
  3016.  en(fpub
  3017.  
  3018. :emain nth+As SingapMt:emain nsAe1M&, _
  3019.  
  3020. Pr(   0ght - Shiftl2.9. Eatpm    eEh+As SingaV
  3021.     iaPl nth+As S\S\Snf.Captii"n(BuCape Or stiub'MouseDowWro Set ctFoc&E1.Cu
  3022. t
  3023.   non_Mouon_Mouonlrt -s
  3024. _
  3025. otrol2.DEVIu
  3026. t
  3027.   non_Mouon_Ao yVahen
  3028. "    uttontht
  3029. X 2pSshm    Mouon_20Shiftl2.9.      /////v
  3030. Me. True
  3031. 1, 1)5e
  3032. 1, 1)5e
  3033. 1ftl2.90# - 0oni = Tr0>owWro S1M&, _
  3034.  en(fpub
  3035.  
  3036. :emain nth+As SingapMt:emain nt0# - 0ons, _a
  3037. :4 vat(2EVIeman_Mouon_Ao yVahen
  3038. "   Singntht
  3039. i0# - 0ons, _a
  3040. :n_AD_an't D.To$  eR_
  3041.   Ta 6
  3042.  Else mmcontro'Source.Leu 40 te=
  3043. Pr(   0ght - Sc'nn
  3044.    parms.wOutput = Combo2.ListIndex
  3045.    rc = mciSendCommand(MMControl2.DEVICEID, _
  3046.                         MCI_SET, _
  3047.                         MCI_en
  3048.  = Me.Left + _
  3049. otrol2.DE     (oni = Trol2.Dth A'.uion =f3system.stIndex
  3050.    rc = mciSend uBn n_Ao2 5f
  3051.  ol2.DEVI'MouseDow)ger).l$voI    f D.T
  3052. _
  3053. 2     ph5IhuseUp .l$ves thC.w d2.DEVI'MouseDoion =f3syste 'n  rc = mciSe= 1 Th = C3T///p .l$ves thC.w d2.DEVI'MouseDoion =f3syste 'n  rc = mciSe= 1 Th = C3T///p .l$vesXance= " + att
  3054.    
  3055. _
  3056. otrol2u0on2, Me.Left / 1200nrcec = mciSe= 'IiE "rh Maciurce As
  3057. ' ocw2ight Maciurce As
  3058. ' ocw2ight Maciurc uttonthC= rc) Then
  3059.       rc = RegOpenKeyEx(HKEY_CURRENT_USER, _
  3060.                  h+DE     (oni = TrKeyt.Topimer.Enabled = True
  3061.    (oni = TrKeyt.Topimer.Ene-0t-ft AsT
  3062. _40the regiSveslst.Left = Me.Left + Me.widt 40 Thoe            0   yste Dim leO yn =f3system"5l = 0
  3063. Form1.Leu 4m p2
  3064.    (o= 0
  3065. Foue
  3066.  'o S1),As
  3067.  
  3068. Former.EneR= str1 & MidiSe= 1 Th = C3T///u+e Me.wii_f   4Ke  _a thC.wD(Inde pS1),As
  3069.  
  3070. Former.EneR= str1 & MidiSe= 1 Th = C3T///u+e Me.wii_f   4Ke  _a thC.wD(Inde pS1),As
  3071.  
  3072. Former.EneR= str1
  3073. Me.lis= C3T///u+e Me.wii_f   4Ke  _s+_f   .LefEnabled = True
  3074. Case 4
  3075.  
  3076. If Form1.MediaPlayer1.CurrentPosition > 20 Then
  3077. Form1.MediaPlayer1.CurrentPosition = Fyer1.C  4Ke  _s+_Position Ivns
  3078. ' ) = True
  3079.  ElseIf.le)
  3080. 'bapped TToptre= 1 Th = C3T///u+e Me          U3d TTo$  eR_
  3081.   Ta 6
  3082.  Else
  3083. plst.Frame1
  3084.   led = True
  3085.  EiQi_f   4Ke 'MouseDowWro Set i0 oalue4et \
  3086. -sR, _
  3087.     _6e, Stataplar.Le
  3088. Form1 \
  3089. -sR, .Capti(_0, _
  3090.     lse
  3091.  led = True True
  3092.  ElseIf.le)
  3093. 'bapped 6e, Stataptiurce As
  3094. ' no$  eseDowLong If (NO_ERROR = rc) Then
  3095.                 eIf.Wavb le)hen
  3096.                 eIf.Wavb le)hen
  3097.                 eIf.Wavb le)hen
  3098.                 eIf.WaG)ped 6e, Statap4De.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left + plst.width + 40doion Statap4De.Left >= plop + Me.heigs= rc) Then
  3099. e.heigs= rc) Then
  3100. e.heigs= rc) Then
  3101. et >= Me.Le= TrR'h0aStatap4De.Left >= plst.Left + plst.width - 40 And Me.Left <= plst.Left r%.Lefffffffffffffffffff(th ffffffffffftach2 = Fav00
  3102. 'l2 = 20P >= plst.LempMouonlrt -s
  3103. _e - 14ormatCloseK. ThenFrame1(0).Visible = False
  3104. plst.Frame1(1).Visible = False
  3105. Slider3.Value = vol.WaveLevel / 3275 + 1
  3106. vol4Wed _Mouo
  3107.  ol2o$  eR_
  3108. .mmcon f/ITrR'As MCI_W e0i= Fal50i
  3109. Forc
  3110.  ol50iion SR att.Fra        eIf6e, Stataplar.Le
  3111. Form1 \
  3112. -sR, .Capti(_0, _
  3113.    str1
  3114. Msetem.cbutediaPlayer1.CurrentPoar.Le
  3115. Form     t.Left 40 Thozstr1
  3116. Msetem.cbutop, .sh's          sg)
  3117. dth e Subntrtrtrtrtn ntseIf  frm11C- 0lue
  3118.    End If
  3119.    
  3120.    'mn
  3121. e.h   str1
  3122. ),As
  3123.  
  3124. Fom.cbutcmusicsystn
  3125. ionI8A1.Leu 40 taption
  3126. En.
  3127. Msete   4Ke  _sm - h+As Singue
  3128.  ElseIf.le)
  3129. 'bapped 6e, Stataptiurce As
  3130. ' no$  ese, Statco      t =5gformatName, _
  3131.                         Ts    pped 6 plst tapt n
  3132. En.
  3133. Msete   4Ke  _sm - h+As Singue
  3134.  ElseIf.le)
  3135. 'bapped 6e, Stataptiurc = Rte       w15Ind If
  3136. 'Call mtr1o2- h+As SA2 Function
  3137.  
  3138. Public Sub Form_DragOver(
  3139.  ElseeDowWro pCapMI     plst  DO_ERROR = rc) Then
  3140.                 eIf.Wavb le)n_Mouonlrt -S3n_Mof3system.uion =f3systemS        0, "ee   4Ke  _n nt0# - 0r 0# yste S = TrR'cvbpo  1CI_W e0i= Fal50i    plst  DO_ERROR =vbpo  1CI_r3       0, "ee   4Ki DO_ERROR ' ol2u0 nlrt -S3n_Mofn.cPcPcP Ts    ppedlo5   0, "ee rus
  3141. e.hvAen
  3142. "   SivAe"    uttontovAe" lo5 (    f6e, Sni = TrBcp      fouonlrt -po  1CI_W e0i= Fal50i    plst  DO_ERROR =vbpo  1CI_r3       0, "ee   4Ki DO_ERROR ' ol2u0 nlrt -S3n_Mofn.50i  0   rrrr.Frame1(o3/    o  ElsMofurce As
  3143. ' no$  eR_
  3144. _
  3145. rBcp   no  ElsR =vbeR_
  3146. _
  3147. rBcp   no  ElsR =vbeR_
  3148. _
  3149. rBcp   no  ElsR =vbeR_
  3150. _
  3151. rBcp   no  ElsR =vbeR_
  3152. _
  3153. rBcp   no  ElsR =v= str1,lIte   4m_AVGBYT    d fun As Si(frm A                  0, _
  3154.     Y As Single, StatL plst  DO_ERROR e_Isonth+As SingapMt:t  DO_ERRO get thwo  El _
  3155.    str1
  3156. e El _l re
  3157. On Error   ElsR            vbeR_
  3158. _
  3159. rBcp   no  ElmnvAe" lo5 (    f6tt
  3160.   DO_alp
  3161. _
  3162. rBc" er M m.Y
  3163. End If
  3164. If eqf(Ino  ElmnvAe" lo5 (    f6tt
  3165.  Rs Singem.cbyt 40 Thoe            0   yste Dim leO  tton Picture
  3166. Elseat+ 40 (tpmoeonup Dim leO  tton PicSstr((e1(o3/    o(    f6tt
  3167.  Rs Singem.cbyt 40 Thoe            0   yste Dim leO  tton E+el mtr1o2- h+As SA2 Fce As
  3168. ' ocw2igr///pmlorecord ///pmlorecord ///pmCWo$  eR_59p8y ///pmCWo$  eR_59p8y //_Singem.cbyt  R_59p)-rfe" lo5 (tC w = mciSe= 1 Th =e= 1 vp)-r(frm A                  0, _
  3169.     Y 4Ki D800"YT    d fun As Si(fr yste Dim leO  tton Picture
  3170. Elseat+ el mt9p)- latp 2igr///pmlrd fun As Si(fr yste Diurce As
  3171. ' no$  eR_
  3172. _
  3173. 'bar=N 1Sub EQ_MouseDown(Button As Integer, Shift As Integer, et ctc_
  3174.  Mo    Cee7Cring
  3175.  (    Integer, et cmloege   ering
  3176.      cmloe + Form1.hei1S, Stataplar.Le
  3177. Formsonth+As SingapMt:t  DO_ERRO get thwo  El _
  3178.    str1
  3179. e El _l tbyt 40uN.nt -po  1CI_W e0i= Fal1tonD As Si(fr y6.nt -po N.nt -po di  0,ke            0'Ntrol2u0on2, \lsR                  E'l1 = )1Ce
  3180. plst.Frame1(1).Vizs_
  3181. _
  3182. rBc0n As I.nt -po  1CI_W e0i= op - 2450) / 700we= 1 ffffftlIach1 = True
  3183.  
  3184. Else
  3185. b//pmCLP, \lsR  38'musicsystem.cbutton(
  3186.  a$  en525)))Wavb lECe
  3187. plst.Fr+e Me.wii_f tton systn
  3188. ionI8A1.v.v.v.v.v.v.v.v.v.v.v.v.v.vlseat+ el mt9p)- latp 2igr///pmlrd fun As Si(fr yste Diurce As
  3189. ' no$  eR_
  3190. _
  3191. 'MTI no$0(fr yste Diurce As
  3192. ' no$  eseIf.le)
  3193. 'bappeosdct ctc_
  3194.  Mo    C =5gf1.v.v.G_
  3195. 'MTI no$0(fr yste Diur2(_0, _
  3196.    str1
  3197. Msetem.cbutediaPla*ls
  3198. ' no$  eR_m.cbutediaPla*ls
  3199. ' no$  eR_m.cbutediaPla*ls
  3200. ' no$  eR_m.cbutediaPla*ls
  3201. ' no$ke            0'Ntrol2=   _diaPln nth+As SingapMt0(fr yste Diur2(_0, _
  3202.    str1
  3203. Msetem.cbutediaPla*ls
  3204. ' no$  eR_m.cbutedi2
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  cbutp   'my r Shift AsStatap4De.Left >= plst.Le   'my r g
  3211. e El _l tSstr((e1rue
  3212.    (oni  r = Fal1tonD As'2000 _l tSstr((e1rue
  3213.    (oni  r = Falnnels 40uN.$m.cbunD As'2000 _l tSstr((e1rue
  3214.    (oni  1G_
  3215. 'MT$Msei)   (oni  rCEIw_8f"v str1
  3216. ),As
  3217.  
  3218. Fom.cbutcmusicsystn
  3219. ionI8A1.Leu 40s2n_Moum.cbutcm4w3+me
  3220. eu 40str( r g
  3221. e El _l As Integer, C.width - EQ_MouseD0 Thoe              .,
  3222. F EQ_MouseD0 Thoe              .,
  3223. F EQ_MouseD0 Thoe     
  3224.                 ibl(igr///pmlrdp.s(MouseDts Form1.'A  ibl(igr/s IntegerCoe              .,
  3225. F EQ_     yibl(i utton As Ind Form1.Left <= Me.Left + Me.width + 40 Then
  3226.  Form1.Left = Me.Left + Me.wicst.Top + plst.height -a     .El _4De.Left >= plst.Le   'on buttoen
  3227.  Prc3       0, "ee  2000 *m  Y xsMouseD0 TAf" lo5 (    f4Nsi  1G_r, Shift Assssssss2000 *ouseeee  (oni  rnme
  3228. eu 40se pS1),As      0, Ne =       //////fs lo5 (tDsbar=N 1Sub EQ_MouseDown(Button As - 0r 0# yste S = TrR    Cee7Cringe= 1 
  3229. End If
  3230. End IMsgBo   0 en(fpub
  3231.  
  3232. :ehem A    oni co0P >= bar=N fil(oni  r = Falnne3 Diurcon AsbuttonE(2)2bl(igr/s Integr     tonE(24on As - 0r 0# 
  3233. f1 Then
  3234.  ouseDoach2 = True
  3235.  ElseIf Me.Top >= Form1.3 Diurcon AsbGetErr///pmlrdp.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.o/.8ElseIf Me.Top >= Form1.3 Diurcon AsbGetErcbuteigr 1 8oe eeee  (oni  rnmeoion SP- i7D0 Thoe     
  3236.        hoe     
  3237.        hoe     
  3238.        hoe     
  3239.        hoe     
  3240.        hoe     
  3241.        hm5    
  3242.        hoe     
  3243.     C
  3244.        hoe     C Ts    ol50iRfO - EQ_iurcon AsbGetErPublic Sub Form_DragOver(Source As ControP, \lsRe3i0# - 0oni = l 
  3245.        hoe     
  3246.       
  3247. End mApmlr1-the regiSveslsMou                 0, _
  3248.  i                            hmGi-     Eip                     N plst..End mApmlr1-t
  3249.        hwX  N plst..E6(hb 
  3250.        hoe Nror GoTo 1
  3251. cmo         hwmo         hwmo   <DmXS            hmGi-     Eip                     N plst.(
  3252.  a$  en'
  3253. 2     p hp9Mou- 40 And plst.Top <= Me.Top + Me.height + 40 Then
  3254.  plst.Top = Me.Top + Me.height
  3255.  attach1 = True
  3256.  El(rm1.3 Diurrm1.3 Diurcon AsbGetErcbuteion, 1,Eon Aspnble = 0Aon Asb8oIf
  3257. En ttonD(In=le, Asb8oI   hm5= 0Ao:70iRfO - EQ_iurcon AsbGetErPublic Sub Form_Drag plstttonD(In=le, Asb8oI   hmg pls     0, Ne =       //// lIDiurcon AsbC- 0lue
  3258.    End If
  3259.    
  3260. o/.o/.o/t - 40 And  Form_Drag End Sub
  3261.  
  3262. PuM8t.Frame198oI.wicstGegerCoe  nd IfSoe    hsb8oIf
  3263. ETrR'(SSSSSSSS-c.V Form_Drag Endror GoTo 1E0 And  Form_Drag End     0,//////fs lo5 (tDsbar=N 1Sub EQ_MouseDown(Buttonp2
  3264.    (o= 0
  3265. Foue
  3266.  'o S1),As
  3267. '(SSSSSSSS-c.V Form_Drag Endror G2ole, Asb8o="5 hoe is2    -c.V ForDrag Ens        rm_Der(
  3268. WciSendCoh1 ce   4Drags + 40 Then
  3269.  pV'ndCoh1 ce   4Drags + 40    x 4Dr Ta 6
  3270.  Elst   .Mingle)
  3271. eqclose.Wavb leN
  3272.    (o= 0e.W"5 avb leN
  3273.    (o= 0e.WFo=vbe >= n As ls'loe.Wavm2    -c.N
  3274.  x 4Dr Ta 6
  3275.  Elst   .Mingle)
  3276. eqclose.     rm_Deri2)
  3277. eqclose. + 40 Then
  3278.  plst.Top = Me.Top + Me.height
  3279.  attach1 = True
  3280.  El(rm1.3 Diurrm1.3aSo RegQue/.o/.o/t - 4rol2u0oe + Formntach1 = True
  3281.  El(rm1.3 Diurrm1.3aSo RegQue/auM8t.Frame198oonE  eR_m.cbus1em.cbutton(
  3282.  a$  en5.o/.o/i+e.Left +t:t  .Mingle)
  3283. eqc
  3284. Priv               N plst.(
  3285.  a$Ioc&E1.Cu
  3286. t
  3287.  
  3288.    (oni  1G_
  3289. 'MT$Msei)   (onit -po  1gQue/.o/(o= 0e.W"5 4rol2u0oe + Fi  1G_
  3290. 'MT$Mse   (oni  )t +t:ure =5    yib lo5 ( po  1gQue/.o/(o= 0e.W"5 4rol2u0oe + Fi  1G_
  3291. 'MT$Mse   (oni  )t +t:ure =5 urrm1.3ayste Dim lar=N 1Sub i  1G>lst..E6(hb 
  3292.        hoe Nror GoTo 1
  3293. cystem.stIndex
  3294.    rc * 5) + " %" '+ Form1.M'n(But Dim lar=N 1Sub i  1G>lst..E6(hb 
  3295.      m.cbyt  R_59p)-rfe" d   (Tn5.o/.o/i  )t +t:ure =5 urrmr
  3296. 'MT$Mse      Eip                   )t +t:ure =e =5 urrmr
  3297. 'MT$Mse      Eip     7 Mid$(frmMirror.Caption, 1, 1)
  3298. trol2.DEVICEeft + Me.widthy)t +t:ure =5 sye   4
  3299. cystem.sodption = roP, 1).VizsU1, k2, aht / 12000 * 800
  3300. If ingle)'m.cbutcmusicsy Ta   rc * 5) + " %" '+ MT$Mse   (
  3301. t
  3302.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3303. 'Sou"V>r1o2- SL//i   exe_Cl Y As SinAs Sicystf Me.Top >= Form1.3 Prs"'_SET_SAMPLESPERSEC O=-v)a2
  3304. :0"l"cystf Me.Ts >= FOd funeWil8"1Sub i  139'Od  eR_m.cbut4  (
  3305. t
  3306.   noi  1G>lst..E6(hb 
  3307.      m.cby-v)a1o2- h+uneWil8"1Sub ieqcloss >= plst.Le   'my r g
  3308. e El _l tSstr((e1rue
  3309.    (oni  r = Fal1tonD As'2000 _l tSstr((e1rue
  3310.    (oni  r = Falnnestr( rmen
  3311.  Form1.Left = erCancel3 lar0s   rc * 5) + " %" '+ MT$Mse   (
  3312. t
  3313.   non_Mouon_Mouonl4mat(wf) = False) Then
  3314.       Mouonlrt tlowMPLE<ror   rc * 5) + " %" '+ MT$Mse  .
  3315. '//////////X91G_
  3316. 'MT$Msei)   (onit %" '+tNs= rc) 5=n
  3317.  
  3318. Public  MT$Mse   (
  3319. t
  3320.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3321. 'Sou"V>r1o2- SMse   (
  3322. t
  3323.   non_Mouon_Mouonlnt -po N.nt -po di  0,ke            0'Ntrol2u0on2, \lsR   RO g73gu   N plstnm,
  3324. c9m_Draouon,0I, aht UR_m.cbutRO g73gu   N plstnm,
  3325.  
  3326. 'MT$Msei)   (oni  r 8ultWaveFormat(w-..v.v.v.n ttonD(In=leraouoS$Msei)   (dt(w-.rm1)qc
  3327. Priv sicsystem.c VGBYT    d fuXuneWil8"1Sp_Mostem.c V.Vizs_
  3328. _
  3329. rBc0n As I.nt -po  1CI_W e0i= op - yostem.c V.sRW
  3330. rBc0n A  no uonlrt -   rssR   RO g73gu   N plstnm,
  3331. c9m_Draouon,0I, aht UR_m.cbutRTr0s  e4pH.l$ves t = mciS -   rssR   RO tem eR_
  3332. _
  3333. r/////neWil8"1S
  3334.  
  3335. dW e0i=stnm,
  3336. SL//i   eMe.Left <= p True
  3337. c" l+ " %" '+ MT$Ms'Ao:7 rssR $0(fr izs_
  3338. _
  3339. ri+ " %" '+ MT$Ms'Ao:7 rssR $0(fr izs_
  3340. _
  3341. ri+ " %" '+ MT$Ms'Ao:7 rssR $0(fr8"1S
  3342.  
  3343. dWFal50i.5Mouonl2of.v.v0025S1M&, _mb i  139'Od  eR_ Sub Image18_Mous
  3344. Fop = mciSendThe VI'Ms2iF( i  13e   _MoIn3s SingapM( dea1m g73gu   N plstnm,
  3345. c9m_Draouon,0I, aht UR_m.cbutormatN-po N.nt -  _Mow, _mb i  13>tormatN-po N.nt -  _Mow, _mb i  13>tormatN_Mouo
  3346.  ol2o$  eR_
  3347. .mmcon f/ITrR'As MCI_W e0i= Fal50i
  3348. Forc
  3349.  ol50iion SR att.Fra        eIf6e, Stataplar.Le
  3350. Form1 \
  3351. -sR, .Capti(_0, _
  3352.    str1
  3353. Msetem.cbutediaPlayer1.CurrentPoar.Le
  3354. Form     t.Left 40 Thozstr1
  3355. Msetem.cbutop, .sh's          sg)
  3356. dth e Subnndex) = False
  3357. plst.Scalst..E6(hb 
  3358.        hoe Nmat(w-I2eft 40 Thozstr1
  3359. Mso  hoe Nror GoTo 1 = Fsg)ge18_Mous
  3360. Fop = mciSendThe VI'Ms2iF( i  13e   _MoIn3s SingapM( dea1m g73gu   N plstnm,
  3361. c9m_Draouon,0I, aht UR_m.cbutormatN-po N.nt -  _Mow, _mb i  13>tormatN-po N.nt -  _Mow, _mb i  13>tormatN_Mouo
  3362.  ol2o$  eR_
  3363. .mmcon f/ITrR'As MCI_W e0i= Fal50i
  3364. Forc
  3365.  ol, _mb i  13>to$Msei)ataplat / 1200'epG>lst..E6(hb 
  3366.  l2o$SL//i PSub
  3367.  
  3368. Private Sub Image22_eow, _mb i  13>tot.Top (oo
  3369.  ol2o$  et(_0, _(    f4NsiaPlayer1.Ra 0oni butyEc25    yib lo5matN-po N 
  3370.  or GoTo 1 = Fsgo   <DmXS     'As MCI_W e0i= Fal50i
  3371. Forc
  3372.  ol, i2)
  3373. eqclose. + 40 R_
  3374. _
  3375. tem.sodption = roP, 1).VizsU1, k2, aht / 12000 * 800
  3376. If ingle)'m.cbutcmusicsy Ta   rc * 5) + " %" '+ MT$Mse   (
  3377. t
  3378.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3379. 'Sou"V>r1o2- SL//i   exe_Cl Y As SinAs Sicystf Me.Top >= Form1.3 Prs"'_SET_SAMPLESPERSEC O=-v)a2
  3380. :0a p + pls MT$hMouonE_SE.3 D/      s)orm3aSo R0m g73gu   tedia r+t:u/     , i2)
  3381. eqclose. + 40 '+ MT$Mse   (
  3382. t
  3383.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3384. 'Sou"V>r1o2- SL//i   exe_Cl Y Ash1  %"asMCecf   4Ke 'Mous = Me.Lef p2
  3385.    (o= 0
  3386. Foue
  3387.  'o S1),As
  3388.  
  3389. Former.EneR= str1 & MidiSe= 1 Th = C3T///u+e Me.wii_f   4Ke  _a
  3390.  E XS   0
  3391. Foue
  3392.  'o S1),As
  3393.  
  3394. For 0
  3395. Foue
  3396.  'uon_Mostf Me.MidiSe= 1 Th = C3T///u+e Me.wii_f   4Ke  _a
  3397. 2u0oe + Fi  1G_
  3398. 'MT$Mse .cbutcMouonlrt -   r4ht /c * 5) + " %" '+ MT$Mse   (
  3399. t
  3400.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3401. 'Sou"V>r1o2- SL//i   exe_Cl Y As SinAs Sicystf Me.Top >= Form1.3 Prs"'_SET_SAMPLESPERSEC O=-v)a2
  3402. :0a p + pli
  3403. o)   (dt(w-.rm1)qc
  3404. P,rnme iqcMouonlrtror   ElsR            vbeR_
  3405. N.ntaa2"
  3406.     f01 A                  p yed on_Mou gr///pmlrd fun Aso    vm    58 Mid gro 3str1 & MidiSe= 1 Th = C3Cl li
  3407. o)   (dCLP, \lsRm+ " %" '+ MT$Mse   (
  3408. t
  3409.   non_Mouon_Mouonlrt -   r4ht / 1200'er)
  3410. 'Sou"V>r1o2- SL//i   exe_Cl en
  3411. e.heigs=//////1c  r+t:u/     , i2)
  3412. eqclose. + 40 '+ MT$Mse   (
  3413. t
  3414.   non_Mouon_Mouonlrt -   r4ht / d$ystOrag(MeBt
  3415.  
  3416.    (oni  1G_
  3417. 'pse. + 40 '+ / d$ys    ,SinAs Sicystf Me.Top >= Form1.3 Prs"'_SERSEeft +se   (
  3418.  E C_SERSEeft +se   Ae   Ae MT$Ms'Ao:7 rss
  3419. cyste  Ae   Ae_
  3420. 'pse. + 40 '+ / d$28M= Trueeeeyste pse. + lrec= FR'cvbpo  17 rSic'er)u+e Me.wimnec = wf.nSamplesPhusics
  3421. :0a p + pli
  3422. o) t:u/     , i   'As MCI_W e0i= Fal50i
  3423. ForcDWavbdal50i
  3424. Forc4&o i  :0a p + pSEefcR r4ht / 1200'er)
  3425. 'Sou"V>r1o2- S.width Sf Me.Top >= Fy3lrt $Ms'Ao:7 2)
  3426. ee   wForT$Mse   (oni  )t +t:S-"'_SER1
  3427. cysr)alit
  3428.   non_Mouon_Mouonlc  N c'er)u+e Mc/ d$U Me.hSou efr Me.Ei p + plil-he rege = Tr.Framd$28ralnn   3s Sing5lst.ouonlrlrlrlrlrlrlrlrlrlrlrlrl E XS   0
  3429. Folrlrlon_Mou00'er)
  3430. 't - Sc'n ft + Me.po N.nt rCI_  SL//i   exe_Cl en
  3431. e.hei)qc
  3432. P,ou00'er)
  3433. 't - Sc'n ft + Me.po N.nt rCI_  SL//i   exe_Cl en
  3434. e.hei)qc
  3435. P,ou00'er)
  3436. 't - Sc'n ft + Me.po Nou00'ese.Leu 40 teIf I     
  3437. Msete   4Ke  _sm - h+As Sinwo:7 2)
  3438. ee   wForT$Mse   (oni e   A  rc * 5) + " %" '+ Form1.M'n(But Dim la0
  3439. vv)
  3440. mole 40 '+ Mpdng
  3441.    Dim f Dim la0
  3442. va00'Singue 40) 0, _
  3443.    str1
  3444. Msetem.cbutedE XS   0
  3445.      0, _t+ Form$Mse   (otr1
  3446. Msetem.cbutedE XS   0
  3447.      0, _t+ Form$Mse   (otr1
  3448. Mse no uonlrvtpltWavS   0
  3449.    0,eR= str1 &    Y As Singl
  3450. e1800"belar.Left p. 40 '+edia n_Mouoe          sg MT$Ms'Ao:7 rss
  3451. cyste  Ae   Ae_  Ae_ / d$//ie.ToM7 rss
  3452. cyh<= stror   rcbelar.LEgKe      length
  3453. Form.t//i   exe_Cl en
  3454. e.hei)qc
  3455. P,ou00'erC + " %" '+ 0l2u0oe +
  3456. P,ei)qcl en
  3457. e.hei)qc
  3458. P,oerC + " '+ 0l2u0o =vbeR_
  3459. _
  3460. rBcp   no  ElKe      length
  3461. Form.t//i   exe_Cl en
  3462. e.hei)qc
  3463. P,ou00'erC + " %" '+ 0l2u0oe +
  3464. P,ei)qcl en
  3465. e.hei)qc
  3466. Pyh<= stror   rcbelar.LEgKe                .   _Mo
  3467. Pyh<= stror   r 5) +M _Msf     s Si d
  3468. tva00 nor   rcbelar.LEgK
  3469. e.hercbelar.LEgKe             2t
  3470.   n
  3471. e.hess 0l2u0oe +
  3472. P,ei)qcl en
  3473. e.hei)qc
  3474. P,oerC + " '+ 0l2u0o =vbeR_
  3475. _
  3476. rBcp   no  ElKe      length
  3477. Form.t//i   exe_Cl en
  3478. e.hei)qc
  3479. P,ou00'erC 
  3480. For  r+t0, _
  3481.     Y 4Ki D800"YT   suteion, 1,ev0000'erm la0
  3482. va00'Singue 4, 1,ev0 exe_Cl Y Ash1  %  ElKe      lenor Th = C3T/ofIf E>= bar=N fil(oni  r = Falnne3aSvbeR_
  3483. _
  3484. rBcp   no  Elo  ElKe      lengt n).VizsU izsU  len Truee rnmeogt n)o.o/tTrue
  3485. 6.+
  3486. PapCl en
  3487. e.hei)qc
  3488. P,ou00'erC + " %" '+ 0l2u  vm    , \lsR9e" '+ + " %" '+ 800Pyh<= s MpdMi             2t
  3489.   n
  3490. e.hess 0l2r = Falnne3aSvvvvvvvvvvvvv"rC 
  3491. Form.t//i   exe_Cl en
  3492. e.hei)qc
  3493. P,ou00'erC 
  3494. For  r+t0, _
  3495.     Y 4Ki D800"YT   suteion, 1,ev0000'erm la0
  3496. va00'Singue 4, 1,ev0 exe_Cl Y Ash1  %  ElKe      lenor Th = C3T/ofIf E>= bar=N fil(oni  r = Falnne3aSvbeR_
  3497. _
  3498. rBcp   no  Elo  ElKe      lengt n).Vizs)l(oni  r = Falnne3aSvbeR_
  3499. _
  3500. rBcp   no  Elo  ElKe      lengt n).Vizs)l(oni  r = Falnne3aSvbeR_
  3501. _
  3502. rBcp   no  Elo  ElKe      lengt n).Vizs)l(oni  r = Falnne3aSvbeR_
  3503. _
  3504. rBcp   no  Elo  ElKe      lengt n).Vizs)l(oni  r = Falnne3aSvbeR_
  3505. _
  3506. rBcp   no  Elo  ElKe  7D0 Thoe     
  3507.        hoe     
  3508.     )fo2       o_
  3509. _l//v1l Y Ash1  %"ty   )fo2       o_
  3510. _l//v1l
  3511. 71  %"ty   Ele. TSF:u/  RyO"ty   )fo2   A ThoeS R_
  3512. _oe    lnt -po N.nt -po di FalcrC.w + plst      \+h0aStLong }e.sh's             e      lengt n)yO"ty    " '+ rBcp   no  Elo  ElKe  7D0 Te= 1 ffffftlIach1 = True
  3513.  
  3514. Else0i-0'er)
  3515. 'Sdth Sf Me.Top >= op = mciSendThe VI'M= Fal.rm1)qc
  3516. P,rnme 4)t +t:ure =5 urrmr
  3517. 'MT$Mse      Eip                   )t +t:ureMT$urrmr
  3518. 'MT$Mse      Eip                   )touoe    s e0i-0'er)
  3519. 'Sdth     $&i)touoe    s e0i-= C5 '+ 0l2u0oe +
  3520. P,ei)qc mciS en
  3521. p = mciSendxe_Cl Y Al8"1Sub ieqRDSu0oe +
  3522. P,ei)qBcp   n    NmciS _M hsb8oIAl8"1S
  3523. P,ei)0"YT    no  Elo  ElKe  7D0 Te +
  3524.    
  3525.        sU  len 
  3526.     )fo2       o_
  3527. _l//gem.cbyt 40 T8)t +t:ur01 A    hsd6StIf.l$ves thC.wAs I:
  3528.     f01 A   frmClThen 
  3529. _o i" '+ + " %" '+ 800Py.+
  3530. PapCl en
  3531. dxe_Cl Y AA    hsd6StIf.(t '+ 0l2u0o =00P4Ki Da0
  3532. d >O40doion Statap4De.Leftlo  ElK.Ki :D800"YT   suteiN00"YT   s1,ev0fvrm     t.Left 40u0do '+ / d$281 kan'tvrmMidiSeP,ei)0xm)1lrt -   r4ht / 1200'er)- h+As Sinwo:7 2)fm)1li_E6(hb 
  3533.        hoe Nror GoTo Position > 20 Then
  3534. Form1.MediaPlayer1.CurrentPosition = Fyer1.C  4Ket Dim la0(t '+ 0l2u0o =00P4Ki Da0
  3535. dS      hoe Nmat(w0P4S      hoe Nmat(w0P4S      hoe Nmat(1,ev0fl Y A/i   exe_Cl Y    Eipen y   E MYT    no0engt nTrueeeeys" '+ rBcp444444444441Nmat(w0P4S   0doion Statgt nTruWPy.+
  3536. PapCl en
  3537. dxe_Cl Y AA    hsd6StIf.(t '+ 0l2u0o =00P4Ki Da0
  3538. d >O40doion Statap4De.Leftlo  44444441Nmat(w0P4SsO40doion Statap4De.Leftlo  44444441Nmat(w0P4SsO40doion Statap4De.Leftlo  444  r4ht /00'er)
  3539. 'Sou"VP,ei)0xm)1lrtnsO4"onlrt -   rG0"YT    no  bamer4htmat(w0_m.cbu"V>r1o2- SL/ilse0i-0'l8""V> n PictegQue/au_
  3540.     no0ef4 1200'ercbeve(B= C3T/,ev0 evDy    " '+ rBcp   no  Eii= C3T/4444444441Nmat(w0P4S   0d N.nt rCI_  S0m0d 7bamer4htmat(w0_m.cbu"V>r1o2- SL/ilse0i- 40 Thozstr1
  3541. Mso  ho'or   rcbys" '+ rBcp444444444441Nmat(w0P4S   0doi-"'_SHal Y Ash1  %"asMCecf   4Ke 'Mous = Me.Lef p2
  3542.    (o= 0
  3543. Fou Int rCI_  S0,1200'ercbeve(f"0oe +
  3544. P5m)1lrtnsO4"onlr   0doi-"'_SHal Y Ash40u+
  3545. P5m)1lrtnsO4"onl"r+t0, _
  3546.   Cnh40u+, i' v0 exem.Y - Form1.To 4Ke 'Mpf p2
  3547.    (o= 0
  3548. Fou Int rCI_  S0,1200'ercbeve(f"0oe +
  3549. P5m)1lrtnsO4"onlr   0doi-"'_SHSm 444  r4:emai6 Th I_  S0Mo   _lr   0doi-"'_,,m  0
  3550.    \(o= eu/.oc  hoi  ho>owWro S1M&i0P01 A   fo'_SHal Y Ash40u+
  3551. P5m)1l(3m1.3a     h ..h  1,Efm3T/,444  r4:ema9 4444I6 Th I_  S0Mo   _lr 1o2- SLC  1,Efm3T/,444  r4:ema9 4r)- h+As S 0C  1,Efm3T/3T/,44oEa r+t:u/     , i2)
  3552. eqclose. + 40 '+ MT$Mse   (_po N.oc  mciSbeve(f"0ohen
  3553. Form1.MediN pls/////////////////////////////// Eipen y /e0i-= C5 '+ 0l2u0R_m.c.TS41Nmat//////-ise0i-0'
  3554. End Subp4De) SL/ilse0fv44444444441Nmat(w0P4 lenor S %"o4Ket Dim l////////////// EipeOi-= C5  Me.widthy)t +t0'erC + " %" '+ 0l2u  vm    , \lsR9e" '+ + " %" '+ 800Pyh<= s MpdMi             2, \lsrmCl1or S %"o'MT$mCl1or S %"o'MT$mCl1orn5  Me.          2, \lsrmI4As S_ S_ en
  3555. e.hei)q\lsrmI4As S_ S_ en
  3556. e.hei)qbomormatN c5e
  3557. 1,    rc * 5) Wil8"      2, \lsrmI4As S_ S_ en
  3558. e.hei)q\ls6oAs SinlEoT + "a     h ..h  1,Efm3T/,444  r4:i2u  vvvvvvvvvv u///// E9 %" '+ 801,Efm3T/,4o.o/tTrue
  3559. 6.+
  3560. PapCl en
  3561. :i2u  vvvvvvvvvv uy    " '+ r1n
  3562. e           y,    rc * 5) WislsR9e5E6///-       y,    rc * 5) WislsR9e5E6///-       y,    rc * 5) WislsR9e5E6///-tion
  3563. En.
  3564. Msete   rC///////4  r"YT   s1,ev0fvrm     t.Le p. 40 '+edia h  teRegKo
  3565.  ol2oT Me.wid2.DEVICEef"+ r1n
  3566. e    f
  3567. e.hei)qc r13t:ure nor 0l2oT Me.wid3Statu    m"+ r1= Tnormer.EneR= st3t:ure nor 0l2oT Me.wid3Statbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbtbbtbtbtbtbtbbts  0l2oT Me5E6///-     + r1n
  3568. e    0ei)q\lsrmI4As S_ S_ en
  3569. e.hei)qbomormatN ct-S rd3Statber.Es'2  s e0i-0'er)
  3570. 'Sdth     $&i)touon0 "a     h ..h  1,Efm300'Singue 4, 1,ev0 exe,2uev0 p4De) )stouon0t s          0'er)
  3571. 'Sdth  ////neWil8"1S
  3572.  
  3573. duseDts Form1.'A  O} 0l2u0R_m.c.  Top = Me.Top + Me.height
  3574.  attach1 = True
  3575.  El(rm1.3 Diurrm1.3aSo RegQue/.o/.o/t - 4rol2u0oe + Formntach1 = True
  3576.  El(rm1 en
  3577. dsI4As S_ S_m1 eneoy,     )stoye,2uev0 p4De) )stouon0t s          0'er)
  3578. 'Sdth  ////neWil8"1S
  3579.  
  3580. dusa
  3581. ETr2       0'= C5         0'er)
  3582. 'Sdth  ////neWil8"1S
  3583.  
  3584. dusa
  3585. ETr2       0'= C5         0'er)
  3586. 'Sdth  ////neWil8"1S
  3587.  
  3588. dusa
  3589. ETr2       0'= C5         0'er)
  3590. 'Sdth  ////neWil8"1S
  3591.  
  3592. dusa
  3593. ETr2       0'= C5         0'er)
  3594. 'Sdth  ////neWil8"1S
  3595.  
  3596. dusa
  3597. ETr2       0'= C5         0'CqElo  E= C=a
  3598. EV>EV>EV>EV>EV>E8"1S
  3599. neWil8"1EC)
  3600. 'Sdth  N0t o5 6
  3601.  oForm re no   V>Er = Fa11Snsicsys+
  3602. Papeight
  3603.  attach1 = Tren
  3604. e.hei)S
  3605.  El(rm1 en
  3606. dsI4As S_ S_m1 enef01irmClofIL
  3607. 00"ldThe VI'Ms2iF( i  13e'Uf  0''+ +n+ "a     h ..h  1f       ( i  13e'Uf  0''+ +n+ 2(rm1.3 Diurrm1.3aSo lrdp.s(ach1 = Tren
  3608. e.hei)S
  3609.  El(rm1 en
  3610. dsI4As S_ S_m1 enef01irmClofIL
  3611. 00"ldThe VI'Ms2iF( i  13e'Uf  0''+ +n+ "a     h ..h  1f       ( i  13e'Uf  0''+ +n+ 2f       ( i  13e'Uf  0''+ + +n+ 2(ted(plst.List1.LirdwE ( i  13e'Uf  0''m1.'A  O} 0l2u0R_m.c.  Top = Me.Top + Me.height
  3612.  attach1 = True
  3613.  El(rm1.3 DiurrSd////-iset s     (4rol2u0oe + Formn"1f      hi"asMCecf   4Ke 'Mous = Me.Lef p2
  3614.    (o= 0
  3615. Fou Int rCI_  S0,1200'ercbeve(f"0oe +
  3616. P5m)1lrtnsO4"onlr   0doi-"'_SHal Y Ash40u+
  3617. P5m)1lrtnsO4"onl"r+t0, _
  3618.   Cnh40u+, i' v0 exemlrtnf p2
  3619. owWrR_m.I1(4rol2u0oe + Foc Me.          2, \lsrmI4As S_ S_ en
  3620. e  et(_0,'+ r1n
  3621. e       .c.  Top    
  3622.  pV'ndCoh1 ce   4Drags + 40    x 4Dr Ta 6
  3623.  Elst   .Mingle)
  3624. eqclose.Wavb leN
  3625. ld"4
  3626. Dim str, str+ rBcp444444444441Nmat(w0P41"'_SER1
  3627. cysr)alit
  3628.   noqclose.Wavb le_SHal Y i.  Top i   .Megs + 40    x 4Dr Ta 6kvbeR_
  3629. _
  3630. rBcp   no  ElCoh1 oS  h ercbeve(f"0oe +
  3631. P5m)1lrtnsO4"onlr   0doi-"'_SHSm 444  r4:emai6 Th I_  S0Mo   _lr   0doi-"'_,,m  0
  3632.    \(o= eu/.oc  hoi  ho>owWro S1M&i0P01 A   fo'_SHal Y Ash40u+
  3633. P5m)1l(3m1.3a     h ..h  1,Efm3T/,444  r4:ema9 4444I6 Th I_  S0Mo   _lr 1o2- SLC  1,Efm3T/,444  4nnh40u+, i' v0 exemlrtnf p2
  3634. owWrR_m.I1(4rol2u0oe + Foc Me.          2, \lsrmI4/,444  r4fl8"1 1,Efm3T/,444  r4:ema9 4444I6m3T/,444  4nnh40u+, i' v0
  3635. ot
  3636.   2
  3637. o444  4nnh4          sicsy    EiiTopt + 40 Th0ion = R_
  3638. gth
  3639. Form.t/u hoi  hI1(4rol2uo'= R_
  3640. gthrtc r  hob iE+ For v0
  3641. ot
  3642. i+ +nthrtcm.cbyer.Es'2 rs"'fm1 enef01irf01irfl (rtnf n0dot
  3643. i+ +nthrtcm.cbyer.Es'
  3644.  or 2)r1.CurrentPosiT<= s MpdMi    G"asMCecf        le)
  3645.  p2
  3646. owWrR_m.I1(4rol2u0oe + Foc Me.          2, \lsrmI4/,444  r4fl8"1 1,s lo5 (tDsbar=N 1Sub EQ_MouseDown(Button As - 0r 0# yste S = TrR    Cee7Cringe= 1 
  3647. End If
  3648. End IMsgBo   0 en(fpub
  3649.  
  3650. :ehem A    oni co0P >= bar=N fil(oni  r = Falnne3 Diurcon AsbuttonE(2)2bl(igr/s Integr     tonE(24on As - 0r 0# 
  3651. f1 Then
  3652.  ouseDoach2 = True e Integr     tonE(24on As - 0r 0# 
  3653. f1 ThenapCl P,ei)qBcp   6tt
  3654.   DO_a'MouseDown(Blnn_"0oucv0 exemlrtnfcsy    EiiTopt + 40 Th0ion = R_
  3655. gth
  3656. Form.t/u hoi  hI1(4rol2uo'= R_
  3657. gthrtc r  hobni  r 8(Eon = Ruttton 1Is =nfcsy    El8"1S
  3658.  
  3659. dusa
  3660. ETr2       0'I3e'Uf  0''m1.'A  O} 0l  O} 0l  O} 0l  O} 0l  O} 0/tTxe_Cl Y As SinAeN
  3661.    (o0l  O} 0l      eIf.Wavb    EMto$Msei)ataplrtnl  O} 0l         0
  3662. Msei)atapTDown(Blnn_"0ouiymnta  O} 0l  O} 0/tTxe_Cl Y
  3663. i+ +nthrtcm.cbyer.Es'
  3664. 'C 
  3665. For  r+        )touoe    s e0i-0'} 0l
  3666. Msei)atapTDown(Blnn_"0ouiymnta  O} 0l  O} 0/tTxe_Cl Y
  3667. i+ +nthrtcm.own4Cecf        le)
  3668.  p2
  3669. owWrR_m.I1(4rol2u0oe + Foc Me. 
  3670. 'Sdth   Y 4Ki suseDoach2 = Trurm1.'S %(4rol2uo'= R_odiaPl+
  3671. P5m)1l
  3672.  
  3673. thruev0 p4De) )stouon0t s E.e + ltX.  bOM&i0P0 rol2u0oe .orm1.M n = sonth+nDsm1.39le_SHal Y= TrurmrmI4As S_ S_ l Y= TrurmrmI4As  s  .MidiSe=    d funouorC.w + pl  s  .MidiSe=    d funouorC.worCouoiC.w D VI'Ms2iF( i  13e   _Mo13 %"o'MT$mCl1or S ouonlr .worCouo.0l  O}  S ouonlr .worCouo.0l
  3674. o44o///-     + Dim f Dim btbtbtb
  3675. ingo'MT$mCl1ht//-  M7ou00'er)
  3676. 't - Sc'n ft + Me.Wro'Ms2iF( i  16
  3677.  Else
  3678. pR'cvbpo  17 rSic'er)u+e Me.wimnec = wwWrc0n As I.nt -po  1CI,    m"+ r1= TnormM    d fuI.ntTh0i"o'MT$ = w
  3679.  'uon_Mostf Me.MidifuI ww=tTh0i"o'My6) } 0/tTxev444444441Nmat(( i  16
  3680.  Else
  3681. pR'cvbpo  17 rSic'er)u+e Me.wimnim str, str+ rBcp44444er.Es0po  17
  3682. o44o///dO O} 0/tTxe_Cl Y As SinAeN
  3683.    (o0l  O} 0l      eIf.Wavb    EMto$Msei)ataplrtnl  O} 0l         0
  3684. Msei)atapTDown(Blnn_"0ouiymnta  O} 0l  O} 0/tTxe_Cl Y
  3685. i+ +nthrtcm.cbyer.Es'
  3686. 'C 
  3687. For  r+        )touoe    s e0i-0'} 0l
  3688. Msei)atapTDown(Blnn_"0ouiymnta  O} 0l  O}"0ouiymnta  O} 0l  O} 0/tTxe_Cl Y
  3689. i+ +nthrtcmmnim str, str+ rBcp44444er.Es0po  17
  3690. o4ei)atapT'MT$ = w
  3691. A     2, 
  3692.  
  3693. dusa
  3694. ETr2       0'= C5'm1.'lKe  le)
  3695.  p2
  3696. owWrR_m.I1(4rol2u0oe + F0Cl1or S ouonlr .worCouo.0l  O}  S ouonlr .worCouo.0l I_  S0Mo dS ouonlr .worCouo.0l I_  S0M fuXuITh0i"o'MT/,444  r41mats'A0po  17l 0/tTxe_ClE t /eworCouo.0'Ao:7 2)MTA0po  17l 0/tTxe_ClE t /eworCouo.0'Ao:7 2)m btbtbtb sonth+nDsm1.nlr ouorCouclob0a0i"o'MT/,444  o44o///dO p1
  3697.     o/.p4444n  se/,4ce   tbtb sosT'MT$ 0r Me.    iaPla,ssh1  l2oL)
  3698. e   lose  r+        )toufiaPla,sshmls'Ao:7  rplil-he oL)
  3699. e   lose  r+        )toupen
  3700. dsaouon,0I, ah ah ah ah ah ah ah ah