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

📄 frmbarread.frm

📁 39规格条形码生成、读取程序 为尊重原作注释
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmBarRead 
   Caption         =   "39条形码读取分析程序"
   ClientHeight    =   2250
   ClientLeft      =   60
   ClientTop       =   375
   ClientWidth     =   6375
   Icon            =   "FrmBarRead.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form1"
   ScaleHeight     =   2250
   ScaleWidth      =   6375
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame1 
      Caption         =   "读取到的条形码的值:"
      Height          =   735
      Left            =   135
      TabIndex        =   1
      Top             =   120
      Width           =   3135
      Begin VB.Label Label1 
         Appearance      =   0  'Flat
         ForeColor       =   &H80000008&
         Height          =   270
         Left            =   360
         TabIndex        =   2
         Top             =   300
         Width           =   2415
      End
   End
   Begin VB.PictureBox Picture1 
      AutoRedraw      =   -1  'True
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      FillStyle       =   0  'Solid
      Height          =   975
      Left            =   120
      MouseIcon       =   "FrmBarRead.frx":038A
      MousePointer    =   99  'Custom
      ScaleHeight     =   61
      ScaleMode       =   3  'Pixel
      ScaleWidth      =   405
      TabIndex        =   0
      Top             =   960
      Width           =   6135
   End
End
Attribute VB_Name = "FrmBarRead"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居汉化收藏整理
'发布日期:05/04/22
'描  述:39规格条形码读取程序
'网  站:http://www.mndsoft.com/blog/
'e-mail:mnd@mndsoft.com
'OICQ  : 88382850
'****************************************************************************
Option Explicit

Private Sub Form_Load()
    Picture1.Picture = LoadPicture("mndsoft.bmp")
    Picture1.ScaleMode = vbPixels
    Me.Width = Picture1.Width + 350
    Me.Height = Picture1.Height + Picture1.Top + 600
End Sub

'读取
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Label1.Caption = bcRead(Picture1, CLng(X), CLng(Y), 1, 3)
End Sub

⌨️ 快捷键说明

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