vb基础(打印问题)

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 cxmty 的 blog

private sub command1_click()
dim beginpage, endpage, numcopies, orientation, i
 commondialog1.cancelerror = true
 on error goto errhandler
 commondialog1.showprinter
 beginpage = commondialog1.frompage
 endpage = commondialog1.topage
 numcopies = commondialog1.copies
 orientation = commondialog1.orientation
  for i = 1 to numcopies
  next
  exit sub
errhandler:
  exit sub
  end sub
 

本文关键:打印
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top