⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module1.bas

📁 mif,mid文件的读写 和一些人工智能模型
💻 BAS
字号:
Attribute VB_Name = "Module1"
'------------------------------------------------------------
'this sub displays the error message with it's Err code
'and prompts to show the Errors collection if it
'is a data access type error
'------------------------------------------------------------
Sub ShowError()

  Dim sTmp As String

  Screen.MousePointer = vbDefault
 

  sTmp = "The following failure take place:" & gsNewLine & gsNewLine
  'add the error string
  sTmp = sTmp & Error & gsNewLine
  'add the error number
  sTmp = sTmp & gsNewLine & "Mis No.: " & Err
  Beep

    MsgBox sTmp

End Sub





'------------------------------------------------------------
'this sub sets the HourGlass icon for the mouse
'------------------------------------------------------------
Sub SetHourglass()
  DoEvents  'cause forms to repaint before going on
  Screen.MousePointer = vbHourglass
End Sub


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -