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 


One more VB question (sorry)

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

Joined: 20 Nov 2007
Posts: 287

PostPosted: Fri Aug 22, 2008 12:13 am    Post subject: One more VB question (sorry) Reply with quote

Hey, how would I make this code load all files, E.X: exe, ink, ct, anything?

Code:
On Error GoTo ErrorHandler
Dim Contentfile
Me.CommonDialog1.Filter = "All files (*.all files)|*.all files"
CommonDialog1.ShowOpen
Text1.Text = CommonDialog1.FileName
Close #2
ErrorHandler:
    Select Case Err.Number
        Case Else
            MsgBox "You dident load"
    End Select
End Sub


Thanks to evilhottness for the part where it says "text1.text = commondialog1.filename" thanks. Smile

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
EvilHottness
Advanced Cheater
Reputation: 0

Joined: 29 Apr 2008
Posts: 64
Location: Co

PostPosted: Fri Aug 22, 2008 12:14 am    Post subject: Reply with quote

I told you in another post
_________________
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Fri Aug 22, 2008 12:16 am    Post subject: Reply with quote

*.*, * is a wild card.
Back to top
View user's profile Send private message
EvilHottness
Advanced Cheater
Reputation: 0

Joined: 29 Apr 2008
Posts: 64
Location: Co

PostPosted: Fri Aug 22, 2008 12:16 am    Post subject: Reply with quote

Me[DOT]CommonDialog1[DOT]Filter = "All Files (*[DOT]*)|*[DOT]*"

Replace [DOT] With .

_________________
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