PC Review


Reply
Thread Tools Rate Thread

Browsing for file name

 
 
John F
Guest
Posts: n/a
 
      24th May 2010
I am using a text field called [txtPath] to store a file name.
Then I used an “ImageBox” with a control source “=[CurrentProject].[Path] &
"\Images\" & [txtPath]” this works all fine and dandy. It displays the image
in the form just like I want. I can type another file name and the view
changes to the new file.

Now I am stuck! How can I under program control browse for the file name
that I want to show up in the image box? All files are images with jpg
extension.

 
Reply With Quote
 
 
 
 
John F
Guest
Posts: n/a
 
      24th May 2010
Now I am really lost???????

"PieterLinden via AccessMonster.com" wrote:

> John F wrote:
> >I am using a text field called [txtPath] to store a file name.
> >Then I used an “ImageBox” with a control source “=[CurrentProject].[Path] &
> >"\Images\" & [txtPath]” this works all fine and dandy. It displays the image
> >in the form just like I want. I can type another file name and the view
> >changes to the new file.
> >
> >Now I am stuck! How can I under program control browse for the file name
> >that I want to show up in the image box? All files are images with jpg
> >extension.

>
> use the OpenSaveFile API to prompt the user for it....
> http://www.mvps.org/access/api/api0001.htm
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/For...dules/201005/1
>
> .
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
browsing file Dirk Goldgar Microsoft Access Form Coding 1 16th Mar 2008 07:49 AM
File Browsing Jimbob Windows Vista Networking 1 31st Jan 2008 03:42 PM
Change default file view when browsing for a file to thumbnail Muzzat1 Windows XP General 12 9th Mar 2006 12:54 AM
Browsing for a file - Please Help =?Utf-8?B?R2VvcmdpZUdpcmw=?= Microsoft Access Form Coding 10 12th Oct 2005 07:26 PM
OLE File browsing Yair Sageev Microsoft Access Forms 0 1st Aug 2003 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:34 PM.