Print Page | Close Window

ATGUIFILEDIALOG default path option for 'Desktop'

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: File Transfer
Forum Description: Help with uploading & downloading database and document files
URL: https://forum.asent.com/forum_posts.asp?TID=2166
Printed Date: March 26 2026 at 8:51pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: ATGUIFILEDIALOG default path option for 'Desktop'
Posted By: GlenB
Subject: ATGUIFILEDIALOG default path option for 'Desktop'
Date Posted: March 26 2012 at 4:55am
 
  It would be nice if there was an option in ATGUIFILEDIALOG to specify %HOMEPATH%/Desktop and such as default path flags. The security in Windows 7 prevents writing to C:\ so this breaks my import/export apps. I'm having to rewrite them and am unable to use the file dialog selector to select a User's based path with a pre-set filename for saving files properly on Windows 7. Manually setting the C:\ path breaks when there is a mixed lot of XP and Vista/Win7 machines.



Replies:
Posted By: PSchellenbach
Date Posted: March 26 2012 at 6:41am
Hi Jeff -

Check out the sample ATGETDOCPATH subroutine in the SAMPLES file in your ACCUTERM account (if you installed the sample programs). This subroutine returns the path to the user's My Documents folder.

Thanks,

Pete



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net