c#找不到类型或命名空间名称“Word”2012-10-10
11:17:33|分类:VC#技术|举报|字号订阅using Word =
Microsoft.Office.Interop.Word;添加引用word的相关dll,方法:解决方案资源管理器-你的工程-引用右键-添加引用-COM找到Off...
分类:
其他好文 时间:
2014-05-14 04:19:16
阅读次数:
256
项目开发过程中,我们要把数据以各种各样的形式展现给客户。把数据以文档的形式展现给客户相信是一种比较头疼的问题,如果没有好的方法会使得我的开发繁琐,而且满足不了客户的需求。接下来我会通过两种开发方式介绍如何将数据输出到Word
文档上。我会分两篇文章介绍,第一篇介绍不使用插件的情况下操作word,第二...
分类:
其他好文 时间:
2014-05-14 03:30:05
阅读次数:
441
最近翻译一本新书,Word2013用的较多,于是发现了一个奇怪的问题,撤销按钮一直是灰色。编辑的时候闪一下,又变为灰色。按Ctrl-Z也同样不管用。中文资源里面的解决方法都是用winword.exe/safe启动一次,再进入Word就恢复正常了(例如这篇文章)。但是这个方法不是一劳永..
分类:
其他好文 时间:
2014-05-12 03:33:35
阅读次数:
334
//基本类型for(int i=0;i<d.length;i++){for(int
j=i+1;j<d.length;j++){if(d[i]<d[j]){double
temp=d[i];d[i]=d[j];d[j]=temp;基本类型排序,需要注意2点,1,排序过程中,需要引用中间值,类似2个瓶...
分类:
其他好文 时间:
2014-05-12 02:53:40
阅读次数:
257
开发网站时,经常需要网站中有上传文件的功能,上传文件的功能有两种:将文件名称保存到数据库,文件保存到服务器指定位置;将文件直接保存到数据库中 该方法介绍
将文件以二进制的形式保存到数据库中 (可以保存word文档,记事本文本,图片,压缩包……) if (this.Fi...
分类:
数据库 时间:
2014-05-12 00:40:15
阅读次数:
325
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=151
For each list of words, output a line with each word reversed without changing the order of the words.
This problem contains multi...
分类:
其他好文 时间:
2014-05-11 22:20:43
阅读次数:
443
function getServiceUrl() {
var serverUrl = Xrm.Page.context.getServerUrl();
if (serverUrl.match(/\/$/)) {
serverUrl = serverUrl.substring(0, serverUrl.length - 1);
}
retur...
分类:
其他好文 时间:
2014-05-11 22:01:16
阅读次数:
261
Squares
Time Limit: 3500MS
Memory Limit: 65536K
Total Submissions: 15489
Accepted: 5864
Description
A square is a 4-sided polygon whose sides have equal length and adja...
分类:
其他好文 时间:
2014-05-11 20:56:36
阅读次数:
416
题意:417 - Word Index
题意:每个字符串按题目中那样去映射成一个数字,输入字符串,输出数字
思路:这题还是比较水的,由于一共只有83000多个数字,所以对应一个个数字去映射就可以了,注意字符串进位的情况处理即可
代码:
#include
#include
#include
#include
using namespace std;
char str[10];
ma...
分类:
其他好文 时间:
2014-05-11 20:49:23
阅读次数:
428
Given an array of words and a length L, format
the text such that each line has exactly L characters and is fully (left and
right) justified.You shoul...
分类:
其他好文 时间:
2014-05-11 15:15:29
阅读次数:
287