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 


What code would I use to open up the web?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Sat Jun 13, 2009 12:49 pm    Post subject: What code would I use to open up the web? Reply with quote

From a Delphi form? I want people to be able to click a label and it opens in there default browser?
_________________
Back to top
View user's profile Send private message
NoManchesPuto
I post too much
Reputation: 0

Joined: 24 Jan 2009
Posts: 2820

PostPosted: Sat Jun 13, 2009 1:11 pm    Post subject: Re: What code would I use to open up the web? Reply with quote

[Sex]~F3ar wrote:
From a Delphi form? I want people to be able to click a label and it opens in there default browser?




Lmao! I'm looking for it in my source! Use this:
Code:
ShellExecute(0, 'open', 'http://www.google.com', nil, nil, SW_SHOWNORMAL) ;

_________________
Back to top
View user's profile Send private message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Sat Jun 13, 2009 1:14 pm    Post subject: Re: What code would I use to open up the web? Reply with quote

~21 wrote:
[Sex]~F3ar wrote:
From a Delphi form? I want people to be able to click a label and it opens in there default browser?




Lmao! I'm looking for it in my source! Use this:
Code:
ShellExecute(0, 'open', 'http://www.google.com', nil, nil, SW_SHOWNORMAL) ;


NVM, I found another easier way, no code at all.

_________________
Back to top
View user's profile Send private message
NoManchesPuto
I post too much
Reputation: 0

Joined: 24 Jan 2009
Posts: 2820

PostPosted: Sat Jun 13, 2009 1:26 pm    Post subject: Reply with quote

Add this in your 'uses" under "interface":
Code:
Registry, ShellAPI;


Then add this code:
Code:
ShellExecute(0, 'open', 'http://www.google.com', nil, nil, SW_SHOWNORMAL) ;

_________________
Back to top
View user's profile Send private message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Sat Jun 13, 2009 7:45 pm    Post subject: Reply with quote

~21 wrote:
Add this in your 'uses" under "interface":
Code:
Registry, ShellAPI;


Then add this code:
Code:
ShellExecute(0, 'open', 'http://www.google.com', nil, nil, SW_SHOWNORMAL) ;


Lawl, Gmail chat FTW

_________________
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sun Jun 14, 2009 2:52 am    Post subject: Re: What code would I use to open up the web? Reply with quote

[Sex]~F3ar wrote:
~21 wrote:
[Sex]~F3ar wrote:
From a Delphi form? I want people to be able to click a label and it opens in there default browser?




Lmao! I'm looking for it in my source! Use this:
Code:
ShellExecute(0, 'open', 'http://www.google.com', nil, nil, SW_SHOWNORMAL) ;


NVM, I found another easier way, no code at all.
s
do you mind shareing.... -.-'

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
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