Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
gestione scuola - Frmprincipale.frm

Frmprincipale.frm

Caricato da: Albertking82
Scarica il programma completo

  1. Option Explicit
  2.  
  3. Private Sub mnucercaperanno_Click()
  4. Frmtrova.Show
  5. End Sub
  6.  
  7. Private Sub Form_Load()
  8. Me.Picture = Nothing
  9. opzione = ""
  10. Open App.Path & "\datibimbi.dat" For Random As #1
  11. Close #1
  12. Open App.Path & "\orariirene.dat" For Random As #2
  13. Close #2
  14. Open App.Path & "\orarimar.dat" For Random As #3
  15. Close #3
  16. Open App.Path & "\orariolulu.dat" For Random As #4
  17. Close #4
  18. Open App.Path & "\rette.dat" For Random As #5
  19. Close #5
  20. End Sub
  21.  
  22.  
  23.  
  24. Private Sub Label2_Click()
  25.  
  26. End Sub
  27.  
  28.  
  29. Private Sub mnuapriimage_Click()
  30. sfondo.FileName = ""
  31. sfondo.DialogTitle = "Apri immagine"
  32. sfondo.Filter = "Immagine jpeg |*.jpg"
  33. sfondo.ShowOpen
  34. If sfondo.FileName <> "" Then
  35. foto.Picture = LoadPicture(sfondo.FileName)
  36. End If
  37. End Sub
  38.  
  39. Private Sub mnucercaperautore_Click()
  40. Frmtrova.Show
  41. End Sub
  42.  
  43. Private Sub mnucercapercogn_Click()
  44. Frmtrova.Show
  45. End Sub
  46.  
  47. Private Sub mnualbkexp_Click()
  48. Shell App.Path & "\Albert king explorer.exe", vbNormalFocus
  49. End Sub
  50.  
  51. Private Sub mnucalc_Click()
  52. Shell App.Path & "\calcolatrice.exe", vbNormalFocus
  53. End Sub
  54.  
  55. Private Sub mnucercapermese_Click()
  56. opzione = "meseorlulu"
  57. Frmtrova.Show
  58. Close
  59. End Sub
  60.  
  61. Private Sub mnucercapersett_Click()
  62. opzione = "sorariolulu"
  63. Frmtrova.Show
  64. End Sub
  65.  
  66. Private Sub mnucercatitolo_Click()
  67. Frmtrova.Show
  68. End Sub
  69.  
  70. Private Sub mnuchar_Click()
  71.  
  72.  
  73. Private Sub mnudatianagrafici_Click()
  74.  Dim numer As Integer
  75.    numer = FreeFile
  76.    Frmtabdatibimbi.Show
  77.          Open App.Path & "\datibimbi.dat" For Input As #numer
  78.               While Not EOF(numer)
  79.                     Line Input #numer, strlinea
  80.                     Frmtabdatibimbi.Listbimbi.AddItem strlinea
  81.               Wend
  82.          Close #numer
  83. End Sub
  84.  
  85. Private Sub mnudatianbamb_Click()
  86. Frmdatianbimbi.Show
  87. End Sub
  88.  
  89. Private Sub mnuesci_Click()
  90.  Dim ris As Integer
  91.   ris = MsgBox("Sei sicuro di voler uscire dal programma?", vbQuestion + vbYesNoCancel, "Esci")
  92.       If ris = vbYes Then
  93.          MsgBox "Programma eseguito da Albert king 82!!!", vbInformation, "Creatore\2006"
  94.          End
  95.       End If
  96. End Sub
  97.  
  98. Private Sub mnuforanno_Click()
  99. Frmtrova.Show
  100. End Sub
  101.  
  102. Private Sub mnuforcogn_Click()
  103. Frmtrova.Show
  104. End Sub
  105.  
  106. Private Sub mnuinfosu_Click()
  107. Frminfo.Show
  108. End Sub
  109.  
  110. Private Sub mnuisola_Click()
  111. If mnuisola.Checked = False Then
  112.  mnuisola.Checked = True
  113.  mnuvenere.Checked = False
  114.  mnusfera.Checked = False
  115.  foto.Picture = LoadPicture(App.Path & "\14.jpg")
  116.  End If
  117. End Sub
  118.  
  119. Private Sub mnuluana_Click()
  120. Frmdatioreluana.Show
  121. End Sub
  122.  
  123. Private Sub mnumarianna_Click()
  124.  Dim numer2 As Integer
  125.   numer2 = FreeFile
  126.   Frmdatimar.Show
  127.        Open "orarimar.dat" For Input As #numer2
  128.              While Not EOF(numer2)
  129.                    Line Input #numer2, strlinea
  130.                    Frmtabormar.Listtabmar.AddItem strlinea
  131.              Wend
  132.        Close #numer2
  133. End Sub
  134.  
  135. Private Sub mnuorirene_Click()
  136.  Dim numer8 As Integer
  137.    numer8 = FreeFile
  138.    Frmtaborirene.Show
  139.          Open App.Path & "\orariirene.dat" For Input As #numer8
  140.               While Not EOF(numer8)
  141.                     Line Input #numer8, strlinea
  142.                     Frmtaborirene.Listtabirene.AddItem strlinea
  143.               Wend
  144.          Close #numer8
  145. End Sub
  146.  
  147. Private Sub mnuorluana_Click()
  148.  Dim numer As Integer
  149.    numer = FreeFile
  150.    FrmTABorarioluana.Show
  151.          Open App.Path & "\orariolulu.dat" For Input As #numer
  152.               While Not EOF(numer)
  153.                     Line Input #numer, strlinea
  154.                     FrmTABorarioluana.Listorarioluana.AddItem strlinea
  155.               Wend
  156.          Close #numer
  157. End Sub
  158.  
  159. Private Sub mnuormarianna_Click()
  160.  Dim number2 As Integer
  161.   number2 = FreeFile
  162.   Frmtabormar.Show
  163.          Open "orarimar.dat" For Input As #number2
  164.                While Not EOF(number2)
  165.                      Line Input #number2, strlinea2
  166.                      Frmtabormar.Listtabmar.AddItem strlinea2
  167.                Wend
  168.          Close #number2
  169. End Sub
  170.  
  171. Private Sub mnuperanno_Click()
  172. opzione = "annob"
  173. Frmtrova.Show
  174. End Sub
  175.  
  176. Private Sub mnupercogn_Click()
  177. opzione = "cognomeb"
  178. Frmtrova.Show
  179. End Sub
  180.  
  181. Private Sub mnupermes_Click()
  182. opzione = "mormar"
  183. Frmtrova.Show
  184. End Sub
  185.  
  186. Private Sub mnuperset_Click()
  187. opzione = "sorarimar"
  188. Frmtrova.Show
  189. End Sub
  190.  
  191. Private Sub mnupmes_Click()
  192. opzione = "mirene"
  193. Frmtrova.Show
  194. End Sub
  195.  
  196. Private Sub mnupset_Click()
  197. opzione = "sorirene"
  198. Frmtrova.Show
  199. End Sub
  200.  
  201. Private Sub mnurettebam_Click()
  202.  Dim numero12 As Integer, rig As String
  203.    numero12 = FreeFile
  204.    Frmretteb.Show
  205.          Open App.Path & "\rette.dat" For Input As #numero12
  206.               While Not EOF(numero12)
  207.                     Line Input #numero12, rig
  208.                     Frmretteb.Listr.AddItem rig
  209.               Wend
  210.          Close #numero12
  211. End Sub
  212.  
  213. Private Sub mnurettebimbi_Click()
  214. Frmrette.Show
  215. End Sub
  216.  
  217. Private Sub mnusfera_Click()
  218. If mnusfera.Checked = False Then
  219.  mnuvenere.Checked = False
  220.  mnuisola.Checked = False
  221.  mnusfera.Checked = True
  222.  foto.Picture = LoadPicture(App.Path & "\sfera.jpg")
  223.  End If
  224. End Sub
  225.  
  226. Private Sub mnuvenere_Click()
  227. If mnuvenere.Checked = False Then
  228. mnusfera.Checked = False
  229. mnuisola.Checked = False
  230. mnuvenere.Checked = True
  231. foto.Picture = LoadPicture(App.Path & "\venere.jpg")
  232. End If
  233. End Sub
  234.  
  235. Private Sub muirene_Click()
  236. Frmdatiirene.Show
  237. End Sub