[AccessD] Retrieve path to a file - Common Dialog Control

Keith L. Kovala klk at ksu.edu
Mon Apr 28 13:19:21 CDT 2003


Joe,

Typically, one uses the APIs if they know how to use them over the controls
because a control causes the additional overhead of another reference to be
included.  A nice sample of code using the API can be found in Carl
Tribble's AutoLinker, if you don't have a copy it can be found at
http://puma.agron.ksu.edu/~sgsax/.  The ts_basBrowseFolders module is the
one that contains the dialog code.  It also contains many comments to help
see all the options available, but will work "as is" simply by setting the
'varfilename = tsGetPathFromUser' (pops up a dialog like we all are used to
seeing).

Keith L. Kovala
klk at ksu.edu 

> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com 
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas
> Sent: Monday, April 28, 2003 1:07 PM
> To: 'accessd at databaseadvisors.com'
> Subject: RE: [AccessD] Retrieve path to a file - Common Dialog Control
> 
> 
> NP Nacy.
> 
> I stumbled across the MS Common Dialog control and I will end 
> up using it instead of APIs. Unless of course someone has a 
> good reason why I shouldn't.
> :)
> 
> Thanks,
> 
> Joe Rojas
> 
> -----Original Message-----
> From: Nancy Lytle [mailto:nancy.lytle at auatac.com]
> Sent: Monday, April 28, 2003 1:55 PM
> To: accessd at databaseadvisors.com
> Subject: RE: [AccessD] Retrieve path to a file
> 
> I wish I could think of the name of it now, but I used to 
> have a nice little utility that went into the Send To on the 
> right click menu.  If you went to a file in Windows Explorer 
> you could right click on it > Send To>clipboard and the full 
> file path including the file name were saved to the 
> clipboard. Wish I could find it for you:(
> 
> Nancy
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Rojas
> Sent: Monday, April 28, 2003 1:47 PM
> To: 'accessd at databaseadvisors.com'
> Subject: [AccessD] Retrieve path to a file
> 
> 
> Hello All,
> 
> How does anyone have any code examples that results in a 
> dialog box opening and allows that user to navigate to a 
> specified file and return the path to the file? I am pretty 
> sure that it is possible to use windows API calls for 
> something like this, but I am not very knowledgeable about 
> using API calls.
> 
> Thanks!
> 
> Joe Rojas
> 
> 
> 
> 
> This electronic transmission is strictly confidential to 
> TNCO, Inc. and intended solely for the addressee. It may 
> contain information which is covered by legal, professional, 
> or other privileges. If you are not the intended addressee, 
> or someone authorized by the intended addressee to receive 
> transmissions on behalf of the addressee, you must not 
> retain, disclose in any form, copy, or take any action in 
> reliance on this transmission. If you have received this 
> transmission in error, please notify the sender as soon as 
> possible and destroy this message. While TNCO, Inc. uses 
> virus protection, the recipient should check this email and 
> any attachments for the presence of viruses. TNCO, Inc. 
> accepts no liability for any damage caused by any virus 
> transmitted by this email. 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com 
> http://databaseadvisors.com/mailman/listinfo/a> ccessd
> Website: 
> http://www.databaseadvisors.com
> 
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com 
> http://databaseadvisors.com/mailman/listinfo/a> ccessd
> Website: 
> http://www.databaseadvisors.com
> 
> 
> 
> This 
> electronic transmission is strictly confidential to TNCO, 
> Inc. and intended solely for the addressee. It may contain 
> information which is covered by legal, professional, or other 
> privileges. If you are not the intended addressee, or someone 
> authorized by the intended addressee to receive transmissions 
> on behalf of the addressee, you must not retain, disclose in 
> any form, copy, or take any action in reliance on this 
> transmission. If you have received this transmission in 
> error, please notify the sender as soon as possible and 
> destroy this message. While TNCO, Inc. uses virus protection, 
> the recipient should check this email and any attachments for 
> the presence of viruses. TNCO, Inc. accepts no liability for 
> any damage caused by any virus transmitted by this email. 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com 
> http://databaseadvisors.com/mailman/listinfo/a> ccessd
> Website: 
> http://www.databaseadvisors.com
> 



More information about the AccessD mailing list