Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

vb´òÓ¡

ÒªÓÃvb´òÓ¡Ò»ÌõÏߣ¬³¤¶ÈÊÇ100ºÁÃ×Ôõôд£¿
¹Ø×¢

VB code:
Printer.ScaleMode = vbMillimeters
Printer.Line (10, 10)-(110, 10)


    Printer.ScaleMode = vbMillimeters
    Printer.Line -(Printer.CurrentX + 100, Printer.CurrentY)

ѧϰ

ScaleMode ÊôÐÔ
µ±Ê¹ÓÃͼÐη½·¨»òµ÷Õû¿Ø¼þλÖÃʱ£¬·µ»Ø»òÉèÖÃÒ»¸öÖµ£¬¸Ãֵָʾ¶ÔÏó×ø±êµÄ¶ÈÁ¿µ¥Î»¡£
Óï·¨
object.ScaleMode [= value]
ScaleMode ÊôÐÔµÄÓï·¨°üº¬ÏÂÃ沿·Ö£º
²¿·Ö    ÃèÊö
Object ¶ÔÏó±í´ïʽ£¬ÆäÖµÊÇ¡°Ó¦ÓÃÓÚ¡±ÁбíÖеÄÒ»¸ö¶ÔÏó¡£
Value Ò»¸öÖ¸¶¨¶ÈÁ¿µ¥Î»µÄÕûÊý£¬¡°ÉèÖÃÖµ¡±ÖÐÓÐÏêϸÃèÊö¡£
ÉèÖÃÖµ

value µÄÉèÖÃֵΪ£º

³£Êý  ÉèÖÃÖµ ÃèÊö
VbUser  0    Ö¸³ö ScaleHeight¡¢ScaleWidth¡¢ScaleLeft ºÍ ScaleTop ÊôÐÔÖеÄÒ»¸ö»ò¶à¸ö±»ÉèÖÃΪ×Ô¶¨ÒåµÄÖµ¡£
VbTwips 1  £¨È±Ê¡Öµ£©ç¾£¨Ã¿Âß¼­Ó¢´çΪ 1440 ç¾£»Ã¿Âß¼­ÀåÃ×Ϊ 567 ¸öç¾£©¡£
VbPoints 2 °õ£¨Ã¿Âß¼­Ó¢´çΪ 72 ¸ö°õ£©¡£
VbPixels 3 ÏñËØ£¨¼àÊÓÆ÷»ò´òÓ¡»ú·Ö±æÂʵÄ×îСµ¥Î»£©¡£
VbCharacters 4 ×Ö·û£¨Ë®Æ½Ã¿¸öµ¥Î»=120 ç¾£»´¹Ö±Ã¿¸öµ¥Î»=240 羡££©
VbInches 5 Ó¢´ç¡£
VbMillimeters 6 ºÁÃס£
VbCentimeters 7 ÀåÃס£
VbHimetric 8 HiMetric
VbContainerPosition 9 ¿Ø¼þÈÝÆ÷ʹÓõĵ¥Î»£¬¾ö¶¨¿Ø¼þλÖá£
VbContainerSize 10 ¿Ø¼þÈÝÆ÷ʹÓõĵ¥Î»£¬¾ö¶¨¿Ø¼þµÄ´óС¡£



Ïà¹ØÎÊ´ð£º

¹ØÓÚASP.net(vb)²¥·Å¼à¿Ø¼ÏñµÄÎÊÌâ

ÎÒÓг§¼Ò×öµÄASPµÄ¼à¿Ø¼Ïñ£¨DVR£©µÄ¾ÖÓòÍø²¥·ÅµÄÔ´³ÌÐòÓë¿Ø¼þ£¬ÏëÒªÓÃASP.net×öÒ»¸öÊÓƵ»Ø·ÅµÄ³ÌÐò£¨ÀûÓÃËûµÄ¿Ø¼þ£©µ«²»ÖªÈçÏÂÈ¥×ö£¬Íû¸÷λָµã¡£
ÏȸãÇå³þËûÃǵĿؼþÊÇÔõôÓõÄ,
È»ºó¾ÍÖ±½ÓÓúÃÁË.
²»¹ý,Èç ......

asp.net(vb)ÎÊÌâ

login.aspx.vb:

    Public ReadOnly Property nameT() As String
        Get
            Return TextBox1.Text
    &nb ......

VBÈçºÎ×èֹij³ÌÐòÔËÐС££¿

±ÈÈç½ø³Ì¼ÓÔØеijÌÐò¡£

ÔÚÆäÔËÐÐ֮ǰ×èÖ¹¡£

È»ºóÔÊÐíºó·ÅÐС£


±ÈÈç³ÌÐòÖ÷Îļþ·¾¶ÊÇc:\test\test.exe£¬½¨Á¢ÄÚÈÝÈÎÒâµÄÎļþc:\test\test.exe.manifest¡£

¾ÍÊDz»ÖªµÀ³ÌÐòÎļþ·¾¶¡£

ÉèÖ ......

vb ÄÑÌâ

form2,form3¶¼·Ö±ðÓÐÒ»¸ölabel1ÊôÐÔÊÇÒ»Ñù

Private Sub Command1_Click()
Dim lbl As Label
if combo1.text="1" then
lbl = Form2.Label1
else
lbl = Form3.Label1
end if
......

VB datagridviewµ×²¿ºÏ¼Æ

ÈçºÎÔÚdatagridviewµÄ×îºóÒ»ÐÐ×öijÁÐÖµµÄºÍ»òÊdz˻ý¡£Òª¼ÆËã3¡¢4¡¢5Áи÷ÁеĺÍ,
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ