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 


timer help, invalid property value

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

Joined: 30 Mar 2007
Posts: 415

PostPosted: Sat Dec 22, 2007 3:44 pm    Post subject: timer help, invalid property value Reply with quote

Code:
Timer1.Interval = Val(Text2.Text & "000")
so whats wrong with the code?
Back to top
View user's profile Send private message Visit poster's website
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Dec 22, 2007 4:00 pm    Post subject: Reply with quote

The number is probably set too high.
_________________
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Sat Dec 22, 2007 4:11 pm    Post subject: Reply with quote

Code:
Timer1.Interval = Val(Text2.Text) & Val("000")
Back to top
View user's profile Send private message
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Sat Dec 22, 2007 4:24 pm    Post subject: Reply with quote

nvm, i got it, but for like a path for a music player load in text3, the browse button the lets you go through your documets to find music....how i make that?
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Dec 22, 2007 5:35 pm    Post subject: Reply with quote

killar456 wrote:
nvm, i got it, but for like a path for a music player load in text3, the browse button the lets you go through your documets to find music....how i make that?


Use the common dialog control for that. Google 'vb6 common dialog' for more info on it.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Sat Dec 22, 2007 6:58 pm    Post subject: Reply with quote

lol, thanks ive been googling all day on how to do that and now i got a answer, thx
but how do i open all files, so i can choose like a .wav file and load it in to text1?
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Dec 22, 2007 10:57 pm    Post subject: Reply with quote

Why would you want to open a .wave file into the text box lol? As for opening other files, change the filter of the common dialog.

For example:

Code:
Private Sub Command1_Click()
On Error GoTo ErrHandle

    CommonDialog1.Filter = "All Files|*.*"
    CommonDialog1.CancelError = True
    CommonDialog1.Flags = cdlOFNFileMustExist + cdlOFNHideReadOnly
    CommonDialog1.ShowOpen
   
    Exit Sub
   
ErrHandle:
    If Err.Number = cdlCancel Then
        MsgBox "Cancelled"
    End If
End Sub

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
killar456
Master Cheater
Reputation: 0

Joined: 30 Mar 2007
Posts: 415

PostPosted: Mon Dec 24, 2007 10:06 pm    Post subject: Reply with quote

well, i making a music player for my nephew with his favorite songs with 1 push of a button, and if he wanted to load another one, and then you click browse and you browse your comp and you click the mp3, wav, and it loads the path to text1, then you click set, and it plays..........
Back to top
View user's profile Send private message Visit poster's website
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