General downloads
Create Dir UNC (OCX)
- Author
- Anthony Conrad
- Category
- General downloads
- Date
- 30/01/2008
- Size
- 247 KB
- Downloads
-
1072
Detailed statistics
- Downloads today 0
- 30 day downloads 9
- Total downloads 1072
- Overall download rank #1220 / 2082
- Today page views 0
- 30 days page views 0
- Total views 3258
- 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);
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);