Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, August 18, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/18/2025 7:27:47 AM
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Use network Share with FSO
Steve Knowles
Posts: 657
Use network Share with FSO
Posted: 12 Dec 07 7:29 AM
I am writing a routine using the FSO to navigate to a folder. The code works fine with a mapped drive (K:\Blah\Blab) but won't work with the path of a network share (\\Blahblah\blah\blab). Is it possible to get the FSO to use the path of the network share? Thanks
[
Reply
][
Quote
]
Stuart
Posts: 178
Re: Use network Share with FSO
Posted: 12 Dec 07 8:40 AM
According to this:
http://msdn2.microsoft.com/en-us/library/aa711216
(VS.71).aspx
You can't - "ChDrive cannot handle UNC paths"
I tried this a while back and couldn't find any way then. Maybe someone knows a way around this?
[
Reply
][
Quote
]
Thomas Aussem
Posts: 57
Re: Use network Share with FSO
Posted: 13 Dec 07 7:49 AM
Hi,
I am not sure, what you are looking for, because you aren't talking about the ChDrive function - which means ignore my reply, if I have completly misunderstood your question
The FileSystem object itself has no problems handling UNC pathes. I use a lot of scripts with references to UNC pathes.
An example (with no real sense):
Private Const MY_DEST_PATH = "\\server\public\temp\iata_neu.txt" ' destination path and name
Private Const MY_File = "\\server\public\temp\iata.txt" ' path to yor file
call main
sub main
Dim fso, file
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.GetFile(MY_File)
file.copy(MY_DEST_PATH)
Set fso = Nothing
Set file = Nothing
end sub
The main issue dealing with UNC and network share depends on the security settings.
Thomas
[
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
|
page cache (param): 8/18/2025 8:02:59 AM