Sie sind auf Seite 1von 3

Private Sub mnuAddSupply_Click()

'frmRLSupplies.Caption = "Supplies"
'frmRLSupplies.Show
End Sub
Private Sub mnuAdjust_Click()
'frmAESupplies.Show
End Sub
Private Sub mnuBackup_Click()
'frmBackupDatabase.Show
End Sub
Private Sub mnuCalculator_Click()
On Error Resume Next
Shell "calc.exe", vbNormalFocus
End Sub
Private Sub mnuDateTime_Click()
Shell "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl", vbNormalFocus
End Sub
Private Sub mnuDeveloper_Click()
'frmAboutDev.Show
End Sub
Private Sub mnuEquip_Click()
'frmRLEquipment.Caption = "Property and Equipment"
'frmRLEquipment.Show
End Sub
Private Sub mnuExit_Click()
If MsgBox("Do you really want to exit?", vbYesNo + vbQuestion, "Exit") = vbYes T
hen
End
End If
End Sub
Private Sub mnuOff_Click()
'this is use to show the frmRLOffices
'frmRLOffices.Show
End Sub
Private Sub mnuOn_Click()
frmRptSupplies.Caption = "List of On Hand Supplies"
frmRptSupplies.Show
End Sub
Private Sub mnuExplorer_Click()
On Error Resume Next
Shell "Explorer.exe", vbNormalFocus
End Sub
Private Sub mnuManageUser_Click()
'frmVuser.Show
End Sub
Private Sub mnuNotepad_Click()
On Error Resume Next
Shell "notepad.exe", vbNormalFocus

End Sub
Private Sub mnuOffice_Click()
'frmRLOffices.Show
End Sub

Private Sub mnuPrinter_Click()


'this is use to show the available printer
'CommonDialog1.ShowPrinter
CommonDialog1.ShowPrinter
End Sub
Private Sub mnuPropEquip_Click()
frmRptPropertyequipment.Show
End Sub
Private Sub mnuRequest_Click()
'frmRequest.Show 1
End Sub
Private Sub mnuRestore_Click()
On Error GoTo err
Shell "ntbackup.exe", vbNormalFocus
Exit Sub
err:
MsgBox "You don't have Backup Utility installed in your computer.", vbExclam
ation, "BackUp Utility Missing"
End Sub

Private Sub mnuRptSupply_Click()


'frmRptSupplies.Show
End Sub
Private Sub mnuShortcut_Click()
'frmShortcut.Show
End Sub
Private Sub mnuSup_Click()
'frmRLSupplies.Show
'frmRLSupplies.Command1.SetFocus
End Sub
Private Sub mnuSysInfo_Click()
'frmAbout.Show
End Sub
Private Sub rqsSupply_Click()
'frmRptrequest.Show
End Sub
'Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
'If Button.Index = 1 Then
'frmShortcut.Show
'End If
'If Button.Index = 3 Then

'frmRLSupplies.Show
'frmRLSupplies.Command2.Enabled = False
'End If
'If Button.Index = 4 Then
'frmRLSupplies.Show
' frmRLSupplies.Command1.Enabled = False
'End If
'If Button.Index = 5 Then
'frmRequest.Show
'End If
'If Button.Index = 7 Then
'frmRLEquipment.Show
'End If
'If Button.Index = 8 Then
'frmRLEquipment.Show
'End If
'If Button.Index = 10 Then
' frmVuser.Show
'End If
'If Button.Index = 13 Then
' frmLessSupply.Show
'End If
If Button.Index = 14 Then
frmPrintOption.Show
End If
'If Button.Index = 16 Then
' If MsgBox("Are you sure you want to exit?", vbYesNo + vbInformation, "Exit")
= vbYes Then
' End
' End If
'End If
End Sub
Private Sub Toolbar1_ButtonMenuClick(ByVal ButtonMenu As MSComctlLib.ButtonMenu)
If ButtonMenu.Index = 1 Then
frmRptSupplies.Show
End If
'If ButtonMenu.Index = 2 Then
'frmRptrequest.Show
'End If
If ButtonMenu.Index = 3 Then
frmRptPropertyequipment.Show
End If
End Sub

Das könnte Ihnen auch gefallen