| View previous topic :: View next topic |
| Author |
Message |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Mon Apr 07, 2008 7:17 pm Post subject: [vb6] How do i make a browse button? |
|
|
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 |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Mon Apr 07, 2008 8:07 pm Post subject: Re: [vb6] How do i make a browse button? |
|
|
| 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 |
|
 |
Typhoon808 Expert Cheater
Reputation: 0
Joined: 27 Mar 2008 Posts: 175 Location: Wales
|
Posted: Tue Apr 08, 2008 10:28 am Post subject: |
|
|
| I don't use VB6 but in VB.NET you can use the OpenFileDialog. Try searching it in VB6.
|
|
| Back to top |
|
 |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Tue Apr 08, 2008 12:40 pm Post subject: Re: [vb6] How do i make a browse button? |
|
|
| 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 |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Apr 08, 2008 8:57 pm Post subject: Re: [vb6] How do i make a browse button? |
|
|
| 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 |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Wed Apr 09, 2008 4:30 am Post subject: |
|
|
| 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 |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Wed Apr 09, 2008 5:26 am Post subject: |
|
|
| 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 |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Wed Apr 09, 2008 5:36 am Post subject: |
|
|
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 |
|
 |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Thu Apr 10, 2008 12:11 am Post subject: |
|
|
i cant find it either =( mabye its not in portable?
_________________
Go check it out. Good Hacks |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Apr 10, 2008 12:15 am Post subject: |
|
|
| 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 |
|
 |
Estx Expert Cheater
Reputation: 0
Joined: 04 Mar 2008 Posts: 172
|
Posted: Thu Apr 10, 2008 6:40 am Post subject: |
|
|
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 |
|
 |
minium haxor Advanced Cheater
Reputation: 0
Joined: 03 Dec 2007 Posts: 82 Location: Faroe islands
|
Posted: Mon Jun 02, 2008 3:45 pm Post subject: |
|
|
maby shell ("explorer = text1.text")
_________________
|
|
| Back to top |
|
 |
Typhoon808 Expert Cheater
Reputation: 0
Joined: 27 Mar 2008 Posts: 175 Location: Wales
|
Posted: Mon Jun 02, 2008 4:01 pm Post subject: |
|
|
| Quit bumping old threads, man.
|
|
| Back to top |
|
 |
|