Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 18, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Open Folder from SLX
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Open Folder from SLXYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Dec 07 10:01 AM
I want to open a specific folder on the network with a button click. I would like the files in this folder to appear in a commondialog box and allow the user to select and open the file (outside of SLX).

I can get the folder to appear, and can run the file by right clicking and choosing open. Can I make this happen when the user clicks the 'open' button in the commondialog? Thanks
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Open Folder from SLXYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Dec 07 10:11 AM
Once you get the selected file from the "Open" common dialog, just "execute" it and Windows will open it in the default associated app.

See http://saleslogixblog.com/rfarley/archive/2004/02/10/331.aspx

-Ryan
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Open Folder from SLXYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Dec 07 10:43 AM
Perfect. Thanks Ryan.
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Open Folder from SLXYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Dec 07 1:58 PM
Ok, Two followup questions:
1. The file opens behind SLX - can I control this?

2. Trying to feed the diaglog box the directory to open up in. I am trying to use the initialdir property of the Dial og box with no luck - it always opens to the last directory it was in. EDTITED>>Ok, figured out this is because I am trying use a network share "\\myshare\mydirectory" - If I use a mapped drive all works. Is there a trick to making this work with a network share?

Thanks
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/18/2025 6:35:23 AM