VB设置默认打印机设置默认打印机

sijie62028 104 0 RAR 2019-05-31 12:05:33

OptionExplicitConstKeyName="Software\Microsoft\WindowsNT\CurrentVersion\Windows"PrivateSubCommand1_Click()DimVerAsOSVERSIONINFO,SAsString,hKeyAsLongDimDeviceAsString,lengthAsLongVer.dwOSVersionInfoSize=Len(Ver)GetVersionExVerDevice=List1.Textlength=LenB(St

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

看看怎么样

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

不错,刚接触VB,这个真可以用

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

很好的东西,不错。

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

运行没问题,自己再加了点代码,结果更好了

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

我试了,能正常运行,谢谢了

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

可以,网络打印机也可以

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

问题解决了,非常感谢

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

可以得到打印机列表,选择设置默认打印机,很不错的代码,放到自己的代码中就可以用了。谢谢。

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

还没用。但是感觉蛮丰富的

Generic placeholder image 卡了网匿名网友 2019-05-31 12:05:33

试过了,可以得到打印机列表,并且可以设置默认打印机