IMXin 马鑫

成功是偶然…..呵,再来.

学习

CentOS 5.5 服务优化

#ntsysv 即可可视化更改CentOS启动服务。 下面是对CentOS 5.5 各个服务的简介,由于借鉴多个人的博客,还有一些是官网博客,所以就不写出引用了。 服务名称 建议 说明 acpid 停用 Advanced Configuration and Power Interface 电源进阶设定,常用在 Laptop 上 apmd 停用 Adventage Power Management daemon 侦测系统的电池电量,常用在 Laptop 上 atd 停用 /etc/at.allow,/etc/at.deny 我大概都使用 crond 来达成 autofs 停用 自动挂载档案系统与外围装置 (如光盘、USB),常用在 Laptop 上 avahi-daemon 停用 当区网没有 DNS 服务时会试着寻找提供 zeroconf 协议的主机 bluetooth 停用 Bluetooth 蓝芽,常用在 Laptop 上 cpuspeed 停用 控制 [...]

Posted in 学习, 工作 | 1 Comment »

UltraISO 命令行参数

UltraISO Command Line Parameters : -volume string Volume Label -sysid string System ID -appid string Application ID -volset string Volume Set ID -preparer string Preparer -publisher string Publisher -ilong Long filename for ISO 9660 volume, up to 31 chars -imax Max filename for ISO 9660 volume, up to 207 chars -vernum Include file version number [...]

Posted in 学习 | No Comments »

c#枚举的遍历与枚举值的转换

首先:遍历枚举 foreach (Model.SoftEnum.CardType m_type in Enum.GetValues(typeof(Model.SoftEnum.CardType))) { //m_type.ToString() } 字符串转换成枚举:DayOfWeek week= (DayOfWeek)Enum.Parse(typeof(DayOfWeek), Friday”); 数字转换成枚举:DayOfWeek week= (DayOfWeek)5 枚举转化为字符: DisplayType displayType=DisplayType.Down; string str=displayType.ToString(); Response.Write(str); 枚举转化为数字:(int)Enum.Parse(typrof(DisplayType),”Down”)

Posted in 学习 | No Comments »

在C#中利用自动化模型操纵Word

在活动文档的起始结尾位置处插入文本: app.ActiveDocument.Words.First.InsertBefore(txt); app.ActiveDocument.Words.Last.InsertAfter(txt);

Posted in 学习 | No Comments »

c# 操作word get_information

expression.information(type) expression 必需。该表达式返回一个 range 或 selection 对象。 type long 类型,必需。需要返回的信息。可取下列 wdinformation 常量之一:

Posted in 学习 | No Comments »

VBA语句集100句 (Word VBA)

- – – – – – – – – – – – – – – – – – – - Application对象 – – – – – – – – – – – – – – – – – – – -

Tags: , ,

Posted in 学习 | No Comments »

C# Word 控制光标

十一、上下左右移动光标位 private void moveLeft() { object moveUnit = Microsoft.Office.Interop.Word.WdUnits.wdWord; object moveCount = 1; object moveExtend = Microsoft.Office.Interop.Word.WdMovementType.wdExtend; thisDocument.Application.Selection.MoveLeft(ref moveUnit, ref moveCount, ref MissingValue); }

Posted in 学习 | No Comments »

有感于Google的图标

以前因为Google的图标收集过一段时间的QQ的登录图标,后来很多站都收就放弃了,几年下来这453X190 PX 带来的细微用户体验,坚持N年后,就是品牌。

Posted in 学习 | No Comments »

Win7快捷键

 熟悉使用键盘不仅能增加你的操作速度,还能帮助减轻腕关节的疲劳。下面是一些能帮助你成为键盘大师的鲜为人知的Windows快捷键。

Posted in 学习 | No Comments »

CSS日常公用样式与一些解决方案

由于XHTML+CSS是自己自学的,所以有的地方术语不太对的地方,各位酷友要提出来啊。

Posted in 学习 | No Comments »