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 


(*Call Internet Explorer From Delphi*)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Fri Jul 06, 2007 9:06 pm    Post subject: (*Call Internet Explorer From Delphi*) Reply with quote

Code:

program iexplor;

uses
  Windows, OLEAuto;


procedure OpenInternetExplorer( sURL : string );
const
  csOLEObjName = 'InternetExplorer.Application';
var
  IE        : Variant;
  WinHanlde : HWnd;
begin
  if( VarIsEmpty( IE ) )then
  begin
    IE := CreateOleObject( csOLEObjName );
    IE.Visible := true;
    IE.Navigate( sURL );
  end else
  begin
    WinHanlde := FindWIndow( 'IEFrame', nil );
    if( 0 <> WinHanlde )then
    begin
      IE.Navigate( sURL );
      SetForegroundWindow( WinHanlde );
    end else
    begin
      // handle error ...
    end;
  end;
end;

begin
//Website it will open with IExplorer
  OpenInternetExplorer( 'microsoft.com' );
end.

_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Jul 06, 2007 9:09 pm    Post subject: Reply with quote

Why are you just pasting shit from google?
Back to top
View user's profile Send private message
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Fri Jul 06, 2007 9:10 pm    Post subject: Reply with quote

slovach wrote:
Why are you just pasting shit from google?

For new Learners to learn A bit more about delphi.
Btw, not google lol.

_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Jul 06, 2007 9:12 pm    Post subject: Reply with quote

Lets pick a random line and throw it into google...

SetForegroundWindow( WinHanlde );

bang this comes up.

http://www.chami.com/tips/delphi/110396D.html

if you know so much about the language, how about you grace us with some of your knowledge?
Back to top
View user's profile Send private message
Ch04s
Master Cheater
Reputation: 0

Joined: 28 May 2007
Posts: 406
Location: One never knows.

PostPosted: Sat Jul 07, 2007 9:52 am    Post subject: Reply with quote

Lmao, people who are new to programming are going to look at this and be tottaly stumped. If you want to teach someone something you atleast tell them what each function may do and what not.
Back to top
View user's profile Send private message
TheIndianGuy
Advanced Cheater
Reputation: 102

Joined: 14 Jan 2007
Posts: 88

PostPosted: Sun Jul 08, 2007 11:29 am    Post subject: Reply with quote

Ch04s wrote:
Lmao, people who are new to programming are going to look at this and be tottaly stumped. If you want to teach someone something you atleast tell them what each function may do and what not.


*clap* *clap* *clap* i agree with you all the way
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