VERSION 5.00
Begin VB.MDIForm mdiMenu 
   BackColor       =   &H8000000C&
   Caption         =   " "
   ClientHeight    =   8310
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   8880
   LinkTopic       =   "MDIForm1"
   Moveable        =   0   'False
   Picture         =   "mdiMenu.frx":0000
   StartUpPosition =   3  'Windows Default
   WindowState     =   2  'Maximized
   Begin VB.Menu mnConnect 
      Caption         =   "&File"
      Begin VB.Menu mnConnect1 
         Caption         =   "&New"
         Shortcut        =   ^N
      End
      Begin VB.Menu mnDisConect 
         Caption         =   "&DisConnect"
         Shortcut        =   ^D
      End
   End
   Begin VB.Menu mnExit 
      Caption         =   "E&xit"
      Begin VB.Menu mnExit1 
         Caption         =   "Exit"
         Shortcut        =   ^X
      End
   End
End
Attribute VB_Name = "mdiMenu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub MDIForm_Load()

   '---set the mdi background image
   'fnSetMDIImg Me
   
   '---some menu to be disabled...
   'fnUnloadMenu
    
End Sub

Private Sub MDIForm_Unload(Cancel As Integer)
 End '---come out of application
End Sub

'Private Sub mnAbstractsum_Click()
' stRep = "Abstract"
' Call fnFilterCaption("Estimate - Abstract", False)
' frmFilter.Show vbModal
'End Sub

Private Sub mnCal_Click()
Dim str As String
Dim i

  '---get windows directory
  str = fnGetWindir

  If InStr(1, str, "T") > 0 Then '---for winnt
    i = Shell(str & "\system32\CALC.EXE", vbNormalFocus)  '---run calculator in scintific mode
  Else
    i = Shell(str & "\CALC.EXE", vbNormalFocus)  '---run calculator in scintific mode
  End If
End Sub

Private Sub mnChangePassword_Click()
 frmChangePassword.Show
End Sub

Private Sub mnConnect1_Click()
 frmDisplay.Show
End Sub

Private Sub mnCreateUser_Click()
 CreateUser.Show
End Sub

Private Sub mnEditor_Click()
 frmEditor.Show
End Sub

Private Sub mnExit_Click()
    End
End Sub

Private Sub mnExit1_Click()
 End
End Sub

Private Sub mnModBus_Click()
 frmEx.Show
End Sub
