vb
文章平均质量分 68
csdn1284934570
这个作者很懒,什么都没留下…
展开
-
vb(1) printer对象使用
Private Sub Print_网格() Dim RowPage As Long, ColPage As Long, RowHeight As Double, ColWidth As Double, arrRow() As Long, arrCol() As Long, i As Long, j As Long Const RowPageHeight As Double = 145原创 2015-04-21 20:59:15 · 813 阅读 · 0 评论 -
vb(2) picturebox、hscrollbar、vscrollbar实现滚动浏览
'利用picturebox的autoredraw、autosize 属性配合hscrollbar、vsrcrollbar实现滚动浏览 '2个picturebox控件 1个作为容器、1个作为显示 ‘1个加载菜单项 1个hscrollbar 1个vscrollbar Private Sub Form_Load() HScroll.Visible = False VScroll.Vi原创 2015-04-22 23:54:53 · 2070 阅读 · 0 评论 -
vb(3) 将excel导入grid
Option Explicit Private Sub Form_Load() Call msh_初始化 End Sub Private Sub Form_Resize() With msh .Left = 0 .Top = 0 .Width = Me.ScaleWidth .Height = Me.ScaleHeight原创 2015-04-26 23:21:55 · 507 阅读 · 0 评论 -
vb(5) 将查询导入Excel
Private Sub mnu打印预览_Click() Dim iRow As Long, iCol As Long Dim xls As Excel.Application Dim xlsWorkBook As Excel.Workbook Dim xlsWorksheet As Excel.Worksheet Set xls = CreateObj原创 2015-04-26 23:53:20 · 298 阅读 · 0 评论 -
vb(4) 将grid数据导入Excel
Private Sub mnu打印预览_Click() Dim iRow As Long, iCol As Long Dim xls As Excel.Application Dim xlsWorkBook As Excel.Workbook Dim xlsWorksheet As Excel.Worksheet Set xls = CreateObject(原创 2015-04-26 23:36:16 · 373 阅读 · 0 评论