Posts in Microsoft Office
Farewell, dsoframer
- 11 March 2018
I know, it is long overdue. Microsoft discontinued it a decade ago. And Office is not meant to be embedded. I even advised people to not use it in new development almost a decade ago. Then why I keep using it for so long?
Because customers don’t want changes. I work in the medical field, where some of the clients still use telnet to interface with their medical software that are probably older than I am. Once you get people hooked to a UI it is hard to change that. The fact that Microsoft discontinues dsoframer means nothing to them – once I use it, I own it. It is like Microsoft having to release an Office update for the old equation editor made by MathType 16 years ago. So I have been doing patchwork as much as I can to keep dsoframer alive.
Find and replace specific formatting in Word 2003
- 10 November 2005
In Microsoft Word 2003, you can replace text as in other programs. However, you can replace line breaks, graphics, and special formats as well. For example, to seperact and to add a serial number before every sentence, you can replace sentence-ending punctuations, such as periods and question marks, to the same punctuations plus a line break, click the numbering toolbar button, and make some minor manual changes for misreplacement.
Steps to numberize sentences:
Add a empty line to the end of the document by pressing Enter
Select the last line.
On the Edit menu, click Copy.
On the Edit menu, click Replace.
If you don’t see the Format button, click More.
In the Find what box, enter a period.
In the Replace With box, type a period.
In the Replace With box, type “^C”, or Click Special, and select Clipboard Contents
Click Replace All
Repeat step 6-9 for every other punctuation.
Repeat step 6-9 for each common misreplacement, such as Dr. or URL. Use ^C instead of a line break in finding and replacing.
click the numbering toolbar button on the Formating toolbar.
Make manually correction for other misreplacements.
Reference: http://office.microsoft.com/en-us/assistance/HP051894331033.aspx
结合ADO、ADOX和MFC的文档/视图/框架架构创建和打开Access数据库
- 15 March 2004
本文描述了如何在MFC的文档/视图/框架架构中使用ADO和ADOX来创建和打开数据库。
在阅读本文之前,建议先对COM,数据库和MFC的文档/视图/框架有一个基本的了解。推荐阅读下列文章