各位狐兄,新年好,请问存放目录总如何使用变量设置路径,请赐教,谢谢!
因为文件较多,我想根据当前的工程简称建立不同的文件夹,再通过不同的列名称建立子文件夹,现在难题就是变量使用了。
目录使用下面变量名称
E:\快盘
\工程资料
\" & QJDM工程简称 & "
增加文件时弹出错误提示如下:
.NET Framework 版本:2.0.50727.5466
Foxtable 版本:2012.11.28.1
错误所在事件:
详细错误信息:
System.ArgumentException: 路径中具有非法字符。
在 System.IO.Path.CheckInvalidPathChars(String path)
在 System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
在 System.IO.Path.NormalizePath(String path, Boolean fullCheck)
在 System.IO.Path.GetFullPathInternal(String path)
在 System.IO.Path.GetFullPath(String path)
在 Microsoft.VisualBasic.FileIO.FileSystem.CreateDirectory(String directory)
在 Microsoft.VisualBasic.MyServices.FileSystemProxy.CreateDirectory(String directory)
在 Foxtable.O11l0ll11lOOl.O00OO11lll(String OO1O000O, DataRow OOllOl1, DataCol O1OlOl0O0l)

此主题相关图片如下:列属性.jpg
[此贴子已经被作者于2013-1-3 0:54:58编辑过]