Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Delphi WebBot help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
thstrrthtrh
Cheater
Reputation: 0

Joined: 08 Sep 2008
Posts: 49

PostPosted: Fri Oct 17, 2008 9:27 pm    Post subject: Delphi WebBot help Reply with quote

Well I was hoping someone on this site could help me...
I am trying to make a Browser Bot for a game in Delphi I know how to make one in VB but I am trying to move away from VB and into Delphi completely.
In VB6 the command is...
WebBrowser1.Document.All("box1").Value = "username/or so"
But in Delphi when I try something like that I just get errors.
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Fri Oct 17, 2008 10:37 pm    Post subject: Re: Delphi WebBot help Reply with quote

kenthefurry wrote:
Well I was hoping someone on this site could help me...
I am trying to make a Browser Bot for a game in Delphi I know how to make one in VB but I am trying to move away from VB and into Delphi completely.
In VB6 the command is...
WebBrowser1.Document.All("box1").Value = "username/or so"
But in Delphi when I try something like that I just get errors.


Try WebBrowser1.Document.All.Tags('box1'), i'm not sure i've never dealt with Delphi's WebBrowser component.


Edit:
Or try the Document.All.Items('box1',0) thing
Back to top
View user's profile Send private message
Wintermoot
Expert Cheater
Reputation: 0

Joined: 08 Nov 2007
Posts: 198

PostPosted: Fri Oct 17, 2008 11:08 pm    Post subject: Reply with quote

Delphi uses the ' character for strings. Not "
Back to top
View user's profile Send private message
thstrrthtrh
Cheater
Reputation: 0

Joined: 08 Sep 2008
Posts: 49

PostPosted: Sat Oct 18, 2008 11:25 am    Post subject: Reply with quote

@HawwwaH
Yes I know that I have been using Delph for a few years now I just was trying to see if anyone had a answer for that one bit of code.
@smartz993
Yeah when I try to use either of those codes I just get errors for some reason the Delphi WebBrowser componet does not have the .All but5 thanks for trying.
.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites