|
|
#1 |
|
Junior Member
Join Date: Jul 2010
Posts: 1
|
IEParser for Delphi 7 - need help!
Hi all. I use IEParser for google parser for SEO. I run project and give error message of compiler: undeclared identifier 'Go' in string IEParser1.Go;
Code: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, IEParser; type TForm1 = class(TForm) IEParser1: TIEParser; Memo1: TMemo; Edit1: TEdit; StatusBar1: TStatusBar; Button1: TButton; procedure Button1Click(Sender: TObject); procedure IEParser1Anchor(Sender: TObject; hRef, Target, Rel, Rev, Urn, Methods, Name, Host, HostName, PathName, Port, Protocol, Search, Hash, AccessKey, ProtocolLong, MimeType, NameProp: String; Element: TElementInfo); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin IEParser1.URL:='http://www.google.com/ie?q='+Edit1.Text+'&num=100&hl=en&lr=&newwindow=1& c2coff=1'; IEParser1.Go; end; procedure TForm1.IEParser1Anchor(Sender: TObject; hRef, Target, Rel, Rev, Urn, Methods, Name, Host, HostName, PathName, Port, Protocol, Search, Hash, AccessKey, ProtocolLong, MimeType, NameProp: String; Element: TElementInfo); begin if Pos('google', href) = 0 then Memo1.Lines.Add(href); StatusBar1.SimpleText:='Find links: '+IntToStr(Memo1.Lines.Count+1); end; end. Help me please.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|