home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form fClipbrd
- BackColor = &H00C0C0C0&
- Caption = "Visual Clipboard"
- ClientHeight = 3615
- ClientLeft = 390
- ClientTop = 3210
- ClientWidth = 4290
- Height = 4110
- Left = 285
- LinkTopic = "Form2"
- ScaleHeight = 3615
- ScaleWidth = 4290
- Top = 2820
- Width = 4500
- Begin vsInForm VSInForm1
- BarColor = &H00808000&
- BarColorInactive= &H00808000&
- BarHeight = 36
- BarStyle = 3 'Raised
- ButtonsLeft = 0 '0
- ButtonsRight = 2 '2
- CapAlign = 1 'Left Center
- CapColor = &H00FFFFFF&
- CapColorInactive= &H00FFFFFF&
- CapMultiLine = -1 'True
- Caption = " Visual Clipboard"
- ClipMon = -1 'True
- ConvInfo = FCLIPBRD.FRX:0000
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 12
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- FrameColor = &H00C0C0C0&
- FrameColorInactive= &H00C0C0C0&
- FrameStyle = 4 'Raised Frame
- FrameWidth = 12
- Left = 735
- MinHeight = 870
- MinWidth = 3500
- PictRight0 = FCLIPBRD.FRX:000B
- PictRight1 = FCLIPBRD.FRX:0181
- Top = 1260
- End
- Option Explicit
- Sub Form_Load ()
- VSinform1.CustomFrame = True
- Me.Show
- MsgBox "Copy something to the clipboard and see it on the Visual Clipboard"
- End Sub
- Sub VSInForm1_ClickRButton (Button As Integer)
- Select Case Button
- Case 0
- Unload Me
- Case 1 'Clear
- Me.Picture = LoadPicture()
- End Select
- End Sub
- Sub VSInForm1_NewClipboardData ()
- Me.Picture = clipboard.GetData()
- If clipboard.GetFormat(1) Then
- Cls
- Print clipboard.GetText()
- End If
- End Sub
-