Tempat Wisata Aplikasi Budaya Indonesia Menggunakan Visual Basic 6.0

Private Sub Image7_Click Form2.Show WindowsMediaPlayer2.Close End Sub Private Sub Timer1_Timer Label5.ForeColor = RGBRnd 250, Rnd 250, Rnd 250 If Label5.RightToLeft + Label5.Width = 0 Then Label5.RightToLeft = Me.Width End If Label5.RightToLeft = Label5.RightToLeft - 100 End Sub

4. Tempat Wisata

Dim gambar As Integer Private Sub Form_Load gambar = 1 Image1.Picture = LoadPictureApp.Path \gambar\indeks gambar .jpg WindowsMediaPlayer2.URL = video\form5.amr End Sub Private Sub Timer2_Timer gambar = gambar + 1 If gambar 4 Then gambar = 1 Image1.Picture = LoadPictureApp.Path \gambar\indeks gambar .jpg End Sub Private Sub Image3_Click Form7.Show WindowsMediaPlayer2.Close End Sub Private Sub Image4_Click Form4.Show WindowsMediaPlayer2.Close End Sub Private Sub Image9_Click Form2.Show WindowsMediaPlayer2.Close End Sub Private Sub Form_Load1 Label1.FontSize = 20 Label1 = Tempat Wisata Daerah End Sub Universitas Sumatera Utara Universitas Sumatera Utara Private Sub Timer1_Timer Label1.ForeColor = RGBRnd 250, Rnd 250, Rnd 250 If Label1.Left + Label1.Width = 0 Then Label1.Left = Me.Width End If Label1.Left = Label1.Left - 100 End Sub Private Sub Command1_Click Form6.Show WindowsMediaPlayer2.Close End Sub Menu Tempat Wisata Option Explicit Dim conn As New ADODB.Connection Dim strconnect As String Function openconn As Boolean On Error GoTo ErrHandler strconnect = provider=Microsoft.Jet.OLEDB.4.0;Data Source= + App.Path + \Database3.mdb If conn.State = adStateOpen Then conn.Close Set conn = New ADODB.Connection conn.Open strconnect openconn = True Else conn.Open strconnect openconn = True End If Exit Function ErrHandler: openconn = False MsgBox koneksi tidak bisa dibuka, vbExclamation, koneksi error End Function Private Sub DataGrid1_RowColChangeLastRow As Variant, ByVal LastCol As Integer With Adodc1.Recordset Text1.Text = .Fields.Item0.Value Text2.Text = .Fields.Item1.Value End With Image2.Picture = LoadPictureApp.Path \gambar\ Adodc1.Recordsetgambar End Sub Private Sub Form_Load If Not openconn Then End Universitas Sumatera Utara Universitas Sumatera Utara Adodc1.ConnectionString = strconnect Adodc1.RecordSource = SELECT from tempatwisata adodc1.Recordset DataGrid1.AllowUpdate = False Set DataGrid1.DataSource = Adodc1 Image2.Picture = LoadPictureApp.Path \gambar\ Adodc1.Recordsetgambar WindowsMediaPlayer2.URL = video\form6.amr End Sub Private Sub Form_Load1 Label3.FontSize = 20 Label3 = Tempat Wisata Daerah End Sub Private Sub Image6_Click Form2.Show WindowsMediaPlayer2.Close End Sub Private Sub Timer1_Timer Label3.ForeColor = RGBRnd 250, Rnd 250, Rnd 250 If Label3.Left + Label3.Width = 0 Then Label3.Left = Me.Width End If Label3.Left = Label3.Left - 100 End Sub Private Sub Image4_Click Form5.Show WindowsMediaPlayer2.Close End Sub

5. Alat Musik