原文 http://blog.csdn.net/ylforever/article/details/6745611一、背景 当软件需要发布多个不同语言版本时,对资源编辑的菜单,按钮,对话框大小形状有不同的要求。比如同个单词用中文/英文描述字符长度差异较大,如果这个单词 用作按钮的标题,对按钮的大小要...
分类:
其他好文 时间:
2014-07-16 23:24:17
阅读次数:
219
注:非调用OFFICE的DLL方法。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;u...
分类:
Web程序 时间:
2014-07-16 23:19:22
阅读次数:
352
要是服务器上没有装着excel 可以用c#导出excel表吗举报违规检举侵权投诉|2009-08-10 17:36 风之成 | 分类:办公软件 | 浏览2279次 租用的空间 服务器上没有装着office excel,可以用c#导出excel表吗?怎样做?给点代码……分享到:举报违规检举侵权投诉| ...
分类:
其他好文 时间:
2014-07-16 23:19:00
阅读次数:
315
引用using Microsoft.Office.Interop.Excel;using System.Reflection;//反射命名空间using System.IO; protected void Button1_Click(object sender, EventArgs e) { ...
分类:
其他好文 时间:
2014-07-16 23:18:29
阅读次数:
149
用Delphi从数据库中取得资料,然后导出到Excel中做成报表是个不错的选择,因为Excel强大的报表功能那可是没话说前提Delphi中要 uses comobj;var Excel:Variant;一、Excel操作1.创建Excel对象Excel := CreateOleObject( Exc...
分类:
其他好文 时间:
2014-07-16 23:17:35
阅读次数:
216
在vc++编程中,会发现微软的很多API里面都用到了位运算,比如这个函数:CreateWindowExA( __in DWORD dwExStyle, __in_opt LPCSTR lpClassName, __in_opt LPCSTR lpWindowName, _...
分类:
编程语言 时间:
2014-07-16 23:13:20
阅读次数:
299
object missing = System.Reflection.Missing.Value; //表示缺i省object SaveFileDialog savedialog = new SaveFileDialog(); savedialog.Filter = "(*.xlsx)|*.xlsx...
分类:
Web程序 时间:
2014-07-16 23:12:04
阅读次数:
236
VC学习笔记5:单选按钮控件(Ridio Button)的使用一、对单选按钮进行分组:每组的第一个单选按钮设置属性:Group,Tabstop,Auto;其余按钮设置属性Tabstop,Auto。如:Ridio1、Ridio2、Ridio3为一组,Ridio4、Ridio5为一组设定Ridio1属性...
分类:
其他好文 时间:
2014-07-16 23:10:30
阅读次数:
347
C#操作Excel知识点近期在使用C#操作excel,主要是读取excel模板,复制其中的模板sheet页,生成多个sheet页填充相应数据后另存到excel文件,所用到的知识点如下。 一、添加引用和命名空间 添加Microsoft.Office.Interop.Excel引用,它的默认路径是C.....
分类:
Web程序 时间:
2014-07-12 13:21:11
阅读次数:
284
[vc.tabBarItem setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"AmericanTypewriter" size:20.0f],UITextAttribut...
分类:
其他好文 时间:
2014-06-29 18:20:45
阅读次数:
160