VB5 ªì¯Å¥Í ¦Ñ©Ç½d¨Ò(¤»)

¦^­º­¶


¤ÀÃþ

¼ÐÃD

¤j·N

§@ªÌ

¤é´Á

¬yµ{±±¨î ¦p¦ó°»´ú¥Xµ{¦¡³´¤J¤FµL­­ GOTO ¡@ ¦Ñ©Ç 1998/9/21
¬yµ{±±¨î «ö¤@Áä¦A°õ¦æ ¼ÒÀÀ getch() ¦Ñ©Ç 1998/9/21
¬yµ{±±¨î ¦h°j°é¦P®É¶i¦æ ¡@ ¦Ñ©Ç 1998/10/14
ª«¥ó¨Ï¥Î ¦p¦ó¨D¨ú Forms ªº Index ­È Forms ¶°¦Xª«¥óªº¨Ï¥Î ¦Ñ©Ç 1998/9/21
ÀÉ®× I/O ¤¤¤å¤å¦rÀɪº¶}±Ò¼Ò¦¡ ¡@ ¦Ñ©Ç 1998/9/21
¸Ë¸mÅX°Ê °»´úºÏºÐ¾÷¬O§_¤wready ¡@ ¦Ñ©Ç 1998/9/25
ÅܼƳB²z ¦b Call & BeCall ¤¤¶Ç»¼°}¦C ¦³¨D¥²À³ªº Variant «¬ºAÅÜ¼Æ ¦Ñ©Ç 1998/9/24
¼Æ­È³B²z ¦p¦ó±N¶Ã¼Æ²£¥Í¦b©T©w¼Æ­È¤§¶¡ ¡@ ¦Ñ©Ç 1998/10/1
¼Æ­È³B²z ¤E¤E­¼ªkªí Âù¼h°j°é½d¨Ò ¦Ñ©Ç 1998/10/7
¼Æ­È³B²z ¥|±Ë¤­¤J¨ç¼Æ ¥Î Format ¨ç¼Æ¥|±Ë¤­¤J ¦Ñ©Ç 1998/10/8
¿é¤JÀˬd Â÷¶}¿é¤J²°§YÀˬd¿é¤J¬O§_¥¿½T LostFocus ¨Æ¥ó ¦Ñ©Ç 1998/10/2
¨Ï¥ÎªÌ¬É­± ÅýµL®Ø½uªí³æ¤£¾B¦í TaskBar SysInfo Control ªº¨Ï¥Î ¦Ñ©Ç 1998/10/3
¨Ï¥ÎªÌ¬É­± ·Æ¹«´å¼Ð±m¦âÅÜ¶Â¥Õ CUR ©M ICO ¹ÏÀɮ榡 ¦Ñ©Ç 1998/10/5
¨Ï¥ÎªÌ¬É­± ¥Î¤å¦rÀÉÀx¦sµ{¦¡³]©w ©ß¶} Windows µn¿ý ¦Ñ©Ç 1998/10/18
¨Ï¥ÎªÌ¬É­± ¥Î·Æ¹«©ì¦²¹Ï¤ù ¥H MouseMove ¥N´À Drag ¦Ñ©Ç 1998/10/27
FileBox¨Ï¥Î ©ì¦²½Æ»s¦h­ÓÀÉ®×½d¨Ò ¡@ ¦Ñ©Ç 1998/10/8
TextBox¨Ï¥Î Åý TextBox ¤£Åܦ⪺ Unabled ¡@ ¦Ñ©Ç 1998/10/8
ScrollBar¨Ï¥Î ¥Î ScrollBar ±²°Ê Label ¡@ ¦Ñ©Ç 1998/10/10
PictureBox¨Ï¥Î ±×¦Vº¥¼hªº»s§@ PictureBox.Line ¤èªk ¦Ñ©Ç 1998/10/26
¦r¦ê³B²z ¾ã¼Æ¸ÉªÅ¥Õ¡A¤p¼Æ¸É¹s¡C Format ¨ç¼Æªº¨Ï¥Î ¦Ñ©Ç 1998/10/8

VB5 ªì¯Å¥Í½d¨Ò¨Ï¥Î»¡©ú


  1. ¥»½d¨ÒÅwªï«DÀç§Q©Ê­Ó¤H¤Î²Õ´Âà¸ü¨Ï¥Î¡AÀç§Q¤§§Q¥Î½Ð¥ý¼x±o¥»¤H¤§¦P·N¡A¨Ó«Hµù©ú¨Ï¥Î¤è¦¡¤Î¦^ÂЦa§}¡C
  2. ¥»½d¨Ò©Ò¦³ªºµ{¦¡½X½d¨Ò¡A¬ÒÄݤQ¤À°ò¥»ªº VB »yªk¡A¦pªG±z¬O­Ó VB User ¡AÅwªïª½±µ¤Þ¥Î©Î§ï¼g¨Ï¥Î¦b§Aªºµ{¦¡¤¤ ¡A¥»¤H¤£¥D±iµÛ§@Åv¡A¦]¬°¡A¨S¿ìªk¬d¹À¡C
  3. ¦pªG§A¬O­Ó VB ªì¾ÇªÌ¡A¤S¦³ÂI½a½a(©M¦Ñ©Ç¤@¼Ë)¡A»°§Ö§â¥»­¶¥t¦s·sÀɨì§A¦Û¤vªººÏºÐ¡AÂ÷½u«áºCºC¬Ý¡A¤]¥i¥H Copy µ¹ªB¤Í³á(¤£¥i¥H¦¬¿ú)¡C
  4. ¥»½d¨Ò³£¬O¦Ñ©Ç´X­Ó¤ë¨Ó¦b tw.bbs.comp.language °Q½×¸s²Õ¤¤¦^µªª©¤Í°ÝÃDªº¦X¿è¡A¦]¬°¬O°w¹ï°ÝÃD¸Ñ¨M¡A©Ò¥H¨Ã¨S¦³¥þ­±Æ[©Àªº¸Ñ»¡¡A¤£¾A¦X§@¬°¤Jªù¤å³¹¡A¦ý¦pªG§AŪ¤F¤Jªù®Ñ¡A©Î¬O¤W¤F¦Ñ®vªº½Ò¡A¤ß¤¤¤´¤£¬Æ©ú¥Õªº¸Ü¡A´N¥i¥H¨Ó³o§ä§ä¦³¨S¦³§A­nªºµª®×¡A¦]¬°³o³£¬O§O¤H°Ý¹Lªº°ÝÃD¡C

¦^¯Á¤Þ


¦p¦ó°»´ú¥Xµ{¦¡³´¤J¤FµL­­ GOTO


Cheng Tom ¼¶¼g©ó¤å³¹

¦³¤°»ò¤èªk¥i¥H°»´ú¥Xµ{¦¡³´¤J¤FµL­­ GOTO ?

¦Ñ©Çµª¡G

Dim ¼Æ­ÈÀˬd As Integer

Private Sub ³Q©I¥s°Æµ{§Ç()
    Debug.Print ¼Æ­ÈÀˬd
    ¼Æ­ÈÀˬd=¼Æ­ÈÀˬd+1
    °õ¦æµ{¦¡
    Call ¨ä¥L°Æµ{§Ç
    ¼Æ­ÈÀˬd=¼Æ­ÈÀˬd-1
End Sub

  1. ­ì²z¬O°Æµ{§Ç¦pªG¦A Call ¨ä¥L°Æµ{§Ç¡A¦¹¦A Call °Ê§@¦pªG¦³ªð¦^¡A«h·|°õ¦æ [¼Æ­È
    Àˬd=¼Æ­ÈÀˬd-1]¡C
  2. ¦pªG¤@¥h¤£¦^¡A«h [¼Æ­ÈÀˬd=¼Æ­ÈÀˬd-1] ´N°õ¦æ¤£¨ì(ª`·N¡A¦p
    ªGµ{§Ç¤¤¦³ Exit Sub or Function «ü¥O¡A­n§â ¼Æ­ÈÀˬd=¼Æ­ÈÀˬd-1 ±Æ¦b Exit °Ê§@¤§«e¡C)¡A¼Æ­ÈÀˬd´N·|¤@ª½²Ö¥[¤U¥h¡C
  3. ©Ò¥H§Ú­ÌÆ[¹î Debug Window ¡A¼Æ­ÈÀˬd¤@ª½©¹¤W¥[¡Aªí¥Ü¤K¦¨¶i¤FµL½a°j°é¤¤¡A­Y®É¤W®É¤Uªº¡AÀ³¸Ó¬OÁÙ¨S°õ¦æ§¹²¦¡A§A¸Õ¸ÕWork ¤£ Work ¡A¦]¬°§Ú¤]¨S§â´¤¡C³o­ÓÃD¥ØÀ³¸ÓÁÙ¦³¨ä¥L§@ªk¡A§Æ±æ¤j®a¶°«ä¼s¸q¤@¤U¡C

¦^¯Á¤Þ


¦p¦ó¨D¨ú Forms ªº Index ­È


§Ú¨ÌµM¬O¤p§b¥Ê ¼¶¼g©ó¤å³¹

­n¦p¦ó²³æ±oª¾¤@­ÓGetFocusªº¤lµøµ¡¥¦ªºForms(I)¤¤ I ªº¼Æ­È

¦Ñ©Çµª¡G

Private Sub Command1_Click()
Dim I As Integer
Dim FormIndex As Integer
    For I = 0 To Forms.Count - 1
        If Forms(I) Is Me.ActiveForm Then
            FormIndex = I
            Exit For
        End If
    Next

    Debug.Print FormIndex
End Sub

¦^¯Á¤Þ


¤¤¤å¤å¦rÀɪº¶}±Ò¼Ò¦¡


  1. Input #
  2. InPutB()
  3. ByteArray ªº¨Ï¥Î

¦^¯Á¤Þ


¦b Call & BeCall ¤¤¶Ç»¼°}¦C


(¤@¥b) ªº¤å³¹¤¤´£¨ì:

VBªºSUB¥i¥H¶Ç»¼°}¦C¶Ü?¬Ý¤F½u¤W¤â¥U¨S¬Ý¨ì½d¨Ò,¬O§_¯uªº¤£¦æ¶Ü?

¦Ñ©Çµª¡G

  1. ¥ý½Í VB 5.0 ±q Function ¤¤¶Ç¦^°}¦C¡G
  2. ¦V Sub ¤Î Function ¶Ç»¼°}¦C¡G

¦^¯Á¤Þ


«ö¤@Áä¦A°õ¦æ


³Á§J¤E³J ¼¶¼g©ó¤å³¹

´N¬O¦bµ{¦¡¤¤§Ú·Q¹³ getch()ªºfunction «ö¥ô·NÁä¦AÄ~Äò¤U¤@¨B§Ú·QÀ³¸Ó¦³§a,¦³¨S¤Hª¾¹D©O?

¦Ñ©Çµª¡G

¦Û¤v¼g¼ÒÀÀµ{¦¡Åo

Option Explicit
Dim EndLoop As Boolean
Private Sub Form_Click()
    GetC
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
    If KeyAscii <> 0 Then
        EndLoop = True
    End If
    Label1.Caption = "LoopIsEnd"
End Sub

Private Sub GetC()
    Do
        If EndLoop Then
            Exit Do
        End If
        Label1.Caption = Now
        DoEvents
    Loop
    EndLoop = False
End Sub

¦^¯Á¤Þ


°»´úºÏºÐ¾÷¬O§_¤wready


³Á§J¤E³J ¼¶¼g©ó¤å³¹

½Ð°ÝVB5¦p¦ó±oª¾ºÏºÐ¾÷¬O§_¤wready??

¦Ñ©Çµª¡G

Private Sub Command1_Click()
Dim OldPath As String

    On Error Resume Next
    OldPath = CurDir
    ChDrive "a:"
    Select Case Err.Number
        Case 68
            MsgBox Err.Description, vbOKOnly, "¿ù»~¥N½X¡G" & Err.Number
    End Select

    ChDrive OldPath

End Sub

¦^¯Á¤Þ


¦p¦ó±N¶Ã¼Æ²£¥Í¦b©T©w¼Æ­È¤§¶¡


±H¥óªÌ: ÂŦâ®È¤H

¦Ñ©Çµª¡G

Option Explicit
Private Sub Form_Click()
Dim I As Integer

'©I¥s©T©w½d³ò¶Ã¼Æ¦Û©w¨ç¼Æ
    Debug.print GetRangeRnd(12, 11)
End Sub

Private Function GetRangeRnd(ByVal Max As Integer, _
        Optional ByVal Min As Integer) As Integer
Dim TempNum As Integer
'¦pªG¨Ï¥ÎªÌ§â¶Ç¤J°Ñ¼Æªº³Ì¤p­È³]ªº¤ñ³Ì¤j­È¤j¡A
'¨º»ò¤j¤p­È¤¬´«
    If Min > Max Then
        TempNum = Max
        Max = Min
        Min = TempNum
    End If

'±Ò°Ê¶Ã¼ÆºØ¤l
    Randomize
    TempNum = Int((Max - Min + 1) * Rnd) + Min
    GetRangeRnd = TempNum
End Function

¦^¯Á¤Þ


Â÷¶}¿é¤J²°§YÀˬd¿é¤J¬O§_¥¿½T


²Â²Âªº®a½Þ ¼¶¼g©ó¤å³¹

§Ú·Q·í§Úªº Focus ¤@Â÷¶} TextBoxªº®É­Ô´N¥i¥HÅã¥Ü¥¼¶ñ¼g¸ê®Æªº°T®§,³o­n¦p¦ó¥hÀ³¥Î???

¦Ñ©Çµª¡G

Private Sub Text1_LostFocus()
Dim GoBack As Integer
    If Len(Text1.Text) <> 8 Then
        GoBack = MsgBox("§A¸ê®Æ¿é¤J¤£§¹¾ã¡A¬O§_­«·s¿é¤J¡H", vbYesNo, "¸ê®Æ¤í¯Ê")
        If GoBack = vbYes Then
            Text1.SetFocus
        End If
    End If
End Sub

¦^¯Á¤Þ


ÅýµL®Ø½uªí³æ¤£¾B¦í TaskBar


YIhan ¼¶¼g©ó¤å³¹

½Ð°Ý Form ¦p¦ó³]©wÅý¥¦¤W¤èµL"¤j¤p½Õ¾ã"(title)¡A¦Ó¤U¤è«O¯d95ªº¤u§@¦C¡A¬°¦ó§Ú³£³]¤£¥X¨Ó?

¦Ñ©Çµª¡G

  1. ¤W¤èµL"¤j¤p½Õ¾ã" ¤Î Title ªº Form ¡A¨ä Border = 0 (¨S¦³®Ø½u) ¡A·í§A§â¥¦ WindowsState=2 (³Ì¤j¤Æ) ®É¡A¥¦·|³s Windows TaskBar ³£»\±¼¡A¦Ó³o¤]¬O¦¹ºØ Form ªº¨Ï¥Î¥Øªº(§â¾ã­Ó Windows ®à­±¾B±¼)¡C
  2. «ç¼Ë­pºâ TaskBar ªº¼e«×¤Î¥¦ªº Align ¡A®£©È´N±o°Ê¥Î API ¤F¡A¦]¬° Screen ª«¥ó¨ÃµLªk´£¨Ñ¦¹ºØ°T®§¡C
  3. ¤£¹L VB ¥~«Ø±±¨î¶µ SysInfo Control ¡A´£¨Ñ¤F¤@­Ó¤£»Ý¨Ï¥Î API ªº´À¥N¤è®×¡A§A¥i¥H¡G
  4. §â¤U¦Cµ{¦¡¼g¤J§Y¥i¡G

¦^¯Á¤Þ


·Æ¹«´å¼Ð±m¦âÅܶ¥Õ


§Ö¨ú ¼¶¼g©ó¤å³¹

¥ÎVB ¼g¤@µ{¦¡,¨Ï¥Î¦Û­q¤§MOUSE ICON,¨ä ´å¼Ð¬°±m¦â,,,¦ý µ{¦¡¦bRUN®É,¹C¼Ð«oÅܦ¨¤F¶Â¥Õªº....WHY ???

¦Ñ©Çµª¡G

  1. VB ªº·Æ¹««ü¼Ð¤ä´©°ÆÀɦW¬° CUR ©M ICO Àɪº¨âºØ®æ¦¡¹ÏÀÉ¡C
  2. CUR ®æ¦¡¹ÏÀÉ¡A¤£ºÞ¨ä­ì¥ý¬O¶Â¥ÕÁÙ¬O±m¦â¡A¸ü¤J VB ¤¤Åã¥Ü³£¬O¶Â¥Õªº¡C
  3. ICO ®æ¦¡¹ÏÀɤ~·|¬O±m¦âªº¡C
  4. VB ¤£¤ä´©°ÊºA·Æ¹««ü¼Ð(°ÆÀɦW ANI)¡C

¦^¯Á¤Þ


¤E¤E­¼ªkªí


¹ç­Y ¼¶¼g©ó¤å³¹

¦U¦ìºô¤Í.....§Ú¬O¤@­ÓVB5.0ªºªì¾ÇªÌ.....¦Ñ®v¥X¤F¤@­ÓÃøÃD.....¨º´N¬O­n¥Î±_ª¬°j°é¼g¤@­Ó¤E¤E­¼ªkªíªºµ{¦¡......¦Ó§Ú¤S­è¾ÇVB5.0.....¹ê¦b¬O¤£¤Ó·|¼g.....©Ò¥H·Q½Ð¦U¦ì¦n¤ßªººô¤Í­ÌÀ°À°§Ú.....·P¿E¤£ºÉ.....

¦Ñ©Çµª¡G

  1. ¨ä¹ê³o»ò°ò¥»ªº°j°é¨Ï¥Î°ÝÃD¡A§â¥¦©ñ¦b½d¨Ò¤¤¡A¤j·§³\¦h°ª¤â³£­n¤j³Û"¦Ñ©Ç!½Ðª`·N¤ô·Ç°ÝÃD¡C"
  2. ¨S¿ìªk¡A½Ö¥s§Ú­Ì¥sªì¯Å¥Í½d¨Ò©O¡H¨º´N½Ð¤j®a¥ý¤£­n¬Ý½d¨Ò¡A¦Û¤v¼g¼g¬Ý¡A¦A©M§Úªº¤ñ¤@¤U¡A¦³¨S¤ñ§Ú¼gªº§ó²¼ä¡C
  3. ½d¨Ò¦p¤U¡G
    Private Sub Form_Click()
    Dim I As Byte, J As Byte
    Dim PrintString As String
        For I = 1 To 9
            For J = 1 To 9
                PrintString = PrintString + _
                    "[" & Right("00" & Trim(Str(I * J)), 2) & "]"
            Next
            Me.Print PrintString
            PrintString = ""
        Next
    End Sub

¦^¯Á¤Þ


©ì¦²½Æ»s¦h­ÓÀÉ®×½d¨Ò


±H¥óªÌ: 78go

½Ð°Ý.... vb¥i¥H°µ¦¨¹³cview¤@¼Ëªº¤u¯à¶Ü??? (´N¬O¥i¥H¿ï¨ú¦h­Ó¸ê®Æ«á¦A±N¥¦¦s¤J¨ä¥L¦a¤è...¦pdisk,©Î¸ê®Æ®w¤º)    ½Ð´£¨Ñ½d¨Ò....·N¨£.....thanks

¦Ñ©Çµª¡G

VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5475
ClientLeft = 60
ClientTop = 345
ClientWidth = 6510
LinkTopic = "Form1"
ScaleHeight = 5475
ScaleWidth = 6510
StartUpPosition = 3 '¨t²Î¹w³]­È
Begin VB.Frame Frame2
Caption = "¥Ø¼Ð°Ï"
Height = 4935
Left = 3360
TabIndex = 4
Top = 120
Width = 3015
Begin VB.DriveListBox Drive2
Height = 300
Left = 360
TabIndex = 7
Top = 360
Width = 2295
End
Begin VB.DirListBox Dir2
Height = 1140
Left = 360
TabIndex = 6
Top = 840
Width = 2295
End
Begin VB.FileListBox File2
DragIcon = "Form1.frx":0000
Height = 2250
Left = 360
MultiSelect = 2 '¶i¶¥¦h­«¿ï¨ú
TabIndex = 5
Top = 2280
Width = 2295
End
End
Begin VB.Frame Frame1
Caption = "¨Ó·½°Ï"
Height = 4935
Left = 120
TabIndex = 0
Top = 120
Width = 3015
Begin VB.FileListBox File1
DragIcon = "Form1.frx":030A
Height = 2250
Left = 360
MultiSelect = 2 '¶i¶¥¦h­«¿ï¨ú
TabIndex = 3
Top = 2280
Width = 2295
End
Begin VB.DirListBox Dir1
Height = 1140
Left = 360
TabIndex = 2
Top = 840
Width = 2295
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 360
TabIndex = 1
Top = 360
Width = 2295
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

'½Ð¤£­n§Ñ¤F¡A¨Ó·½Àɮײ°¦b³]­p¶¥¬q MultiSelect Äݩʤ@©w­n³]¬° True
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub

Private Sub Dir2_Change()
File2.Path = Dir2.Path

End Sub

Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub

Private Sub Drive2_Change()
Dir2.Path = Drive2.Drive
End Sub

Private Sub File1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
'«ö·Æ¹«¥kÁäªí¥Ü©ì¦²¶}©l
If Button = 2 Then
File1.Drag 1
End If
End Sub

Private Sub File2_DragDrop(Source As Control, X As Single, Y As Single)
Dim I As Integer
'¦pªG©ì¦²¨Ó·½¬OÀɮײ°
If TypeName(Source) = "FileListBox" Then
For I = 0 To Source.ListCount - 1
'¦pªGÀɮ׳Q¿ï¨ú
If Source.Selected(I) Then
FileCopy Source.Path & "\" & Source.List(I), _
File2.Path & "\" & Source.List(I)
End If
Next
'¥Ø¼ÐÀɮײ°§ó·sÅã¥Ü
File2.Refresh
'¨Ó·½Àɮײ°µ²§ô©ì¦²°Ê§@
Source.Drag 2
End If
End Sub

¦^¯Á¤Þ


¾ã¼Æ¸ÉªÅ¥Õ¡A¤p¼Æ¸É¹s¡C


jsc72232 ¼¶¼g©ó¤å³¹

½Ð°Ý Format ¨ç¼Æ­n«ç¼Ë³]©w¤~¯à¤£½×¼Æ­È¤j¤p¡A³£¦³©T©wªø«×¡A¨Ã¥B¾ã¼Æ­Y¤£¨¬ªø«×«h¥HªÅ¦ì¤¸¶ñ¤J¡A¤p¼Æ³¡¥÷«h¥H "0" ¦r¤¸¸É¤J¡C

¦Ñ©Çµª¡G

'¸Õ¸Õ¬Ý¤U­±³o¬q
Option Explicit
Private Sub Command1_Click()
    '³]©w¾ã¼Æ¤E¦ì¡A¤p¼Æ¨â¦ì¡A¤p¼Æ¤£¨¬¸É¹s¡A¾ã¼Æ¤£¨¬¸ÉªÅ¥Õªº®æ¦¡¡C
    Text1.Text = Right(Space(11) & Format(5459.4, "###,###,###.00"), 14)
End Sub

Private Sub Form_Load()
    'Courier New ¦r«¬¬O¨C­Ó¦r¤j¤p³£¤@¼Ë¡A
    '¥i¥H§K¥h­^¤å¦r¼e¯¶¤£¤@ªº¹ï»ô§xÃø¡C
    Text1.FontName = "Courier New"
End Sub

¦^¯Á¤Þ


¥|±Ë¤­¤J¨ç¼Æ


XXX ¼¶¼g©ó¤å³¹

VB¦³µL²{¦¨ªº¥|±Ë¤­¤J¨ú¾ã¼Æªº¨ç¼Æ¥i¥Î?

¦Ñ©Çµª¡G

  1. ¨ÃµL²{¦¨ªº¥|±Ë¤­¤J¨ç¼Æ¥i¥Î¡A¦ý VB ¦b¥Ñ¸ûºë½Tªº¼Æ­È¶i¤J¾ã¼Æ®É¡A³£·|¦Û°Ê¦³¥|±Ë¤­¤Jªº°Ê§@¡C
  2. §A¤]¥i¥H¼g¤@­Ó¹³¤U­±ªº½d¨Ò¨Ó¥Î¡G
    Option Explicit
    Private Sub Command1_Click()
    Dim ¨ú¦ì¼Æ As Byte
    Dim SendNum As Double
    Dim I As Byte

        '³]©w­n¥|±Ë¤­¤Jªº¼Æ­È
        SendNum = 0.123456789123456
        '¤p¼ÆÂI¤U¨ú´X¦ì¼Æ
        ¨ú¦ì¼Æ = 10

        For I = 0 To ¨ú¦ì¼Æ
            List1.AddItem ¥|±Ë¤­¤J¶i¦ì(SendNum, I)
        Next
    End Sub

    Private Function ¥|±Ë¤­¤J¶i¦ì(ByVal newNum As Double _
            , ByVal NumLong As Byte) As Double
    Dim TempString As String

        TempString = Trim(CStr(newNum))
        '§â¤p¼ÆÂI«e¾ã¼Æ¥h±¼¡A¥u¯d¤p¼Æ¡C
        TempString = Right(TempString, Len(TempString) - InStr(1, TempString,
    "."))

        '¦pªG¶Ç¤J¤§¨ú¦ì¼Æ¶W¹L¤p¼Æ¦ì¼Æ¡A«h¥H¤p¼Æ¦ì¼Æ¬°¨ú¦ì¼Æªø«×¡C
        If Len(TempString) < NumLong Then
            NumLong = Len(TempString)
        End If

        ¥|±Ë¤­¤J¶i¦ì = Format(newNum, "0." & String(NumLong, "0"))
    End Function

¦^¯Á¤Þ


Åý TextBox ¤£Åܦ⪺ Unabled


Â÷»î ¼¶¼g©ó¤å³¹

¦bvb¤¤¦p¦ó¨Ï textbox ¤£¯à¿é¤J¸ê®Æ¡A¦ý¤S¤£·Q¨Ï±o¤å¦r®Øªº¦rÅܦ¨¦Ç¥Õ¦â¦Ó¨Ï¥Î enabled ÄÝ©Ê¡A¤£ª¾¬O§_ÁÙ¦³¨ä¥Lªº¤èªk¥i¥H¥Î©O???

¦Ñ©Çµª¡G

  1. Private Sub Text1_GotFocus()
        Text1.Locked = True
    End Sub
    Private Sub Text1_LostFocus()
        Text1.Locked = False
    End Sub
  2. Private Sub Text2_KeyPress(KeyAscii As Integer)
        KeyAscii = 0
    End Sub
  3. ¥H¤W¨âºØ³£¥i¥H¡C

¦^¯Á¤Þ


¥Î ScrollBar ±²°Ê Label


³q°T®a ¼¶¼g©ó¤å³¹ ...

½Ð°Ý¸Ó¦p¦ó¨Ï¥ÎVBªºVScrollBAR¥h³sµ²¥²¶·Åã¥Ü«Ü¦h¦rªºLabel,¨Ï¨ä¥i¥H¨Ï¥ÎVScrollBAR½­¶©O??

¦Ñ©Çµª¡G

Option Explicit
'¨ä¹ê¥Î Vscroll ±²°Ê Label ¡A©M¥Î Timer ±² Label ¬O¤@¼Ëªº­ì²z¡A
'©Ò¥H¦¹³B§Ú§â Label ±²°Ê²°»P¹q¤l±²°Ê¬ÝªO¦X¦Ó¬°¤@¡A½Ð¤j®a«Øij§åµû¡C
'¥»½d¨Ò¶·¥Î Label1,Vscroll1,Command1,Picture1,Timer1
Private Sub Command1_Click()
    If Command1.Caption = "¶}©l¹q¤l§G§iÄæ" Then
        Command1.Caption = "µ²§ô¹q¤l§G§iÄæ"
        '¥´¶}¦Û°Ê±²°ÊÅX°Ê¾¹
        Timer1.Enabled = True
    Else
        Command1.Caption = "¶}©l¹q¤l§G§iÄæ"
        'Ãö¤W¦Û°Ê±²°ÊÅX°Ê¾¹
        Timer1.Enabled = False
    End If
End Sub
Private Sub Form_Load()
Dim Loadstring As String
Dim BuffString As String
Dim FileHandle As Integer
    '§â Label ³]¦¨³z©ú¤~¥i¥H¬Ý¨ì Picture1 ­I´º
    Label1.BackStyle = 0

    With Picture1
        '³æ¦ì³]¬°¹Ï¯À¥iÁקK Label °ª«×¶W¹L Scroll ¤ä´©¤W­­
        .ScaleMode = 3
        '§â Vscroll Align Picture Right
        VScroll1.Move .ScaleWidth - VScroll1.Width, _
                .ScaleTop, VScroll1.Width, .ScaleHeight
        '³Ñ¤UªºªÅ¶¡µ¹ Label ¨ÓÅã¥Ü
        Label1.Width = .ScaleWidth - VScroll1.Width
        Label1.Move .ScaleLeft, .ScaleTop
    End With

    '¶}±Ò¤å¦rÀɮסA¨Ã©ñ¤J Label ¤¤
    FileHandle = FreeFile
    Open "c:\temp\vtcolor.htm" For Input As #FileHandle
    Do While Not EOF(FileHandle)
        Line Input #FileHandle, Loadstring
        BuffString = BuffString + Loadstring + vbCrLf
    Loop
    Close #FileHandle
    Label1.Caption = BuffString

    '¥b¬íÄÁ±²¤@¦¸
    Timer1.Interval = 500
    '¥ý§âÅX°Ê¾¹ÃöµÛ¡C
    Timer1.Enabled = False
    Command1.Caption = "¶}©l¹q¤l§G§iÄæ"

    '±Ò°Ê¶Ã¼ÆºØ¤l¡Aµ¥¤U¿ï¨ú¶Ã¼Æ¦â±m·|¥Î¨ì¡C
    Randomize
End Sub
'¦]¬° Label1.Autosize ©M Label.WordWrap ÄÝ©Ê·f°t¥X¨Óªº¤j¤p¤£¯àºë½T¹ï»ô¡A
'¦]¦¹§Ú­Ì¦Û¦æ¨Ì Label.Caption ¤º®e½Õ¾ã°ª«×
Private Sub Label1_Change()
    Label1.Height = Picture1.TextHeight(Label1.Caption)
    'VScorll ³Ì¤j­È¬° Label °ª«×
    VScroll1.Max = Picture1.TextHeight(Label1.Caption)
    'VScorll ±²°Ê­È¬° Label ¦r¤¸°ª«×
    VScroll1.SmallChange = Label1.FontSize
    'VScorll ½­¶­È¬° Picture1 °ª«×
    VScroll1.LargeChange = Picture1.ScaleHeight
End Sub
Private Sub Timer1_Timer()
    If VScroll1.Value + Label1.FontSize <= VScroll1.Max Then
        'Label ¦V¤U©Ô¤@­¶
        VScroll1.Value = VScroll1.Value + VScroll1.SmallChange
    Else
        'Label ±qÀYÅã¥Ü
        VScroll1.Value = 0
    End If
End Sub
Private Sub VScroll1_Change()
Dim RndNum As Byte
    'Label °t¦X Vsrcoll ­È±²°Ê
    Label1.Move Picture1.ScaleLeft, Picture1.ScaleTop - VScroll1.Value

    '¥H¤U¯Â¬°ÄÌ¥]³]­p¡A¤£³ßÅw´N®³±¼
    '¨ú 0~15 ªº¤@­Ó¶Ã¼Æ
    RndNum = Int(Rnd * 16)
    '¨ú QuickBasic Color ¤Q¤»¦â©w¸q¤§¤@¦â
    Picture1.BackColor = QBColor(RndNum)
    'Label ¬° Picture ªº¤Ï¬Û¦â
    Label1.ForeColor = QBColor(15 - RndNum)

End Sub

¦^¯Á¤Þ


¦h°j°é¦P®É¶i¦æ


±H¥óªÌ: ½²¤å¤s (m2664)

µ{¦¡»Ý­n¦³¨â­Ó°j°é¦P®É¹Bºâ¡A¦P®É°õ¦æ¡A¤£ª¾¹D¦³¦óºØ¿ìªk¥i¥H¨ì¦h¤uªº¥Øªº¡H

¦Ñ©Çµª¡G

­n½Í°_ Windows µ{¦¡¦h¤u°ÝÃD¡A³o°ÝÃD¤S½ÆÂø¤F¡A¤£½Í²z½×¡A¥u½Í§Ú¥Î¹Lªº¥i¦æ¿ìªk¡G

  1. ¤£­n¥Î°j°é¡A¦]¬°§Ú¤w©¹ªº´ú¸Õ¤@­Ó°j°é¦b¶]®É¥t­Ó°j°é·|¼È°±¡C
  2. §A¥i¥H¥Î¨â­ÓTimer ¡A±Ò°Ê®É Timer.Enable=True ¶i¤J¦A¥Î¼Æ­È§PÂ_²×¤î±ø¥ó¦¨¥ß®É¡A§â Timer.Enable =False¡C

¦^¯Á¤Þ


¥Î¤å¦rÀÉÀx¦sµ{¦¡³]©w


±H¥óªÌ: ²³ì«F

¦p¦ó±N¤@µ{¦¡¤¤ªº¤@¤Á³]©w­È(¦pªG¤£¤Öªº¸Ü),Àx¦s¦b¤@°¦¯Â¤å¦rÀɤ¤,§Ú¥u§Æ±æ¯à°÷¦s¦b¯Â¤å¦rÀɤ¤!!¨Ã¥B¤@­Ó³]©w­È¤@¦æ¡C

¦Ñ©Çµª¡G

  1. ¨ä¹êÀx¦sµ{¦¡¤¤ªº³]©w­È¤£¤@©w­n¥Î GetSetting ©M SaveSetting ©M Windows µn¿ý¶µ¥ØÅÍ©M¦b¤@°_¡A©Î³\¦Ñ©Ç§û¤H¼~¤Ñ¡A¤ß¤¤Á`·Q¸U¤@¨º­Óµ{¦¡³]­p®v©M§Ú¤@¼Ë¤£ªø²´·ú¡A¥Î¤F¦P¤@­Ó¸`°Ï¦WºÙ¡A¨º¨â­Óµ{¦¡¤£­n¥´¬[¤F¶Ü¡A©Ò¥H[ÀH¤H¤½¶ýÀH¤H«ô](¥x»y«U¿Î)¡A¦Ñ©ÇÁÙ¬O³ßÅw§âµ{¦¡³]©w¥ÎÀɮשñ¦b¦Û¤vªºµ{¦¡¥Ø¿ýùØ¡A¦Û¤v­t³dÀx¦s¤ÎŪ¤J¡C
  2. ¦pªG­n¥Î¤å¦rÀɦs³]©wµ{¦¡³]©w¡A§Ú«Øij¨Ï¥Î¨â­Ó°ÊºA String °}¦C¡A¤@­Ó©ñ¯Á¤Þ­È(¦p ©Ê§O)¡A¤@­Ó©ñ³]©w­È(¦p¨k,¤k)¡A§â¥¦­Ì Index ­È¬Û¹ïÀ³ ¡AµM«á¥Î Open File ¤è¦¡¡A°t¦X Input # , Write# ³¯­z¨ÓŪ¥X¤Î¼g¤J¡A©³¤Uªºµ{¦¡½d¨Ò´N¬O³o¼Ëªº°µªk¡C
    '¥»½d¨Ò§Q¥Î¤@´¶³q¤å¦rÀɨÓÀx¦s Form ªºµøµ¡¤j¤p³]©w¡A
    '¥H«K¤U¦¸¶}ÀÉ®ÉÁÙ­ì µøµ¡³]©w
    Option Explicit

    '³]©w¦WºÙ¯Á¤Þ
    Dim SetKey() As String
    '³]©w¤º®e°}¦C
    Dim SetValue() As String
    '³]©wÀx¦sÀɦWºÙ§t¸ô®|
    Dim FileString As String

    Private Sub Form_Load()
    ReDim SetKey(4)
    ReDim SetValue(4)

    FileString = App.Path
    If Right(FileString, 1) <> "\" Then
    FileString = FileString & "\"
    End If

    '³]©wÀx¦sÀɸô®|¤Î¦WºÙ
    FileString = FileString & "user.set"

    If Dir(FileString) = "" Then
    '°õ¦æÀx¦s³]©w¦Û­q¨ç¼Æ
    SaveSetting
    Else
    '°õ¦æŪ¤J³]©w¦Û­q¨ç¼Æ
    LoadSetting
    End If

    End Sub

    Private Sub FormSet(ByVal SetIndex As Single)
    '¨Ì SetKey ¦WºÙ¯Á¤Þ¨M©w³]©w¶µ¥Ø
    Select Case SetKey(SetIndex)
    Case "WindowsState"
    Me.WindowState = SetValue(SetIndex)
    Case "Left"
    Me.Left = SetValue(SetIndex)
    Case "Top"
    Me.Top = SetValue(SetIndex)
    Case "Width"
    Me.Width = SetValue(SetIndex)
    Case "Height"
    Me.Height = SetValue(SetIndex)
    End Select
    End Sub

    Private Sub SaveSetting()
    Dim FileHandle As Integer
    Dim I As Long

    '±N Form ³]©w­È¶ñ¤J¦WºÙ¯Á¤Þ°}¦C¤Î¤º®e³]©w°}¦C
    SetKey(0) = "WindowsState": SetValue(0) = Me.WindowState
    '·íµøµ¡³Ì¤j¤Æ©Î³Ì¤p¤Æ®É¡A¤£Àx¦s Form ¦ì¸m¤Î¤j¤p³]©w
    If SetValue(0) = 0 Then
    SetKey(1) = "Left": SetValue(1) = Me.Left
    SetKey(2) = "Top": SetValue(2) = Me.Top
    SetKey(3) = "Width": SetValue(3) = Me.Width
    SetKey(4) = "Height": SetValue(4) = Me.Height
    End If

    '±N³]©w­È¼g¤J user.set ÀÉ
    FileHandle = FreeFile
    Open FileString For Output As #FileHandle
    For I = 0 To UBound(SetKey)
    Write #FileHandle, SetKey(I), SetValue(I)
    Next

    Close #FileHandle
    End Sub

    Private Sub Form_Unload(Cancel As Integer)
    '¦bµøµ¡µ²§ô«e±N³]©w­È¦sÀÉ
    SaveSetting
    End Sub

    Private Sub LoadSetting()
    Dim FileHandle As Integer
    Dim I As Long

    '±N user.set ¤º®eŪ¤J¨â­Ó³]©w°}¦C
    FileHandle = FreeFile
    Open FileString For Input As #FileHandle
    For I = 0 To UBound(SetKey)
    Input #FileHandle, SetKey(I), SetValue(I)
    '³v¶µ°õ¦æ Form ³]©w
    FormSet I
    Next

    Close #FileHandle

    End Sub

¦^¯Á¤Þ


±×¦Vº¥¼hªº»s§@


±H¥óªÌ: wopeter

§Ú·Q°ÝÃö©ó±×¦Vº¥¼hªº¼gªk

¦Ñ©Çµª¡G

Option Explicit
'°µ±×¨¤½u©Êº¥¼h¯u¥¿ªº³~®|À³¸Ó¬O±Ò¥Î¤T¨¤¨ç¼Æ¡A¨Ì§¨¨¤©·«×ºâ¥X
'¹ï¨¤ÂI¦ì¸m¡A¦ý¦]¥»¤H°ª¤¤®É¥N«Ü¥´²V¡A¤T¨¤¨ç¼Æ±q¨Ó¨SÀ´¹L¡A©Ò
'¥H¥u·|°µ 45 «×¨¤±×½uº¥¼h¡C©Ò©¯¥~­±Ã¸¹Ï³nÅ骺±×¨¤½u©Êº¥¼h¤]
'³£¬O 45 «×¡A©Ò¥H¦Ñ©Ç¤]¤£ºâ¤Ó¥áÁy¡C
'45 «×¨¤½u¦³­Ó«Ü Easy ªº¯S©Ê¡A´N¬O§¨ª½¨¤ªº¨âÃäµ¥ªø¡A©Ò¥H¨D
'(x,y) ªº¥ª¹ï¨¤ÂI´N¬O (x-ScaleHeight,y+ScaleHeight)¡A
'(x,y) ªº¥k¹ï¨¤ÂI´N¬O (x+ScaleHeight,y+ScaleHeight)¡A
'©Î³\¦³¤H­n°Ý¨º x-ScaleHeight<0 ©Î x+ScaleHeight>ScaleWidth
'«ç»ò¿ì¡Hµª®×¬O¨S«ç»ò¿ì¡A§A´NÅý¥¦µe¥X¥h¡A¤Ï¥¿·|Åã¥Ü¥X¨Óªº¥u
'¦³¨º­ÓÅã¥Ü®Ø¦Ó¤w¡A§AºÞ¨º±ø½u¬Oµe¨ì¤ÑÃäÁÙ¬O®ü¨¤¡H©Ò¥HÆZ·F¤@
'µf¡A¦Ñ©Çªº½u©Êº¥¼h²°´N°µ¥X¨Ó°Õ¡C
'´ú¸Õ¥»½d¨Ò½Ð¦b Form ¤W¥¬¸m Picture1,Frame1,Label1,Text1¡A¨Ã
'¦b Frame1 ®Ø¬[¤º©ñ¤J Option1(0),Option1(1),Option1(2),Option1(3)
'½u±ø¼e«×³]©w
Dim LineWidth As Byte
'½u±ø°_ÂIªº X ®y¼Ð
Dim UpStart As Long
'½u±ø²×ÂIªº X ®y¼Ð
Dim DnStart As Long
'¦â±mºÝÂI¿ï¾Ü
Dim ColorStart As Integer
Private Sub Form_Load()
    Frame1.Caption = "¥ú·½¤è¦V¿ï¾Ü"
    Option1(0).Caption = "¥ú·½¥ª¤W"
    Option1(1).Caption = "¥ú·½¥ª¤U"
    Option1(2).Caption = "¥ú·½¥k¤W"
    Option1(3).Caption = "¥ú·½¥k¤U"
    Me.Caption = "±×¨¤½u©Êº¥¼h½d¨Ò"
    Label1.Caption = "½u±ø¼e«×"

    '³]©w½u±ø¼e«×¬° 8 Pixels
    '½u±ø¼e«×·U²Ó¡Aµe­±·U²Ó½o¡A¦ýÅã¥Ü¤]·U¶O®É¡C
    Text1.Text = 8

    With Picture1
        'Picture ³æ¦ì¬° Pixel
        .ScaleMode = 3
        '³]©w Picture µe½u¼e«×
        .DrawWidth = LineWidth
    End With

    '¹w³]¥ú·½¬°¥ª¤W
    Option1(0).Value = True
End Sub
Private Sub Option1_Click(Index As Integer)
    With Picture1
        Select Case Index
            Case 0
                '¥H Picture ¥ªºÝ¬°½u°_ÂI X ¶b
                UpStart = 0
                '½u²×ÂI X ¶b¦V Picture ¥ªºÝ²¾¥X¤@­Ó Picture °ª«×¶ZÂ÷
                DnStart = -.ScaleHeight
                '¥H 255 ¬°¦â±m°_ÂI
                ColorStart = 255
            Case 1
                '½u°_ÂI X ¶b¦V Picture ¥ªºÝ²¾¥X¤@­Ó Picture °ª«×¶ZÂ÷
                UpStart = -.ScaleHeight
                '¥H Picture ¥ªºÝ¬°½u²×ÂI X ¶b
                DnStart = 0
                ColorStart = 255
            Case 2
                UpStart = -.ScaleHeight
                DnStart = 0
                '¥H 0 ¬°¦â±m°_ÂI
                ColorStart = 0
            Case 3
                UpStart = 0
                DnStart = -.ScaleHeight
                ColorStart = 0
        End Select
    End With

    'PictureBox ­«Ã¸
    Picture1_Paint
End Sub
Private Sub Picture1_Paint()
Dim I As Long, Total As Long
Dim Trans256 As Integer

    '¥þ³¡Ã¸¹Ï¦¸¼Æ¬° Picture ¼e«×¥[°ª«×
    Total = Picture1.ScaleWidth + Picture1.ScaleHeight

    '¨Ì½u±ø¼e«×¦Ó¨M©w¹j´XÂIµe¤@±ø½u
    For I = 0 To Total Step LineWidth
        '§â 256 ¶¥¦â±m±j«×¥­§¡¤À°tµ¹Á`ªø«×¡A¥H§Q¶¥¼hÅã²{
        Trans256 = (255 / Total) * I
        'Abs(UpStart+DnStart)=Picture1.ScaleHeight,¤§©Ò¥H
        '¤£¥Î ScaleHeight ¬OÁקK¨C¦¸¬d®Ö ScaleHeight ©ì©µ
        '³B²z³t«×
        Picture1.Line (I + UpStart, 0)-(I + DnStart, _
                Abs(UpStart + DnStart)), _
                RGB(Abs(ColorStart - Trans256), Abs(ColorStart - Trans256),
0)
    Next
End Sub
Private Sub Text1_Change()
    If Val(Text1.Text) > 255 Then Text1.Text = 255
    If Val(Text1.Text) <= 0 Then Text1.Text = 1
    LineWidth = Val(Text1.Text)
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
    'KeyAscii 32 ¥H¤U¬O¤@¨Ç±±¨îÁä¡AÄdºI·|³y¦¨¾Þ§@»Ùê
    If KeyAscii >= 33 Then
        If KeyAscii <= vbKey9 And KeyAscii >= vbKey0 Then
        Else
            '§â KeyAscii ³]¬° 0 ´N¬O¨ú®ø¿é¤J
            KeyAscii = 0
            MsgBox "¤£¥i¿é¤J«D¼Æ¦r¦r¤¸"
        End If
    End If
End Sub

¦^¯Á¤Þ


¥Î·Æ¹«©ì¦²¹Ï¤ù


±H¥óªÌ: ssman

½Ð°Ý¡A§Ú·Q§â¤@¹Ï¤ù©ì¦²¨ì¥tªÅ¥Õ¹Ï§Î¤è¶ô¡A¦p¦ó¦b©ì¦²¹Ï¤ù®ÉÅã¥Ü¸Ó¹Ï¤ù¨Ã§â¥¦©ñ¨ì¸ÓªÅ¥Õ¹Ï§Î¤è¶ô¡C

¦Ñ©Çµª¡G

  1. ¥Î DragMove ©M DragDrop ­ì©l¤èªk¡A¦³¨â¤j­­¨î¡G
  2. ©Ò¥HÁÙ¬O¥Î Mouse_Move ª½±µ²¾°Ê¹Ï¤ù·|¤ñ¸û¶¶ºZ¡Cµ{¦¡½X¦p¤U¡G
    Option Explicit
    '´ú¸Õ¥»½d¨Ò½Ð¦b Form ¤W¥¬¸m Image1,Shape1
    'ªð¦^®y¼Ð¶b
    Dim SaveX As Single, SaveY As Single
    '©w¦ì®y¼Ð¶b
    Dim OldX As Single, OldY As Single
    Private Sub Form_Load()
        Image1.Picture = LoadPicture("C:\temp\king.bmp")
        '³]©w¼³§J²¾¤J°Ï
        With Shape1
            .Width = Image1.Width
            .Height = Image1.Height
            .FillColor = &HFFFFFF
            .FillStyle = 0
        End With
    End Sub
    Private Sub Image1_MouseDown(Button As Integer, Shift As Integer, X As
    Single, Y As Single)
        '«ö¦í¥ªÁä¤~¶}©l©ì¦²
        If Button = 1 Then
            '³]©w²¾°Ê¶ZÂ÷­pºâ©w¦ìÂI
            OldX = X
            OldY = Y
            '³]©w¤Ï¦^®y¼Ð¡A¥H¨Ñ¥¼©ñ¤J¸m¤J°Ïªð¦^¤§¥Î
            SaveX = Image1.Left
            SaveY = Image1.Top
        End If
    End Sub
    Private Sub Image1_MouseMove(Button As Integer, Shift As Integer, X As
    Single, Y As Single)
        If Button = 1 Then
            With Image1
                'Image1 ²¾°Êªº¶ZÂ÷¬°²{ x,y »P OldX,Y ªº¶ZÂ÷
                .Move .Left + X - OldX, .Top + Y - OldY
            End With
        End If
    End Sub
    Private Sub Image1_MouseUp(Button As Integer, Shift As Integer, X As Single,
    Y As Single)
        If Button = 1 Then
            With Shape1
                'Image1 ¥ª¤WºÝ²¾¤J¸mµP°Ï«h©ñ¤J¸mµP°Ï
                If Image1.Left > .Left And Image1.Left < .Left + .Width _
                        And Image1.Top > .Top And Image1.Top < .Top + .Height
    Then
                    Image1.Move .Left, .Top
                '¥¼¶i¤J«h¤Ï¦^­ì¦ì¸m
                Else
                    Image1.Move SaveX, SaveY
                End If
            End With
        End If
    End Sub

¦^¯Á¤Þ


¦^­º­¶

1