- 浏览: 5178 次
- 性别:
最新评论
文章列表
找到工作目录workspace(F:\workspace\.metadata\.plugins),在.metadata\.plugins中删掉以下两个
文件,再次重启myeclipse走一个!
org.eclipse.ui.workbench
org.eclipse.ui.workbench.texteditor
原因是:上次没有正常关闭eclipse导致的!
java上传.zip的文件并覆盖。
- 博客分类:
- java
public void uploadFile() throws Exception {
File fileTemp=new File(path);
ZipFile zf = new ZipFile(fileTemp, "GBK");//支持中文
Enumeration enu = zf.getEntries();
while (enu.hasMoreElements()) {
ZipEntry entry = (ZipEntry) enu.nextElement();
S ...
二进制转为图片并存储在指定path下
- 博客分类:
- java
public void byte2image(byte[] data,String path){
if(data.length<3||path.equals("")) return;
try{
FileImageOutputStream imageOutput = new FileImageOutputStream(new File(path));
imageOutput.write(data, 0, data.length);
imageOutput.close();
System.out.println(& ...
public void getHostIpConfig() throws IOException {
netConfig=new NetConfig();
netConfig2=new NetConfig();
Process pro = Runtime.getRuntime().exec("ipconfig /all");
BufferedReader br = new BufferedReader(new InputStreamReader(pro.getInputStream(),"gbk"));
...
存储过程创建脚本报错。
- 博客分类:
- sqlserver2008
标题: Microsoft SQL Server Management Studio
------------------------------
从 IClassFactory 为 CLSID 为 {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} 的 COM 组件创建实例失败,原因是出现以下错误: c001f011。 (Microsoft.SqlServer.ManagedDTS)
------------------------------
其他信息:
从 IClassFactory 为 CLSID 为 {AA40D1D6-CAEF-4A56-B9BB-D0D3D ...