如何打印picturebox控件加载的JPG图片 如果使用Printer.PaintPicture Picture1.Picture, 0, 0则出现错误"无效图片".看msdn,原因应该是此方法不适用于JPG图片.请教高手如何解决此问题? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用savepicture的方法先存为bmp,再读进来,然后再打印 Private Sub Command2_Click()Printer.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, 0, 0Printer.EndDocEnd Sub 打印没有问题Private Sub Command2_Click()Printer.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, 0, 0Printer.EndDocEnd Sub 正如kxyzjm(kxyzjm) 所说,打印没有问题,是自己犯了个低级错误! 帮忙解释一下这几个api,谢谢 在Access上可以的SQL查询在SQL Server上就不行? 什么是双向兼容设置? 关于一个循环的问题(急急急急急急!!!!!!!!!!!) 怎么判断一个窗口是否已经打开了? 关于随机数(急,在线等待) DLL调用约定错误 谁能帮我解释几个API函数 请问如何打印adodc里面的数据?恳请回答! 范围查询(急急!!!) 怎么在vb里生成word,并保存为*.doc (100) vb中如何写这样的dll,读取.txt里的内容并显示
Printer.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, 0, 0
Printer.EndDoc
End Sub
Private Sub Command2_Click()
Printer.PaintPicture Picture1.Picture, 0, 0, Picture1.Width, Picture1.Height, 0, 0
Printer.EndDoc
End Sub