home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
tool
/
various
/
vbscrape
/
form1.frm
next >
Wrap
Text File
|
1995-02-27
|
3KB
|
102 lines
VERSION 2.00
Begin Form Form1
Caption = "Form1"
ClientHeight = 3540
ClientLeft = 1170
ClientTop = 1545
ClientWidth = 6930
Height = 4065
Left = 1110
LinkTopic = "Form1"
ScaleHeight = 3540
ScaleWidth = 6930
Top = 1080
Width = 7050
Begin CommandButton Command2
Caption = "Configure..."
Height = 375
Left = 4800
TabIndex = 2
Top = 240
Width = 1215
End
Begin CommandButton Command1
Caption = "Scrape"
Height = 375
Left = 4800
TabIndex = 1
Top = 720
Width = 1215
End
Begin CScraper Scraper1
Action = 3 'Get Edit Text
Left = 6120
Prop13 = "wade"
TabIndex = 0
Top = 360
End
Begin Label Label3
Caption = "1) Press SCRAPE to extract the data from the target window."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 495
Left = 360
TabIndex = 6
Top = 720
Width = 4095
End
Begin Label Label2
Caption = "1) Press CONFIGURE to select the window to scrape."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 360
TabIndex = 5
Top = 360
Width = 4095
End
Begin Shape Shape1
Height = 1935
Left = 1560
Top = 1440
Width = 4095
End
Begin Label scraped
Height = 1695
Left = 1680
TabIndex = 4
Top = 1560
Width = 3855
End
Begin Label Label1
Caption = "Scraped:"
Height = 255
Left = 720
TabIndex = 3
Top = 1440
Width = 855
End
End
Sub Command1_Click ()
On Error GoTo ERR1
scraper1.Command = 2
Scraped.Caption = scraper1.Scraped
Exit Sub
ERR1:
MsgBox ("Error: " + Error$)
Resume Next
End Sub
Sub Command2_Click ()
scraper1.Command = 1
End Sub