Excel的便捷使得其在非开发人员的办公中非常流行,而Excel确实也提供了很多有用的功能。很多时候我们还需要以Excel为数据源来进行处理或者将Excel作为模板来生成一些报表。在Open XML SDK没出来之前,我们大多采用引用Office类库的方法来做处理,但这样的操作显得很麻烦。而Op.....
分类:
其他好文 时间:
2014-10-16 14:38:12
阅读次数:
221
ArrayList w_position = new ArrayList(); void OnGUI() { if (GUILayout.Button("Open")) { if (allowMove) { ...
分类:
编程语言 时间:
2014-10-16 13:56:22
阅读次数:
259
FileStream fs = new FileStream(FILE_NAME, FileMode.Open, FileAccess.Read); 改FileStream fs = new FileStream(FILE_NAME, FileMode.Open, FileAccess.ReadWr...
分类:
其他好文 时间:
2014-10-16 13:49:12
阅读次数:
149
一、shell脚本示例: ftp cd?/PATH_YOU_WANT_TO_UPLOAD(DOWNLOAD)??
ftp?-niv?<<-?EOF??
open?IP_ADDRESS??
user?USERNAME?PASSWORD??
ascii(or?bin)??
put?*(or?get)??
bye??
EOF lftp...
分类:
系统相关 时间:
2014-10-16 13:42:42
阅读次数:
354
目前还未解决,先记录一下。Text Edit*** Settings ***Library Selenium2Librarybaidu_xpath open browser http://10.11.20.117:9500/poc/ ie sleep 3 maximize browser windo...
分类:
其他好文 时间:
2014-10-16 13:02:42
阅读次数:
934
c++中一次读取整个文件的内容的方法:读取至char*的情况std::ifstream t; int length; t.open("file.txt"); // open input file t.seekg(0, std::ios::end); // go to the e...
分类:
编程语言 时间:
2014-10-16 12:38:02
阅读次数:
328
uses + Data.DBXMetaDataNamesprocedure TMainForm.Button2Click(Sender: TObject);var Cmd: TDBXCommand; R: TDBXReader;begin DBCon.Open; Cmd := DBCon.DBXCo...
分类:
数据库 时间:
2014-10-16 00:39:51
阅读次数:
201
解决hgfs为空的方法:sudoapt-getinstall open-vm-dkmssudomount-tvmhgfs.host://mnt/hgfs解决每次都要挂载的方法:1、确保VMware中为Ubuntu已经成功设置Shared Folders,并且选中Always enabled。2、启动...
一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory ...
分类:
其他好文 时间:
2014-10-15 20:20:01
阅读次数:
227
import threadingdef foo(): with open(r'./result.log','wb') as f: f.write('=some logs here ==')t = threading.Thread(foo)t.start()当然你也可以用高级方法,...
分类:
编程语言 时间:
2014-10-15 19:23:01
阅读次数:
200