home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form3
- Caption = "Form3"
- ClientHeight = 2610
- ClientLeft = 1995
- ClientTop = 2415
- ClientWidth = 5115
- LinkTopic = "Form3"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 2610
- ScaleWidth = 5115
- Begin VB.CommandButton Command3
- Caption = "Uscita"
- Height = 495
- Left = 3480
- TabIndex = 2
- Top = 120
- Width = 1575
- End
- Begin VB.CommandButton Command2
- Caption = "Ricerca"
- Height = 495
- Left = 1800
- TabIndex = 1
- Top = 120
- Width = 1575
- End
- Begin VB.CommandButton Command1
- Caption = "Inserimento"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 1575
- End
- Attribute VB_Name = "Form3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Dim WithEvents Contatto As CContatto
- Attribute Contatto.VB_VarHelpID = -1
- Private Sub Command1_Click()
- Form3.Hide
- Form1.Show
- End Sub
- Private Sub Command2_Click()
- Form2.ViewButton.Outline = False
- Call Form2.InitDatabaseObject
- End Sub
- Private Sub Command3_Click()
- End
- End Sub
- Private Sub Form_Load()
- Set Contatto = New CContatto
- Call Form2.InitDatabaseObject
- Form2.Hide
- Contatto.Nome = "Andrea"
- Contatto.Cognome = "Mengora"
- If Contatto.Exist(Form2.Archivio) Then
- MsgBox "Funziona!"
- Else
- MsgBox "Non funzia!"
- End If
- Contatto.Data = ("11/01/1997")
- End
- End Sub
- Private Sub Contatto_OnError()
- MsgBox "Errore!! Numero:" + Str$(Contatto.Error)
- End Sub
-