1 开机启动public static bool SetAutoRun(string keyName, string filePath){ try { RegistryKey Local= Registry.LocalMachine; RegistryKey ...
1 #import 2 3 #define FILE_PATH(filePath) [File path:(filePath)] 4 #define ROOT_PATH [File rootPath] 5 #define BUNDLE_PATH(fi...
分类:
其他好文 时间:
2014-07-10 11:32:48
阅读次数:
155
//得到目录下的所有文件夹public static void Get_All_Filepath_In_Directory(string dirpath, List listpaths) { List filePaths = listpaths; //存放文件的路径 try { if (Is_Dir...
分类:
其他好文 时间:
2014-07-08 23:24:07
阅读次数:
183
这两天项目上用Aspose导出Excel来着。开始感觉挺简单的,但是实际操作起来还是挺复杂的,调试占的时间很长。主要是动态生成列、合并单元格、调样式占了很长时间,还是总结一下吧。 基础操作: //EXCEL模板路径 var filePath = HttpContext.Current.Serv...
分类:
Web程序 时间:
2014-07-07 13:06:16
阅读次数:
214
1 protected void btn_Down(object sender, EventArgs e) 2 { 3 string filePath = Server.MapPath("/TradeLog/" + txtDate.Text.Tr...
分类:
Web程序 时间:
2014-06-27 17:02:31
阅读次数:
226
String filePath="src/cn/ac/iscas/pebble/ufe/conf/id.properties"; InputStream in = new BufferedInputStream(new FileInputStream(f...
分类:
编程语言 时间:
2014-06-27 16:00:15
阅读次数:
228
Written In The Font谢谢,陈明.哈哈!共勉,努力搞定它.路漫漫其修远兮,吾将上下而求索ContentExportExcelAndSave( String[] header, List excelList, String sheetTitle, String filePath, St...
分类:
编程语言 时间:
2014-06-27 11:44:44
阅读次数:
330
NSFileManager *manager = [[NSFileManager alloc]init]; if ([manager isDeletableFileAtPath:filePath]) { [manager removeItemAtPath:filePath error:nil...
分类:
其他好文 时间:
2014-06-25 22:56:17
阅读次数:
205
-(void)downImage{ AlbumInfo *info = [self.dataArray objectAtIndex:index]; NSString *filePath = [[SandBoxPath pathForCaches]stringByAppendingPathComp.....
分类:
其他好文 时间:
2014-06-24 10:59:35
阅读次数:
231
FilePath folder = "E:\\NewFolder1"; FilePath filePath; container fileInfo; int fileHandle; FileName _FileName; ; _FileName = folder; fileP...