自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

程序点滴

携子之手,共建美好明天

  • 博客(5)
  • 资源 (4)
  • 收藏
  • 关注

原创 ACE操作ini配置文件

     配置文件(后缀为.ini)的文件主要用作配置程序启动时的一些参数配置,每一个配置行的格式为:name=valuename:配置参数名称value:配置参数的值=:配置分隔符 配置参数可以根据功能相关性对配置行进行分组,每一个组称为一个Section,Section没有显示的终止标识,一个新的Section的开始(或文件结束)即表示前一个Section的终止.下面为

2009-04-25 11:22:00 1838

原创 ACE获取时间信息

本文介绍了如何使用ACE框架中的ACE_Date_Time类和ACE_Time_Value类获取当前时间信息,内容包含年、月、日、时、分、秒和毫秒,这些信息在编程中会经常用到,故将其整理如下,功能很简单:每隔一秒获取当前的系统时间,打印到屏幕,同时也使用ACE_OS命名空间中的文件操作函数将其写入一文本文件,代码如下:#include #include #include #incl

2009-04-23 23:11:00 6034

原创 Linux共享库文件(so)用法

    JCConvert已经在Windows上可以工作,下一步我将在Linux平台上实现这个功能。为了保证对Linux系统so文件理解无误,先在Linux平台上创建一个so文件,并使用测试程序进行测试,其目的就是确认自己的理解是否正确。第一步是如何生成一个so文件。1.生成包含文件SoTest.h,代码如下:#include using namespace std;#ifde

2009-04-20 23:33:00 3381

原创 汉字数目与阿拉伯数字转化之二

上一篇实现使用C++实现了汉字数目转化为阿拉伯数字的引擎,其接口仅能供c++语言使用,本文将在上一篇的基础上,将其转化为c语言可以使用的动态链接库,既可以供C++代码使用,又可以供C源代码使用,开发环境以VS2008为例,其它编译器的移植在后续的文章中逐步实现,包含文件内容修改为如下模样:// 下列 ifdef 块是创建使从 DLL 导出更简单的// 宏的标准方法。此 DLL 中的所有文件

2009-04-19 17:35:00 870

原创 汉字数目与阿拉伯数字转化之一

  本文定义了汉字数目(一百二十三)转化为阿拉伯数字(123)数据结构及函数定义,本文使用了C++STL中的常用数据结构如集合(set)、映射(map)、向量(vector)和字符串(string)等,故提供的接口仅供C++开发人员使用,C语言开发人员需要再对其进行封装,剔除C++元素,在后文中介绍,先看一下包含文件是如何定义的。#ifndef __JCCHINESE_TO_NUM__

2009-04-19 16:45:00 1034

Visual.Studio.Tools.for.Office.Using.C.Sharp.with.Excel.Word.Outlook.and.InfoPath.Sep.2005.part2

<br> Copyright <br> Praise for Visual Studio Tools for Office <br> Microsoft .NET Development Series <br> Titles in the Series <br> About the Authors <br> Foreword <br> Preface <br> Acknowledgments <br> Part One. An Introduction to VSTO <br> Chapter 1. An Introduction to Office Programming <br> Why Office Programming? <br> Office Object Models <br> Properties, Methods, and Events <br> The Office Primary Interop Assemblies (PIAs) <br> Conclusion <br> Chapter 2. Introduction to Office Solutions <br> The Three Basic Patterns of Office Solutions <br> Office Automation Executables <br> Office Add-Ins <br> Code Behind a Document <br> Conclusion <br> Part Two. Office Programming in .NET <br> Chapter 3. Programming Excel <br> Ways to Customize Excel <br> Programming User-Defined Functions <br> Introduction to the Excel Object Model <br> Conclusion <br> Chapter 4. Working with Excel Events <br> Events in the Excel Object Model <br> Events in Visual Studio 2005 Tools for Office <br> Conclusion <br> Chapter 5. Working with Excel Objects <br> Working with the Application Object <br> Working with the Workbooks Collection <br> Working with the Workbook Object <br> Working with the Worksheets, Charts, and Sheets Collections <br> Working with Document Properties <br> Working with the Windows Collections <br> Working with the Window Object <br> Working with the Names Collection and Name Object <br> Working with the Worksheet Object <br> Working with the Range Object <br> Special Excel Issues <br> Conclusion <br> Chapter 6. Programming Word <br> Ways to Customize Word <br> Programming Research Services <br> Introduction to the Word Object Model <br> Conclusion <br> Chapter 7. Working with Word Events <br> Events in the Word Object Model <br> Events in Visual Studio Tools for Office <br> Conclusion <br> Chapter 8. Working with Word Objects <br> Working with the Application Object <br> Working with the Dialog Object <br> Working with Windows <br> Working with Templates <br> Working with Documents <br> Working with a Document <br> Working with the Range Object <br> Working with Bookmarks <br> Working with Tables <br> Conclusion <br> Chapter 9. Programming Outlook <br> Ways to Customize Outlook <br> Introduction to the Outlook Object Model <br> Introduction to the Collaboration Data Objects <br> Conclusion <br> Chapter 10. Working with Outlook Events <br> Events in the Outlook Object Model <br> Application-Level Events <br> Outlook Item Events <br> Other Events <br> Conclusion <br> Chapter 11. Working with Outlook Objects <br> Working with the Application Object <br> Working with the Explorers and Inspectors Collections <br> Working with the Explorer Object <br> Working with the Inspector Object <br> Working with the NameSpace Object <br> Working with the MAPIFolder Object <br> Working with the Items Collection <br> Properties and Methods Common to Outlook Items <br> Outlook Issues <br> Conclusion <br> Chapter 12. Introduction to InfoPath <br> What Is InfoPath? <br> Getting Started <br> Form Security <br> Programming InfoPath <br> Data Source Events <br> Form Events, Properties, and Methods <br> Conclusion <br> Part Three. Office Programming in VSTO <br> Chapter 13. The VSTO Programming Model <br> The VSTO Programming Model <br> VSTO Extensions to Word and Excel Objects <br> Dynamic Controls <br> Advanced Topic: Dynamic Host Items <br> Advanced Topic: Inspecting the Generated Code <br> VSTO Extensions to the Word and Excel Object Models <br> Conclusion <br> Chapter 14. Using Windows Forms in VSTO <br> Introduction <br> Adding Windows Forms Controls to Your Document <br> Writing Code Behind a Control <br> The Windows Forms Control Hosting Architecture <br> Properties Merged from OLEObject or OLEControl <br> Adding Controls at Runtime <br> Conclusion <br> Chapter 15. Working with Actions Pane <br> Introduction to the Actions Pane <br> Working with the ActionsPane Control <br> Conclusion <br> Chapter 16. Working with Smart Tags in VSTO <br> Introduction to Smart Tags <br> Creating Document-Level Smart Tags with VSTO <br> Creating Application-Level Smart Tags <br> Conclusion <br> Chapter 17. VSTO Data Programming <br> Creating a Data-Bound Customized Spreadsheet with VSTO <br> Creating a Data-Bound Customized Word Document with VSTO <br> Datasets, Adapters, and Sources <br> Another Technique for Creating Data-Bound Spreadsheets <br> Caching Data in the Data Island <br> Advanced ADO.NET Data Binding: Looking Behind the Scenes <br> Binding-Related Extensions to Host Items and Host Controls <br> Conclusion <br> Chapter 18. Server Data Scenarios <br> Populating a Document with Data on the Server <br> Using ServerDocument and ASP.NET <br> A Handy Client-Side ServerDocument Utility <br> The ServerDocument Object Model <br> Conclusion <br> Chapter 19. .NET Code Security <br> Code Access Security Versus Role-Based Security <br> Code Access Security in .NET <br> Location, Location, Location <br> Strong Names <br> Publisher Certificates <br> Trusting the Document <br> Deploying Policy to User Machines <br> Conclusion <br> Chapter 20. Deployment <br> VSTO Prerequisites <br> Deploying to an Intranet Shared Directory or Web Site <br> Local Machine Deployment Without a Deployment Manifest <br> Editing Manifests <br> Creating Setup Packages <br> Advanced Topic: Deploying Network Solutions to Be Cached Locally <br> Conclusion <br> Part Four. Advanced Office Programming <br> Chapter 21. Working with XML in Excel <br> Introduction to Excel's XML Features <br> Introduction to XML Schema Creation in Visual Studio <br> An End-to-End Scenario <br> Advanced XML Features in Excel <br> Excel-Friendly XML Schemas <br> VSTO Support for Excel Schema Mapping <br> Conclusion <br> Chapter 22. Working with XML in Word <br> Introduction to Word's XML Features <br> An End-to-End Scenario: Creating a Schema and Mapping It into a Word Document <br> Exporting the Mapped XML in the Document to an XML Data File <br> Importing an XML Data File into the Mapped Document <br> The XML Options Dialog <br> VSTO Support for Word Schema Mapping <br> VSTO Support for the WordML File Format <br> Conclusion <br> Chapter 23. Developing COM Add-Ins for Word and Excel <br> Introduction to Add-Ins <br> Scenarios for Using Add-Ins <br> How a COM Add-In Is Registered <br> Implementing IDTExtensibility2 <br> Writing a COM Add-In Using Visual Studio <br> The Pitfalls of MsCoree.dll <br> COM Interop and Regasm.exe <br> Shimming: A Solution to the Problems with MsCoree.dll <br> Conclusion <br> Chapter 24. Creating Outlook Add-Ins with VSTO <br> Moving Away from COM Add-Ins <br> Creating an Outlook Add-In in VSTO <br> Conclusion <br>

2008-04-14

Visual.Studio.Tools.for.Office.Using.C.Sharp.with.Excel.Word.Outlook.and.InfoPath.Sep.2005

Copyright Praise for Visual Studio Tools for Office Microsoft .NET Development Series Titles in the Series About the Authors Foreword Preface Acknowledgments Part One. An Introduction to VSTO Chapter 1. An Introduction to Office Programming Why Office Programming? Office Object Models Properties, Methods, and Events The Office Primary Interop Assemblies (PIAs) Conclusion Chapter 2. Introduction to Office Solutions The Three Basic Patterns of Office Solutions Office Automation Executables Office Add-Ins Code Behind a Document Conclusion Part Two. Office Programming in .NET Chapter 3. Programming Excel Ways to Customize Excel Programming User-Defined Functions Introduction to the Excel Object Model Conclusion Chapter 4. Working with Excel Events Events in the Excel Object Model Events in Visual Studio 2005 Tools for Office Conclusion Chapter 5. Working with Excel Objects Working with the Application Object Working with the Workbooks Collection Working with the Workbook Object Working with the Worksheets, Charts, and Sheets Collections Working with Document Properties Working with the Windows Collections Working with the Window Object Working with the Names Collection and Name Object Working with the Worksheet Object Working with the Range Object Special Excel Issues Conclusion Chapter 6. Programming Word Ways to Customize Word Programming Research Services Introduction to the Word Object Model

2008-04-14

Programming.Mobile.Devices.An.Introduction.for.Practitioners

Contents ix <br>7.5 Symbian OS and Bluetooth Facilities 189 <br>7.5.1 Bluetooth Introduction 189 <br>7.5.2 Bluetooth in Symbian 191 <br>7.6 Summary 194 <br>7.7 Exercises 194 <br>8 Security 197 <br>8.1 Overview 197 <br>8.2 Secure Coding and Design 198 <br>8.2.1 Mindset for Secure Design 198 <br>8.2.2 Sample Security-Related Design Patterns 199 <br>8.3 Infrastructure for Enabling Secured Execution 201 <br>8.3.1 Goals for Security Features 201 <br>8.3.2 Supporting Hardware and Software Facilities 203 <br>8.4 Security Features in MIDP Java 205 <br>8.4.1 Low-Level Security 205 <br>8.4.2 Application-Level Security 206 <br>8.4.3 End-to-End Security 208 <br>8.4.4 Problems 208 <br>8.5 Symbian OS Security Features 208 <br>8.5.1 Low-Level Security 209 <br>8.5.2 Application-Level Security 209 <br>8.5.3 End-to-End Security 211 <br>8.5.4 Problems with Symbian OS Security Features 212 <br>8.6 Summary 212 <br>8.7 Exercises 213 <br>References 215 <br>Index 219 <br>

2008-04-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除