Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Browse for file in form.


Message #1 by "info" <info@p...> on Thu, 8 Feb 2001 16:30:47 -0500
How can I create a form/command button to search through the files on

my computer in a way like the "browse" button on an HTML page?  

I've tinkered with the FileSystemObject but haven't gotten it to work.



I'm trying to automate storing the name of an image file by browsing

to the file and then having just the name stored (not the whole path)

instead of storing the actual image in the database.



Any suggestions would be appreciated.  



Thanks



Mitch



Message #2 by "Leif N. Eriksen" <Leif_N_Eriksen@y...> on Sat, 17 Feb 2001 21:17:12
> How can I create a form/command button to search through the files on

> my computer



The easiest way is to use the "Microsoft Common Dialog control" but that 

requires that you have a license for it. If not, look at Windows 

API "ap_GetOpenFileName" - it will do the same.



Leif




  Return to Index