Office中国论坛/Access中国论坛

标题: [原创]通用代码着色器组件 2.0.0.0 [打印本页]

作者: xlfancy    时间: 2003-11-18 18:31
标题: [原创]通用代码着色器组件 2.0.0.0

详情看这里: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()
            
   &
作者: 209    时间: 2004-5-25 00:43
请问怎样使用?




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3