# Re: CommonDialog1.ShowPrinter 的问题 !!

Posted by 小琳 on August 15, 1999 at 22:50:03:

In Reply to: CommonDialog1.ShowPrinter 的问题 !! posted by kk on August 15, 1999 at 21:10:20:

: 请教各位高手:

: CommonDialog1.ShowPrinter 后如何取得使用者选取那一台印表的名称.

: 谢谢 !!

:::程式内容如下：
Private Sub Command1_Click()
CommonDialog1.ShowPrinter
End Sub

Private Sub Command2_Click()
MsgBox Printer.DeviceName
End Sub

P.S.先按第一个按钮，再按第二个按钮!!!

Follow Ups: