Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 26th, 2005, 10:34 PM
Friend of Wrox
 
Join Date: Apr 2004
Location: San Francisco, CA, USA.
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default Browse to File Control?

Is there an Access control that behaves like a standard File Browser dialog, like when you want to upload a document to an email etc.?

I have a field in my database which holds absolute paths to documents, and I'll be using a hyperlink to display the data, so people can just click on the link to open the file in its native application. But I'd also like for people to be able to be able to populate the field by browsing to the document on the network and after selecting it, its path gets stored in the DB.

Is there such a control available? Maybe ActiveX? This is an Access 2000 application.

Thanks.

Aaron

Reply With Quote
  #2 (permalink)  
Old August 29th, 2005, 07:45 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

There should be an file browser activex that came with Access 2000. You will just have to make sure that it is registered on your development machine, and on each user's machine.
Alternatively, you can script one, and associate the file froma drop down list. This will work without activex.

mmcdonal
Reply With Quote
  #3 (permalink)  
Old August 29th, 2005, 12:20 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

See the "Access Cookbook, 2nd Ed." by O'Reilly, ISBN: 0596006780 page 333, 7.8 Fill a list box with a list of files. This shows you how to make a file browser form, and you can capture the filename and path selected.

HTH


mmcdonal
Reply With Quote
  #4 (permalink)  
Old September 13th, 2005, 01:05 AM
Friend of Wrox
 
Join Date: Jul 2005
Location: Oklahoma City, OK, USA.
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would recommend using the windows standard commom dialog.

chech out how here

http://www.mvps.org/access/api/api0001.htm

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a file browse dialog box gaurisharya Beginning VB 6 4 April 30th, 2008 12:43 AM
To browse a file from client system Indraja ASP.NET 2.0 Basics 2 May 3rd, 2007 07:56 AM
how to browse a file from computer for attachment? rocksbhavesh ASP.NET 1.0 and 1.1 Professional 2 March 26th, 2007 08:47 AM
Browse File mgnishan PHP How-To 2 March 23rd, 2007 01:54 PM
Using Form control to browse records vmerc Access VBA 3 October 29th, 2004 10:22 AM



All times are GMT -4. The time now is 04:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.