取文件的大小 (KB,MB,GB...)
2种方式: VB 和 C#
1, VB
Public Function GetFileSize(ByVal iFileSizeKB As Long) As String
Dim iFileSizeMB As Integer
Dim iFileSizeGB As Integer
If (iFileSizeKB >= 1024) Th...
分类:
其他好文 时间:
2014-06-19 12:39:06
阅读次数:
310
secureCRT
修改PageUP,PageDown,Home,End键小trick:http://blog.csdn.net/shark_sq/article/details/6722512所有键盘Asc码字符分享:http://skylove.study-area.org/blog/categ...
分类:
其他好文 时间:
2014-06-13 19:37:22
阅读次数:
573
一、摘要 An Adapter object acts as a bridge between
anAdapterViewand the underlying data for that view. The Adapter provides access
to the data items. Th....
分类:
移动开发 时间:
2014-06-12 18:27:55
阅读次数:
503
点击打开链接题意:集合S支持一下四种操作: INSERT(S,x) :
假设S中没有x,则插入xDELETE(S,x): 假设S中有x,则删除xK-TH(S): 输出S中第K小的数COUNT(S,x):
统计S中小于x的数有多少个一共同拥有Q(1 ≤ Q ≤ 200000)次操作。Tr...
分类:
其他好文 时间:
2014-06-10 16:58:21
阅读次数:
167
Develop Tools: xCode 5.1I write a demo for app
settings feature. The tutorial url is here.When I add a icon into app icon and
build the code, I got th...
分类:
移动开发 时间:
2014-06-08 20:39:03
阅读次数:
1920
未翻译完 待续(英语烂,求斧正)Type Casting类型转换Type casting is
a way to check the type of an instance, and/or to treat that instance as if it
is a different supercla...
分类:
其他好文 时间:
2014-06-08 19:50:25
阅读次数:
269
A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means th...
分类:
其他好文 时间:
2014-06-08 04:05:14
阅读次数:
315
因为工作需要,再加上个人爱好,经过分析整理出短彩应用中从发送至收到附件为音频的彩信的下载,预览,播放整个流程,给大家一起分享。
第一步,添加附件:ComposeMessageActivity类下,addAttachement();
private void addAttachment(int type, boolean replace) {
// Calculate th...
分类:
移动开发 时间:
2014-06-08 03:54:59
阅读次数:
244