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 


[Help] Delphi MediaPlayer
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sun Jul 01, 2007 3:57 am    Post subject: [Help] Delphi MediaPlayer Reply with quote

How can I use the MediaPlayer on Delphi? I have no idea how can I open music\songs, stop them or anything else. What should I do to activate the song to work on the MediaPlayer...?
Thx really much :]

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Sun Jul 01, 2007 4:00 am    Post subject: Reply with quote

Go to the "System" tab, and make a TMediaPlayer.
Then - on the onbject inspector, choose "File Name...", and enter the file location, then to play you can or press on the Play button on the TMediaPlayer (Which most of the people keep hidden because it is ugly), or the common use of MediaPlayer1.Play;
To pause do MediaPlayer1.Pause;
To rewind to the start of the song do MediaPlayer1.Rewind;

Hope I helped =)

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sun Jul 01, 2007 4:18 am    Post subject: Reply with quote

Simsgy wrote:
Go to the "System" tab, and make a TMediaPlayer.
Then - on the onbject inspector, choose "File Name...", and enter the file location, then to play you can or press on the Play button on the TMediaPlayer (Which most of the people keep hidden because it is ugly), or the common use of MediaPlayer1.Play;
To pause do MediaPlayer1.Pause;
To rewind to the start of the song do MediaPlayer1.Rewind;

Hope I helped =)

The MediaPlayer cannot open mp3 files? :/

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 01, 2007 4:23 am    Post subject: Reply with quote

I use .res files, then your MediaPlayer can open them.

www.google.dk

Resources and Resource Streams.

theres probably more ways, but i use this one.
Back to top
View user's profile Send private message MSN Messenger
Simsgy
Grandmaster Cheater
Reputation: 0

Joined: 07 May 2007
Posts: 581
Location: My new avatar <3

PostPosted: Sun Jul 01, 2007 5:39 am    Post subject: Reply with quote

DevilGilad wrote:
Simsgy wrote:
Go to the "System" tab, and make a TMediaPlayer.
Then - on the onbject inspector, choose "File Name...", and enter the file location, then to play you can or press on the Play button on the TMediaPlayer (Which most of the people keep hidden because it is ugly), or the common use of MediaPlayer1.Play;
To pause do MediaPlayer1.Pause;
To rewind to the start of the song do MediaPlayer1.Rewind;

Hope I helped =)

The MediaPlayer cannot open mp3 files? :/


Yes it can

Edit:
Kevinnn, I am using that too =)

_________________

Designer, WebMaster and a Delphi programmer.
TrPlayer, my biggest Delphi project hosted on SourceForge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 01, 2007 5:43 am    Post subject: Reply with quote

Very Happy but can you post me your MediaPlayer source here? because i have troubles starting/pausing the music using a script i found on www.delphi.about.com using images, not the media player itself.

or how do you load your files and then being able to play them using images?
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Jul 01, 2007 7:29 am    Post subject: Reply with quote

Make an image. Double click on it. And put the code for it. It should look like this.

Code:

procedure TForm1.Image1Click(Sender: TObject);
begin

end;


Rename TForm1 to whatever your form name is. And Change Image1 to whatever your Image name is. And of course put the code.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 01, 2007 7:36 am    Post subject: Reply with quote

oib... i know that!!! im looking for how simsgy can play/pause his music like in his simsac, because it wont let me with the source i got...
Back to top
View user's profile Send private message MSN Messenger
WinRAR
Grandmaster Cheater
Reputation: 1

Joined: 16 Mar 2007
Posts: 890
Location: skullfucking dead children

PostPosted: Sun Jul 01, 2007 7:50 am    Post subject: Reply with quote

ok now WTF is delphi?????
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 01, 2007 7:53 am    Post subject: Reply with quote

a program which can develop other programs... lol.

try googling it.

www.google.com

www.delphi.about.com

www.delphipages.com
Back to top
View user's profile Send private message MSN Messenger
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Sun Jul 01, 2007 11:46 am    Post subject: Reply with quote

I'm pretty glad that Simsgy and Kevinnn help people with things I taught them. Go delphi. >=]
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 01, 2007 11:49 am    Post subject: Reply with quote

yea, thanks alot Renko. could you go msn Rolling Eyes i need some help Razz
Back to top
View user's profile Send private message MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Jul 01, 2007 1:12 pm    Post subject: Reply with quote

Renkokuken wrote:
I'm pretty glad that Simsgy and Kevinnn help people with things I taught them. Go delphi. >=]


You are a good person Renko,but 99% of what Simsguy know is 1% of what i know since he leeched my source.
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Sun Jul 01, 2007 1:38 pm    Post subject: Reply with quote

Simsgy wrote:
DevilGilad wrote:
Simsgy wrote:
Go to the "System" tab, and make a TMediaPlayer.
Then - on the onbject inspector, choose "File Name...", and enter the file location, then to play you can or press on the Play button on the TMediaPlayer (Which most of the people keep hidden because it is ugly), or the common use of MediaPlayer1.Play;
To pause do MediaPlayer1.Pause;
To rewind to the start of the song do MediaPlayer1.Rewind;

Hope I helped =)

The MediaPlayer cannot open mp3 files? :/


Yes it can

Edit:
Kevinnn, I am using that too =)

It tells me that I can open only WAV files with that :/

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun Jul 01, 2007 1:41 pm    Post subject: Reply with quote

Kaspersky wrote:
You are a good person Renko,but 99% of what Simsguy know is 1% of what i know since he leeched my source.


What are you talking about? You don't write code, you just copy it.
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
Goto page 1, 2  Next
Page 1 of 2

 
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