方法一:(拷贝直接可以使用,适合大批量资料,
上万笔)Microsoft.Office.Interop.Excel.Application appexcel = new
Microsoft.Office.Interop.Excel.Application();SaveFileDialog savef...
分类:
其他好文 时间:
2014-05-10 08:22:11
阅读次数:
391
错误重现:1> vs2010创建 C++ win32 project, Application
type: DLL.2>为了在工程中使用 CString, 在 stdafx.h 中 Include .3> 编译工程,编译结果如下:LNK1169
和 LNK2005在网上找到一篇文章很详细的解释了这种...
分类:
其他好文 时间:
2014-05-10 08:05:17
阅读次数:
970
在表单中获取当前用户,可采用this.Application.User.UserName
XPathNavigator navigatior =
MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my...
分类:
其他好文 时间:
2014-05-10 06:38:44
阅读次数:
241
application的主要方法里,有log方法,是日志文件里可以查看到信息的。当老师写好代码后,他发现在tomact里的log目录下找不到信息,原因是:我们用myeclipse这个客户端软件,应该把服务器关闭,而是去bin目录下,手动开启服务器即startup.bat。这个文件,然后在log目录下...
分类:
移动开发 时间:
2014-05-10 00:58:19
阅读次数:
516
如果你想要在Chrome中进行GWT调试,需要安装“gwt developer plugin
for chrome”,但是普通安装模式下,会提示:This application is not supported on this computer.
Installation has been dis...
分类:
Web程序 时间:
2014-05-10 00:12:24
阅读次数:
507
1、通过一个Data.java实例类,可以实现全局数据保存,这里就不多说了,学Java的都知道。
2、Android特有的Application,是应用的入口,运行贯穿整个app运行过程,可以在这个类中定义全局变量
public class baseApplication extends Application {
private float screenWidth;
pri...
分类:
移动开发 时间:
2014-05-09 20:50:24
阅读次数:
406
在接入第三方渠道SDK的时候,经常会看到其配置文件AndroidManifest.xml有类似如下的定义:[html]view
plaincopy笔者这里在Application级别和Activity级别都定义了一个meta-data,我们如何来取得这两个组件的值呢?如下:[java]view
pl...
分类:
移动开发 时间:
2014-05-09 20:07:37
阅读次数:
449
出现以下错误: Could not open key:
UNKNOWN\Components\7ABFE44842C12B390AF18C3B9B1A1EE8\000021599B0090400100000000F01FEC.Verify
that you have sufficient acces...
分类:
数据库 时间:
2014-05-09 13:33:37
阅读次数:
1131
Bluetooth
Using the Bluetooth APIs, an Android application can perform the following:
使用蓝牙APIs,一个Android应用可以进行如下操作:
Scan for other Bluetooth devices
扫描其他蓝牙设备
Query the local Bluetooth adapter...
分类:
移动开发 时间:
2014-05-09 06:15:57
阅读次数:
479
官网 http://www.rust-lang.org/下载链接
http://static.rust-lang.org/dist/rust-0.10-i686-unknown-linux-gnu.tar.gzrust有mac,windows,mac版本
,试了windows和linux版本,win...
分类:
其他好文 时间:
2014-05-09 06:00:52
阅读次数:
299