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

VB ¼òµ¥¼ÆËãÆ÷

Option Explicit
Dim potflag As Integer      '±êʶÊÇ·ñÓÃСÊýµã
Dim numcol As Integer       ' µã»÷ÔËËã·ûµÄ¸öÊý
Dim LastInput               ' ָʾÉÏÒ»´Î²Ù×÷µÄÄÚÈÝ
Dim colflag                 'numcolΪ1ʱ£¬±£´æÔËËã·û
Dim temp1, temp2            '·Ö±ð±£´æÔËËã·ûÁ½¶ËµÄÔËËãÊý
 
Private Sub CmdCel_Click()     'ÖØпªÊ¼¼ÆËã°´Å¥£¬¸ö¼ÆÁ¿ÊýºÍ±êʶ³õʼ»¯
    Res = Format(0, "0.")
    temp1 = 0
    temp2 = 0
    numcol = 0
    potflag = False
    LastInput = "cel"   '±êʶ´Ë²Ù×÷Ϊ"cel"
End Sub
Private Sub CmdPot_Click()  'ʹÓÃСÊýµã
    If LastInput <> "num" Then
        Res = Format(0, "0.")
    ElseIf String(1, Res) = "-" Then
        Res = Format(0, "-0.")
End If 
potflag = True
    LastInput = "num"   '±êʶ´Ë²Ù×÷Ϊ"num"
End Sub
 
Private Sub Cmdsign_Click()     'ʹÓÃÕý¸ººÅ
    If String(1, Res) <> "-" Then   'Èç¹ûµ±Ç°ÊÇÕýÊýÌí¼Ó¸ººÅ
        Res = "-" & Res
    Else: Res = Right(Res, Len(Res) - 1)  'Èç¹ûµ±Ç°ÊÇÖ¤ºÅ£¬È¡Ïû¸ººÅ
End If 
LastInput = "num"   '±êʶ´Ë²Ù×÷Ϊ"num"
End Sub
Private Sub ComCol_Click(Index As Integer)  'µã»÷²Ù×÷·û£¬¿É½øÐÐÁ¬ÐøÔËËã
    numcol = numcol + 1     'ͨ¹ýnumcol±êʶµã»÷ÔËËã·ûµÄ´ÎÊý
    If numcol = 1 Then  'µ±Ç°ÊýΪ²Ù×÷·û×ó²àÔËËãÊýʱ£¬¼Ç¼µ±Ç°²Ù×÷Êý
        temp1 = Res
  &


Ïà¹ØÎĵµ£º

vbÒƶ¯´°ÌåµÄ´úÂë

Option Explicit
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long
Const HTCAPTION = 2
Const WM_NCLBUTTONDOWN = &HA1
Pri ......

ÖÆ×÷VB°²×°³ÌÐòÎÊ´ð(Package & Deployment)

À
±¾ÎÄ·¢±íÔÚ2000Äê4ÔÂ17ÈÕ ¡¶¼ÆËã»úÊÀ½ç¡·25ÆÚ

ÖÆ×÷°²×°³ÌÐòÍùÍùÊdzÌÐòÉè¼ÆµÄ×îºóÒ»²½£¬Í¬Ê±Ò²ÊÇÖØÒªµÄÒ»²½£¬ÒòΪÔËÐа²×°³ÌÐòÍùÍùÊÇÓû§µÄµÚÒ»¸ö²Ù×÷¡£ÏÂÃæ¾Í½éÉÜһЩÖÆ×÷
Visual Basic
°²×°³ÌÐòʱ³£Óöµ½ÎÊÌâµÄ½â¾ö·½·¨¡£
1
¡¢Ò»¸ö·Ç³£¼òµ¥µÄ
VB
³ÌÐòÊÇ·ñ¿ÉÒÔ²»ÖÆ×÷°²×°³ÌÐò
ÎÊ£º¼ÙÈçÎÒµÄ
VB5
¿ª·¢µÄ³ÌÐ ......

VBÄ£Äâ°´¼ü

¼üÅÌÊÇÎÒÃÇʹÓüÆËã»úµÄÒ»¸öºÜÖØÒªµÄÊäÈëÉ豸ÁË£¬¼´Ê¹ÔÚÊó±ê´óÐÐÆäµÀµÄ½ñÌ죬ºÜ¶à³ÌÐòÒÀÈ»Àë²»¿ª¼üÅÌÀ´²Ù×÷¡£µ«ÊÇÓÐʱºò£¬Ò»Ð©Öظ´ÐԵģ¬ºÜ·±ËöµÄ¼üÅ̲Ù×÷ ×Ü»áÈÃÈËÆ£±¹£¬ÓÚÊǾÍÓÐÁËÓóÌÐòÀ´´úÌæÈËÃÇ°´¼üµÄ·½·¨£¬ÕâÑù¿ÉÒ԰ѺܶàÖظ´ÐԵļüÅ̲Ù×÷½»¸ø³ÌÐòÀ´Ä£Ä⣬ʡÁ˺ܶྫÁ¦£¬°´¼ü¾«Áé¾ÍÊÇÕâÑùµÄÒ»¸öÈí¼þ¡£ÄÇô ÎÒÃÇÔõÑù²Å ......

VB²Ù×÷WORD

 Dim wdapp As Word.Application
    Dim wddoc As Word.Document
    Dim wdtable As Word.Table
   
    Set wdapp = CreateObject("word.application")
   
    Set wddoc = wdapp.Documents.Add
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ