home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / corsovb / cm3.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-11-03  |  1.9 KB  |  72 lines

  1. VERSION 5.00
  2. Begin VB.Form Form3 
  3.    Caption         =   "Form3"
  4.    ClientHeight    =   2610
  5.    ClientLeft      =   1995
  6.    ClientTop       =   2415
  7.    ClientWidth     =   5115
  8.    LinkTopic       =   "Form3"
  9.    PaletteMode     =   1  'UseZOrder
  10.    ScaleHeight     =   2610
  11.    ScaleWidth      =   5115
  12.    Begin VB.CommandButton Command3 
  13.       Caption         =   "Uscita"
  14.       Height          =   495
  15.       Left            =   3480
  16.       TabIndex        =   2
  17.       Top             =   120
  18.       Width           =   1575
  19.    End
  20.    Begin VB.CommandButton Command2 
  21.       Caption         =   "Ricerca"
  22.       Height          =   495
  23.       Left            =   1800
  24.       TabIndex        =   1
  25.       Top             =   120
  26.       Width           =   1575
  27.    End
  28.    Begin VB.CommandButton Command1 
  29.       Caption         =   "Inserimento"
  30.       Height          =   495
  31.       Left            =   120
  32.       TabIndex        =   0
  33.       Top             =   120
  34.       Width           =   1575
  35.    End
  36. Attribute VB_Name = "Form3"
  37. Attribute VB_GlobalNameSpace = False
  38. Attribute VB_Creatable = False
  39. Attribute VB_PredeclaredId = True
  40. Attribute VB_Exposed = False
  41. Option Explicit
  42. Dim WithEvents Contatto As CContatto
  43. Attribute Contatto.VB_VarHelpID = -1
  44. Private Sub Command1_Click()
  45.     Form3.Hide
  46.     Form1.Show
  47. End Sub
  48. Private Sub Command2_Click()
  49.     Form2.ViewButton.Outline = False
  50.     Call Form2.InitDatabaseObject
  51. End Sub
  52. Private Sub Command3_Click()
  53.     End
  54. End Sub
  55. Private Sub Form_Load()
  56.     Set Contatto = New CContatto
  57.     Call Form2.InitDatabaseObject
  58.     Form2.Hide
  59.     Contatto.Nome = "Andrea"
  60.     Contatto.Cognome = "Mengora"
  61.     If Contatto.Exist(Form2.Archivio) Then
  62.         MsgBox "Funziona!"
  63.     Else
  64.         MsgBox "Non funzia!"
  65.     End If
  66.     Contatto.Data = ("11/01/1997")
  67.     End
  68. End Sub
  69. Private Sub Contatto_OnError()
  70.     MsgBox "Errore!! Numero:" + Str$(Contatto.Error)
  71. End Sub
  72.