一、获取网页源代码
1.不含有框架
string s=WB1.DocumentText; //webbrowser1命名为WB1,下同
2.含有框架
引用mshtml; //位置C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml...
分类:
Web程序 时间:
2014-05-23 01:30:49
阅读次数:
283
Json-lib可以将Java对象转成json格式的字符串,也可以将Java对象转换成xml格式的文档,同样可以将json字符串转换成Java对象或是将xml字符串转换成Java对象。
1、 首先要去官方下载json-lib工具包(http://sourceforge.net/projects/json-lib/files/json-lib/json-lib-2.4/)
Json-lib 依赖...
分类:
Web程序 时间:
2014-05-23 01:26:54
阅读次数:
334
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
介绍一个多选list
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th...
分类:
其他好文 时间:
2014-05-23 00:52:57
阅读次数:
455
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
在数据库处于OPEN的状态下,并且所有表空间、数据文件都处于ONLINE状态,登录RMAN进行还原和恢复报错,ORA-19573: cannot obtain exclusive enqueuefor datafile 1。...
分类:
数据库 时间:
2014-05-23 00:03:58
阅读次数:
406
今天在做图片上传 验证图片mime值时 突然发现 个别特殊情况下finfo_file 获取的MIME值不能直接使用,按照官方的写法是 $finfo=finfo_open(FILEINFO_MIME); $mime=finfo_file($finfo,$file_path); finfo_close($finfo); alert($mime);这样子获得文件mime类型的但是今天发现这样子...
分类:
其他好文 时间:
2014-05-22 22:37:21
阅读次数:
443
OpenMeetings是一个多语言可定制的视频会议和协作系统。它支持音频、视频,能让你查看每个与会者的桌面。OpenMeetings还包含一个白板,通过白板可以导入各种格式的图片和涂鸦。其特色功能是白板功能,可以演示doc,ppt,pdf,jpg,txt等众多格式文件.下面我们进入安装过程.注意:Open..
分类:
其他好文 时间:
2014-05-22 18:15:29
阅读次数:
567
import re
data = open('a.txt')
fh = open('b.txt', 'w')
"""Search the string begining with '【'"""
p = re.compile(r'\s*[\u3010]')
for each_d in data:
if re.match('\s*3\d{4}', each_d):
...
分类:
编程语言 时间:
2014-05-22 17:26:17
阅读次数:
293