General downloads

Create Dir UNC (OCX)

Author
Anthony Conrad  
Category
General downloads
Date
30/01/2008
Size
247 KB
Downloads
1072
MD5 digest
83CE263D027AC2E83C2D37F69DDCF2F0
Popularity
Downloaded 5 times in the last two weeks
May be you'll have to create a folder on a Shared folder, but with the LAutFileSystemObject you can't. So Register this ocx, and write the followinfg function in a codeunit and use it like this

CreateSubDirUNC(''\\computer\share\2000\10');
\\computer\share\2000\ must exist or use before
CreateSubDirUNC(''\\computer\share\2000');

Function to paste in a codeunit: with variable
Name DataType Subtype Length
CreateFold OCX MyCreateFolderOCX Control

CreateSubDirUNC(ItxtSubdir : Text[1024])

CLEAR(CreateFold);
CreateFold.CreateFolder(ItxtSubdir);
Download this file