码迷,mamicode.com
首页 >  
搜索关键字:filepath    ( 875个结果
C# Winform 注册程序开机启动
1 开机启动public static bool SetAutoRun(string keyName, string filePath){ try { RegistryKey Local= Registry.LocalMachine; RegistryKey ...
分类:Windows程序   时间:2014-07-16 19:43:49    阅读次数:317
封装读取文件路径的类File.h+File.m
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.Cell.dll导出Excel总结
这两天项目上用Aspose导出Excel来着。开始感觉挺简单的,但是实际操作起来还是挺复杂的,调试占的时间很长。主要是动态生成列、合并单元格、调样式占了很长时间,还是总结一下吧。 基础操作: //EXCEL模板路径 var filePath = HttpContext.Current.Serv...
分类:Web程序   时间:2014-07-07 13:06:16    阅读次数:214
asp.net文件下载
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
Java 读取配置文件 Properties
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
HP-JavaUtil: xls 操作类
Written In The Font谢谢,陈明.哈哈!共勉,努力搞定它.路漫漫其修远兮,吾将上下而求索ContentExportExcelAndSave( String[] header, List excelList, String sheetTitle, String filePath, St...
分类:编程语言   时间:2014-06-27 11:44:44    阅读次数:330
原来是 临时的那张图片没有删除,code 516
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
AX中API的简单调用
FilePath folder = "E:\\NewFolder1"; FilePath filePath; container fileInfo; int fileHandle; FileName _FileName; ; _FileName = folder; fileP...
分类:Windows程序   时间:2014-06-21 15:50:24    阅读次数:417
875条   上一页 1 ... 83 84 85 86 87 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!