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 


Is ther....
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
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Nov 15, 2007 10:36 am    Post subject: Is ther.... Reply with quote

is there an open dialog box in vb6?
_________________
Back to top
View user's profile Send private message
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Thu Nov 15, 2007 11:00 am    Post subject: Reply with quote

You would have to add "Microsoft Common Dialog Control 6.0".
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Nov 15, 2007 11:14 am    Post subject: Reply with quote

it says i dont have an appropriate licience
_________________
Back to top
View user's profile Send private message
kickme93
Master Cheater
Reputation: 0

Joined: 24 Oct 2007
Posts: 461

PostPosted: Thu Nov 15, 2007 11:18 am    Post subject: Reply with quote

Go On Project > Components > Scroll Down And You Shall Find It Smile
Back to top
View user's profile Send private message
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Nov 15, 2007 11:31 am    Post subject: Reply with quote

no when i put it on the form it says i have no registered liscense
_________________
Back to top
View user's profile Send private message
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Thu Nov 15, 2007 12:03 pm    Post subject: Reply with quote

You would have to reinstall the license.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Nov 15, 2007 2:00 pm    Post subject: Reply with quote

pepsiguy_2 wrote:
no when i put it on the form it says i have no registered liscense


Use the API instead.

Some examples:
http://www.vbaccelerator.com/home/VB/Code/Libraries/Common_Dialogs/index.asp

Or check out pscode.com and search commondialog or common dialog.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Nov 15, 2007 2:26 pm    Post subject: Reply with quote

Wiccaan wrote:
pepsiguy_2 wrote:
no when i put it on the form it says i have no registered liscense


Use the API instead.

Some examples:
http://www.vbaccelerator.com/home/VB/Code/Libraries/Common_Dialogs/index.asp

Or check out pscode.com and search commondialog or common dialog.
i dont get it
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Nov 15, 2007 3:05 pm    Post subject: Reply with quote

Heres an example using a class I found a while back on www.pscode.com

I wrote it just enough for you to understand how to call the dialogs, you will have to add your own code to save and open files. You can add onto the file types to open as well. An example would be to open all files, or INI files:

Code:
"INI Files (*.ini)|*.ini|All Files (*.*)|*.*"



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Thu Nov 15, 2007 3:36 pm    Post subject: Reply with quote

so from ur example for mp3 they would be "MP3 Files (*.mp3)|*.mp3|All Files (*.*)|*.*" or can u teach me how to use the open dialog so i can make a media player?
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Nov 15, 2007 4:11 pm    Post subject: Reply with quote

pepsiguy_2 wrote:
so from ur example for mp3 they would be "MP3 Files (*.mp3)|*.mp3|All Files (*.*)|*.*" or can u teach me how to use the open dialog so i can make a media player?


Yea, thats how you would set it up. If you don't know where to go from there, you need to read up more on file input and output.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Pepsiguy
I post too much
Reputation: 0

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Sat Nov 17, 2007 7:04 pm    Post subject: Reply with quote

ok...... heres what happens to me i open ur example yaddy yaddy ya and then add media player to the form how can i make the mp3 goto media player?
_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Nov 17, 2007 7:13 pm    Post subject: Reply with quote

Do you mean open the mp3 in media player?

Well, my common dialog control is very basic

Code:
Private Sub Command1_Click()
    CommonDialog1.ShowOpen
    object.property = CommonDialog1.FileName
End Sub

I used this in my trainer to load swfs

I'm not sure how to make it open in media player though
Of course you would add error handlers to it

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

Joined: 16 Aug 2007
Posts: 2016

PostPosted: Sat Nov 17, 2007 7:19 pm    Post subject: Reply with quote

i have vb6 portable...when i add common diaog it says i dont have a license therefore i ned a backup
_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Nov 17, 2007 7:24 pm    Post subject: Reply with quote

A license? Well, I have the full version so I can't help you there, but anyways
If you do get your vb6 to work with it, this is how you do it (assuming you want to open it on your form)

Go to components, check microsoft common dialog controls and scroll down to the bottom and check windows media player

Place the common dialog and media player on your form, stretch out the media player abit

Now name your media thing "MediaPlayer1"

Create a button, and put this code for it
Code:
    CommonDialog1.ShowOpen
    MediaPlayer1.URL = CommonDialog1.FileName

And put your filter as all files

Now, when you open a mp3 file, it transfers it to the media player on your form Razz

_________________
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