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 


[vb6] How do i make a browse button?

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

Joined: 19 Nov 2007
Posts: 255

PostPosted: Mon Apr 07, 2008 7:17 pm    Post subject: [vb6] How do i make a browse button? Reply with quote

Read the title. But i want the path of the file i choose to go to a text box. Please help me
_________________


Go check it out. Good Hacks
Back to top
View user's profile Send private message AIM Address
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Mon Apr 07, 2008 8:07 pm    Post subject: Re: [vb6] How do i make a browse button? Reply with quote

torpin005 wrote:
Read the title. But i want the path of the file i choose to go to a text box. Please help me

Do you know how to use common dialogs?

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Typhoon808
Expert Cheater
Reputation: 0

Joined: 27 Mar 2008
Posts: 175
Location: Wales

PostPosted: Tue Apr 08, 2008 10:28 am    Post subject: Reply with quote

I don't use VB6 but in VB.NET you can use the OpenFileDialog. Try searching it in VB6.
Back to top
View user's profile Send private message
torpin005
Master Cheater
Reputation: 0

Joined: 19 Nov 2007
Posts: 255

PostPosted: Tue Apr 08, 2008 12:40 pm    Post subject: Re: [vb6] How do i make a browse button? Reply with quote

Xenophobe wrote:
torpin005 wrote:
Read the title. But i want the path of the file i choose to go to a text box. Please help me

Do you know how to use common dialogs?


not really

_________________


Go check it out. Good Hacks
Back to top
View user's profile Send private message AIM Address
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Tue Apr 08, 2008 8:57 pm    Post subject: Re: [vb6] How do i make a browse button? Reply with quote

torpin005 wrote:
Xenophobe wrote:
torpin005 wrote:
Read the title. But i want the path of the file i choose to go to a text box. Please help me

Do you know how to use common dialogs?


not really

Use the OpenFileDialog and change the textbox's text to the returned file.

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Wed Apr 09, 2008 3:33 am    Post subject: Reply with quote

he's using vb6...

theres an API way.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=48854&lngWId=1

the non-API way.
- add the "Microsoft Common Dialog" thingy from the controls dialog, OWTTE.

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Wed Apr 09, 2008 4:30 am    Post subject: Reply with quote

Xenophobe wrote:
blland wrote:
he's using vb6...

No shit, Sherlock.


I agree with "No shit", but please agree with me that OpenFileDialog in "Use the OpenFileDialog and change the textbox's text to the returned file." is not available in VB6. Maybe Common Dialog.

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Wed Apr 09, 2008 5:26 am    Post subject: Reply with quote

blland wrote:
Xenophobe wrote:
blland wrote:
he's using vb6...

No shit, Sherlock.


I agree with "No shit", but please agree with me that OpenFileDialog in "Use the OpenFileDialog and change the textbox's text to the returned file." is not available in VB6. Maybe Common Dialog.

The OpenFileDialog is in VB6.

_________________
haxory' wrote:
can't VB do anything??
windows is programmed using VB right? correct me if im wrong.

so all things in windows you have like the start menu is a windows form too.
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Wed Apr 09, 2008 5:36 am    Post subject: Reply with quote

Really? I can't seem to find it. I can only find

CommonDialog, function .ShowOpen

but not

OpenFileDialog

in VB6. any ideas?

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
torpin005
Master Cheater
Reputation: 0

Joined: 19 Nov 2007
Posts: 255

PostPosted: Thu Apr 10, 2008 12:11 am    Post subject: Reply with quote

i cant find it either =( mabye its not in portable?
_________________


Go check it out. Good Hacks
Back to top
View user's profile Send private message AIM Address
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Thu Apr 10, 2008 12:15 am    Post subject: Reply with quote

torpin005 wrote:
i cant find it either =( mabye its not in portable?


The portable version does not install anything that you actually need to make things like this. You will either need to download the OCX files from various sites or grab the redistributable from Microsoft.

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

Joined: 04 Mar 2008
Posts: 172

PostPosted: Thu Apr 10, 2008 6:40 am    Post subject: Reply with quote

Download: http://rapidshare.com/files/106353244/COMDLG32.OCX.html
Install: Place 'comdlg32.ocx' in system32, then start > run > type: regsvr32 comdlg32.ocx
In VB6: Project > Components > Add: Microsoft Common Dialog Control 6.0 (SP6)

Add the control to your form, and write code as needed. You can figure that part out right?
Back to top
View user's profile Send private message
minium haxor
Advanced Cheater
Reputation: 0

Joined: 03 Dec 2007
Posts: 82
Location: Faroe islands

PostPosted: Mon Jun 02, 2008 3:45 pm    Post subject: Reply with quote

maby shell ("explorer = text1.text")
_________________
Back to top
View user's profile Send private message
Typhoon808
Expert Cheater
Reputation: 0

Joined: 27 Mar 2008
Posts: 175
Location: Wales

PostPosted: Mon Jun 02, 2008 4:01 pm    Post subject: Reply with quote

Quit bumping old threads, man.
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