µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
VB »P VB.Net
» VB.NET ¦Lªí¾÷³]©w°ÝÃD
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
VB.NET ¦Lªí¾÷³]©w°ÝÃD
¥q®{
µoµu®ø®§
¥[¬°¦n¤Í
¥q®{
·í«eÂ÷½u
UID
39370
©«¤l
1
¥DÃD
1
ºëµØ
0
¿n¤À
2
ª÷¿ú
2
ÂI¦W
0
§@·~¨t²Î
windows10
³nÅ骩¥»
vb.net
¾\ŪÅv
10
¦b½u®É¶¡
0 ¤p®É
µù¥U®É¶¡
2022-8-27
³Ì«áµn¿ý
2023-12-5
¤p¾Ç¥Í
©«¤l
1
¥DÃD
1
ºëµØ
0
¿n¤À
2
ÂI¦W
0
§@·~¨t²Î
windows10
³nÅ骩¥»
vb.net
¾\ŪÅv
10
µù¥U®É¶¡
2022-8-27
³Ì«áµn¿ý
2023-12-5
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2022-8-27 15:27
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
VB.NET ¦Lªí¾÷³]©w°ÝÃD
Public Class myPrinter
Friend TextToBePrinted As String
Public Sub prt(ByVal text As String)
TextToBePrinted = text
Dim prn As New Printing.PrintDocument
Using (prn)
prn.PrinterSettings.PrinterName = "PrinterName"
AddHandler prn.PrintPage,
AddressOf Me.PrintPageHandler
prn.Print()
RemoveHandler prn.PrintPage,
AddressOf Me.PrintPageHandler
End Using
End Sub
Private Sub PrintPageHandler(ByVal sender As Object, ByVal args As Printing.PrintPageEventArgs)
Dim myFont As New Font("Microsoft San Serif", 10)
args.Graphics.DrawString(TextToBePrinted, New Font(myFont, FontStyle.Regular), Brushes.Black, 50, 50)
End Sub
End Class
½Æ»s¥N½X
·Q½Ð°Ý§ÚÀ³¸Ó¦p¦ó¤~¯à§â
prn.PrinterSettings.PrinterName = "PrinterName"
§ï¦¨
prn.PrinterSettings.PrinterName = TextBox1.Text
±`¸Õ¤F§ï¦ý³£¬O¿ù»~¥¼«Å§i?
¦¬ÂÃ
¤À¨É
mark15jill
µoµu®ø®§
¥[¬°¦n¤Í
mark15jill
(ÀH·ÄÆ¿ºªº¦Ð¤ò)
·í«eÂ÷½u
[±s¥Î]¼ç¤ô¸¥
UID
4247
©«¤l
852
¥DÃD
79
ºëµØ
0
¿n¤À
918
ª÷¿ú
918
ÂI¦W
0
§@·~¨t²Î
Windows 7 , XP
³nÅ骩¥»
Office 2007, Office 2003,Office 2010,YoZo Office
¾\ŪÅv
50
©Ê§O
¨k
¨Ó¦Û
¦t©z
¦b½u®É¶¡
414 ¤p®É
µù¥U®É¶¡
2011-4-8
³Ì«áµn¿ý
2024-2-21
¡@¼ÊºÙ:
ÀH·ÄÆ¿ºªº¦Ð¤ò
¡@ÀY»Î:
[±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í
©«¤l
852
¥DÃD
79
ºëµØ
0
¿n¤À
918
ÂI¦W
0
§@·~¨t²Î
Windows 7 , XP
³nÅ骩¥»
Office 2007, Office 2003,Office 2010,YoZo Office
¾\ŪÅv
50
©Ê§O
¨k
¨Ó¦Û
¦t©z
µù¥U®É¶¡
2011-4-8
³Ì«áµn¿ý
2024-2-21
2
#
µoªí©ó 2022-11-27 10:52
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
1#
¥q®{
¸Õ¸Õ¥ý§âtextbox1.text «Å§i¦¨string ¬Ý¬Ý
¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~
¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk
¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM
TOP
ÀR«ä¦Û¦b :
¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@Ӯɨ賣¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·