设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
查看: 2119|回复: 1
打印 上一主题 下一主题

[原创]通用代码着色器组件 2.0.0.0

[复制链接]
跳转到指定楼层
1#
发表于 2003-11-18 18:31:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

详情看这里:http://www.luocong.com/bbs/dispbbs.asp?boardID=2&ID=3467

组件目前的支持:
   1. 标签方面:支持HTTP标签和UBB标签
   2. 编程语言方面:c、c++、c#、delphi、ilasm、jsnet、masm、vb、vbnet,
      其中对c、c++、delphi支持内联汇编的代码着色


样例:

'=====================================================================
'  File:      WordCount.vb
'
'  Summary:   Demonstrates how to create a WordCount application
'             using various .NET Framework library types.
'
'---------------------------------------------------------------------
'  This file is part of the Microsoft .NET Framework SDK Code Samples.
'
'  Copyright (C) Microsoft Corporation.  All rights reserved.
'
'This source code is intended only as a supplement to Microsoft
'Development Tools and/or on-line documentation.  See these other
'materials for detailed information regarding Microsoft code samples.
'
'THIS CODE AND INFORMATION ARE&nbspROVIDED "AS IS" WITHOUT WARRANTY OF ANY
'KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
'IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
'PARTICULAR&nbspURPOSE.
'=====================================================================

Option Explicit On 
Option Strict On


' Add the classes in the following namespaces to our namespace
Imports System
Imports System.IO
Imports System.Text
Imports System.Threading
Imports System.Security
Imports System.Collections
Imports Microsoft.VisualBasic


Class WordCountArgParser
    Inherits ArgParser
    
    ' Members identifying command-line argument settings
    Private showAlphabeticalWordUsageFlag As Boolean
    Private showOccurrenceWordUsageFlag As Boolean
    Private outputFileName As String
    Private fileEncodingType As Encoding = Encoding.UTF8
    Private pathnames As New ArrayList()
            
   &
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 订阅订阅
2#
发表于 2004-5-25 00:43:00 | 只看该作者
请问怎样使用?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-5-18 09:26 , Processed in 0.095874 second(s), 25 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表