找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 2143|回复: 4

[转贴]:我来转贴一个acad和excel数据转换的函数

[复制链接]
发表于 2003-2-16 23:12:24 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
这是某外国大虾写的转换函数,大家试试。
不过要先把其中的dsx-princ全部改成princ。

  1. <normalfont>


  2. ;;;*************************************************************************;;;
  3. ;;; DSX-API-Excel.LSP                                                       ;;;
  4. ;;; Visual LISP ActiveX API for Excel 97, 2000 and XP                       ;;;
  5. ;;; Copyright (C)2002 David M. Stein, All rights reserved                   ;;;
  6. ;;;*************************************************************************;;;
  7. ;;; Version 2002.22 05/15/02: Initial release                               ;;;
  8. ;;;*************************************************************************;;;
  9. ;;; Code provided AS-IS without warranty of any kind given for any purpose  ;;;
  10. ;;; or use, either explicitly, implicitly or as a derivative work item.     ;;;
  11. ;;; User assumes ANY AND ALL RISK and LIABILITY for use of any of this code ;;;
  12. ;;; for any consequential damages of any kind.  These functions are defined ;;;
  13. ;;; within DSX Tools 2002.22 when loaded into AutoCAD.  This document is    ;;;
  14. ;;; provided for informational purposes only.                               ;;;
  15. ;;;*************************************************************************;;;

  16. (vl-load-com)

  17. ;;;*************************************************************************
  18. ;;; MODULE: DSX-TypeLib-Excel
  19. ;;; DESCRIPTION: Returns typelib (olb) file for either Excel 97, 2000, or XP
  20. ;;; ARGS: none
  21. ;;; EXAMPLE: (DSX-TypeLib-Excel)
  22. ;;;*************************************************************************

  23. (defun DSX-TypeLib-Excel ( / sysdrv tlb)
  24.         (setq sysdrv (getenv "systemdrive"))
  25.         (cond
  26.                 ( (setq tlb (findfile (strcat sysdrv "\\Program Files\\Microsoft Office\\Office\\Excel8.olb")))
  27.                          tlb
  28.                 )
  29.                 ( (setq tlb (findfile (strcat sysdrv "\\Program Files\\Microsoft Office\\Office\\Excel9.olb")))
  30.                   tlb
  31.                 )
  32.                 ( (setq tlb (findfile (strcat sysdrv "\\Program Files\\Microsoft Office\\Office\\Excel10.olb")))
  33.                   tlb
  34.                 )
  35.                 ( (setq tlb (findfile (strcat sysdrv "\\Program Files\\Microsoft Office\\Office\\Excel.exe")))
  36.                         tlb
  37.                 )
  38.                 ( (setq tlb (findfile (strcat sysdrv "\\Program Files\\Microsoft Office\\Office10\\Excel.exe")))
  39.                   tlb
  40.                 )
  41.         )
  42. )
  43.                   
  44. ;;;*************************************************************************
  45. ;;; MODULE: DSX-Load-TypeLib-Excel
  46. ;;; DESCRIPTION: Loads typelib for Excel 97, 2000 or XP (whichever is found)
  47. ;;; ARGS: none
  48. ;;; EXAMPLE: (DSX-Load-TypeLib-Excel)
  49. ;;;*************************************************************************

  50. (defun DSX-Load-TypeLib-Excel ( / tlbfile tlbver out)
  51.   (dsx-princ "\n(DSX-Load-TypeLib-Excel)")
  52.   (cond
  53.     ( (null msxl-xl24HourClock)
  54.       (if (setq tlbfile (DSX-TypeLib-Excel))
  55.         (progn
  56.                                         (setq tlbver (substr (vl-filename-base tlbfile) 6))
  57.                                         (cond
  58.                                                 ( (= tlbver "9")  (princ "\nInitializing Microsoft Excel 2000...") )
  59.                                                 ( (= tlbver "8")  (princ "\nInitializing Microsoft Excel 97...") )
  60.                                                 ( (= (vl-filename-base tlbfile) "Excel.exe")
  61.                                                          (princ "\nInitializing Microsoft Excel XP...")
  62.                                                 )
  63.                                         )
  64.                       (vlax-import-type-library
  65.             :tlb-filename       tlbfile
  66.                         :methods-prefix                 "msxl-"
  67.                         :properties-prefix         "msxl-"
  68.                         :constants-prefix         "msxl-"
  69.                       )
  70.                       (if msxl-xl24HourClock (setq out T))
  71.                     )
  72.                   )
  73.     )
  74.     ( T (setq out T) )
  75.   )
  76.         out
  77. )

  78. ;;;*************************************************************************
  79. ;;; MODULE: DSX-Open-Excel-New
  80. ;;; DESCRIPTION: Opens a new session of Excel 97, 2000 or XP
  81. ;;; ARGS: display-mode ("SHOW" or "HIDE")
  82. ;;; EXAMPLE: (setq xlapp (DSX-Open-Excel-New "SHOW"))
  83. ;;;*************************************************************************

  84. (defun DSX-Open-Excel-New (dmode / appsession)
  85.   (dsx-princ "\n(DSX-Open-Excel-New)")
  86.         (princ "\nCreating new Excel Spreadsheet file...")
  87.         (cond
  88.                 ( (setq appsession (vlax-create-object "Excel.Application"))

  89.       (vlax-invoke-method
  90.         (vlax-get-property appsession 'WorkBooks)
  91.         'Add
  92.       )
  93.                   (if (= (strcase dmode) "SHOW")
  94.                           (vla-put-visible appsession 1)
  95.                                 (vla-put-visible appsession 0)
  96.                         )
  97.           )
  98.   )
  99.         appsession
  100. )

  101. ;;;*************************************************************************
  102. ;;; MODULE: DSX-Open-Excel-Exist
  103. ;;; DESCRIPTION: Gets handle to existing (running) session of Excel 97, 2000, XP
  104. ;;; ARGS: xls-filename, display-mode ("SHOW" or "HIDE")
  105. ;;; EXAMPLE: (setq xlapp (DSX-Open-Excel-Exist "myfile.xls" "SHOW"))
  106. ;;;*************************************************************************

  107. (defun DSX-Open-Excel-Exist (xfile dmode / appsession)
  108.   (dsx-princ "\n(DSX-Open-Excel-Exist)")
  109.         (princ "\nOpening Excel Spreadsheet file...")
  110.   (cond
  111.                 ( (setq fn (findfile xfile))
  112.                         (cond
  113.                                 ( (setq appsession (vlax-get-or-create-object "Excel.Application"))
  114.                       (vlax-invoke-method
  115.                         (vlax-get-property appsession 'WorkBooks)
  116.                         'Open fn
  117.                       )
  118.                                   (if (= (strcase dmode) "SHOW")
  119.                                           (vla-put-visible appsession 1)
  120.                                                 (vla-put-visible appsession 0)
  121.                                         )
  122.                                 )
  123.                         )
  124.           )
  125.                 ( T (alert (strcat "\nCannot locate source file: " xfile)) )
  126.   )
  127.         appsession
  128. )

  129. ;;;*************************************************************************
  130. ;;; MODULE: DSX-Excel-Put-ColumnList
  131. ;;; DESCRIPTION: Write each list member to a column (startcol) starting at row (startrow)
  132. ;;; ARGS: list, startrow, startcol
  133. ;;; EXAMPLE: (DSX-Excel-Put-ColumnList '("A" "B" "C") 1 2) puts members into cells (1,B) (2,B) (3,B) respectively
  134. ;;;*************************************************************************

  135. (defun DSX-Excel-Put-ColumnList (lst startrow startcol)
  136.   (dsx-princ "\n(DSX-Excel-Put-ColumnList)")
  137.   (foreach itm lst
  138.     (msxl-put-value
  139.       (DSX-Excel-Get-Cell range startrow startcol)
  140.       itm
  141.     )
  142.     (setq startrow (1+ startrow))
  143.   ); repeat
  144. )

  145. ;;;*************************************************************************
  146. ;;; MODULE: DSX-Excel-Put-RowList
  147. ;;; DESCRIPTION: Write each list member to row (startrow) starting at column (startcol)
  148. ;;; ARGS: list, startrow, startcol
  149. ;;; EXAMPLE: (DSX-Excel-Put-RowList '("A" "B" "C") 2 1) puts members into cells (1,B) (1,C) (1,D) respectively
  150. ;;;*************************************************************************

  151. (defun DSX-Excel-Put-RowList (lst startrow startcol)
  152.   (dsx-princ "\n(DSX-Excel-Put-RowList)")
  153.   (foreach itm lst
  154.     (msxl-put-value
  155.       (DSX-Excel-Get-Cell range startrow startcol)
  156.       itm
  157.     )
  158.     (setq startcol (1+ startcol))
  159.   ); repeat
  160. )

  161. ;;;*************************************************************************
  162. ;;; MODULE: DSX-Excel-Put-CellColor
  163. ;;; DESCRIPTION: Applies fill-color to specified cell
  164. ;;; ARGS: row, column, color (integer)
  165. ;;; EXAMPLE: (DSX-Excel-Put-CellColor 1 1 14) apply color #14 to cell (1,A)
  166. ;;;*************************************************************************

  167. (defun DSX-Excel-Put-CellColor (row col intcol / rng)
  168.   (setq rng (DSX-Excel-Get-Cell (msxl-get-ActiveSheet xlapp) row col))
  169.   (msxl-put-colorindex (msxl-get-interior rng) intcol)
  170. )

  171. ;;;*************************************************************************
  172. ;;; MODULE: DSX-Excel-Put-RowCellsColor
  173. ;;; DESCRIPTION: Applies fill-color to a row of cells
  174. ;;; ARGS: startrow, startcol, num-cols, color (integer)
  175. ;;; EXAMPLE: (DSX-Excel-Put-RowCellsColor 1 1 5 14) Start at row=1 col=1 repeat for 5 columns using color #14
  176. ;;;*************************************************************************

  177. (defun DSX-Excel-Put-RowCellsColor
  178.         (startrow startcol cols intcol / next)
  179.   (dsx-princ "\n(DSX-Excel-Put-RowCellsColor)")

  180.   (setq next startcol)
  181.   (repeat cols
  182.     (DSX-Excel-Put-CellColor startrow next intcol)
  183.     (setq next (1+ next))
  184.   )
  185. )

  186. ;;;*************************************************************************
  187. ;;; MODULE: DSX-Excel-Put-ColumnCellsColor
  188. ;;; DESCRIPTION: Change fill color in a column of cells
  189. ;;; ARGS: startrow, startcol, num-rows, color (integer)
  190. ;;; EXAMPLE: (DSX-Excel-Put-ColumnCellsColor 1 1 5 14) Start at row=1 col=1 repeat for 5 rows using color #14
  191. ;;;*************************************************************************

  192. (defun DSX-Excel-Put-ColumnCellsColor
  193.         (startrow startcol rows intcol / next)
  194.   (dsx-princ "\n(DSX-Excel-Put-ColumnCellsColor)")

  195.   (setq next startrow)
  196.   (repeat rows
  197.     (DSX-Excel-Put-CellColor next startcol intcol)
  198.     (setq next (1+ next))
  199.   )
  200. )

  201. ;;;*************************************************************************
  202. ;;; MODULE: DSX-Excel-Get-Cell
  203. ;;; DESCRIPTION: Get cell object relative to range using (relrow) and (relcol) offsets
  204. ;;; ARGS: range-object, relative-row, relative-col
  205. ;;; EXAMPLE: (DSX-Excel-Get-Cell rng1 2 2)
  206. ;;;*************************************************************************

  207. (defun DSX-Excel-Get-Cell (rng relrow relcol)
  208.   (dsx-princ "\n(DSX-Excel-Get-Cell)")
  209.   (vlax-variant-value
  210.     (msxl-get-item (msxl-get-cells rng)
  211.       (vlax-make-variant relrow)
  212.       (vlax-make-variant relcol)
  213.     )
  214.   )
  215. )

  216. ;;;*************************************************************************
  217. ;;; MODULE: DSX-Excel-Get-CellValue
  218. ;;; DESCRIPTION: Return value in given cell (row, column) of active session object (xlapp)
  219. ;;; ARGS: row(int), column(int)
  220. ;;; EXAMPLE: (DSX-Excel-Get-CellValue 1 2)
  221. ;;;*************************************************************************

  222. (defun DSX-Excel-Get-CellValue (row col)
  223.   (dsx-princ "\n(DSX-Excel-Get-CellValue)")

  224.   (vlax-variant-value
  225.     (msxl-get-value
  226.       (DSX-Excel-Get-Cell
  227.         (msxl-get-ActiveSheet xlapp)
  228.         row col
  229.       )
  230.     )
  231.   )
  232. )

  233. ;;;*************************************************************************
  234. ;;; MODULE: DSX-Excel-Get-RowValues
  235. ;;; DESCRIPTION: Returns a list of cell values within a given row
  236. ;;; ARGS: row-number(int), startcol, num-cells
  237. ;;; EXAMPLE: (DSX-Excel-Get-RowValues 3 1 20) get first 20 values in row 3
  238. ;;;*************************************************************************

  239. (defun DSX-Excel-Get-RowValues
  240.         (row startcol numcells / next out)
  241.   (dsx-princ "\n(DSX-Excel-Get-RowValues)")

  242.         (setq next startcol)
  243.         (repeat numcells
  244.                 (setq out                (if out
  245.                   (append out (list (DSX-Excel-Get-CellValue row next))); row x col
  246.                   (list (DSX-Excel-Get-CellValue row next)); row x col
  247.                                                                 )
  248.                                         next         (1+ next)
  249.                 )
  250.         ); repeat
  251.         out
  252. )

  253. ;;;*************************************************************************
  254. ;;; MODULE: DSX-Excel-Get-ColumnValues
  255. ;;; DESCRIPTION: Returns a list of cell values within a given column
  256. ;;; ARGS: column-number(int), startrow, num-cells
  257. ;;; EXAMPLE: (DSX-Excel-Get-ColumnValues 2 1 20) get top-20 entries in column 2 ("B")
  258. ;;;*************************************************************************

  259. (defun DSX-Excel-Get-ColumnValues
  260.         (col startrow numcells / next out)
  261.   (dsx-princ "\n(DSX-Excel-Get-ColumnValues)")

  262.         (setq next startrow)
  263.         (repeat numcells
  264.                 (setq out
  265.                         (if out
  266.         (append out (list (DSX-Excel-Get-CellValue next col)))
  267.         (list (DSX-Excel-Get-CellValue next col))
  268.                         )
  269.                                         next (1+ next)
  270.                 )
  271.         ); repeat
  272.         out
  273. )

  274. ;;;*************************************************************************
  275. ;;; MODULE: DSX-Excel-GetRangeValues-ByRows
  276. ;;; DESCRIPTION: Get range values in row order and return as nested lists
  277. ;;; ARGS: startrow, startcol, num-rows, num-cols
  278. ;;; EXAMPLE: (DSX-Excel-GetRangeValues-ByRows 1 1 5 10) get range values from 1A to 5J where each sublist is one row
  279. ;;;*************************************************************************

  280. (defun DSX-Excel-GetRangeValues-ByRows
  281.         (startrow startcol numrows numcols / nextrow rowlst outlst)
  282.   (dsx-princ "\n(DSX-Excel-GetRangeValues-ByRows)")
  283.         (setq nextrow startrow)
  284.         (repeat numrows
  285.     (setq rowlst  (DSX-Excel-Get-RowValues nextrow startcol numcols)
  286.                                         outlst  (if outlst (append outlst (list rowlst)) (list rowlst))
  287.                                   nextrow (1+ nextrow)
  288.                 )
  289.         )
  290.         outlst
  291. )

  292. ;;;*************************************************************************
  293. ;;; MODULE: DSX-Excel-GetRangeValues-ByCols
  294. ;;; DESCRIPTION: Get range values in column order and return as nested lists
  295. ;;; ARGS: startrow, startcol, num-rows, num-cols
  296. ;;; EXAMPLE: (DSX-Excel-GetRangeValues-ByCols 1 1 5 10) get range values from 1A to 5J where each sublist is one column
  297. ;;;*************************************************************************

  298. (defun DSX-Excel-GetRangeValues-ByCols
  299.   (startrow startcol numrows numcols / nextrow nextcol collst outlst)
  300.   (dsx-princ "\n(DSX-Excel-GetRangeValues-ByCols)")
  301.         (setq nextcol startcol)
  302.         (repeat numcols
  303.     (setq collst  (DSX-Excel-Get-ColumnValues nextcol startrow numrows)
  304.                                         outlst  (if outlst (append outlst (list collst)) (list collst))
  305.                                   nextcol (1+ nextcol)
  306.                 )
  307.         )
  308.         outlst
  309. )

  310. ;;;*************************************************************************
  311. ;;; MODULE: DSX-Excel-Get-ActiveWorkSheet
  312. ;;; DESCRIPTION: Returns object of active worksheet in active Excel session
  313. ;;; ARGS: app (session object)
  314. ;;; EXAMPLE: (DSX-Excel-Get-ActiveWorkSheet xlapp)
  315. ;;;*************************************************************************

  316. (defun DSX-Excel-Get-ActiveWorkSheet (xlapp)
  317.   (dsx-princ "\n(DSX-Excel-Get-ActiveWorkSheet)")
  318.         (msxl-get-ActiveSheet xlapp)
  319. )

  320. ;;;*************************************************************************
  321. ;;; MODULE: DSX-Excel-RangeAutoFit
  322. ;;; DESCRIPTION: Applies Auto-Fit to columns within active range
  323. ;;; ARGS: active-sheet (object)
  324. ;;; EXAMPLE: (DSX-Excel-RangeAutoFit myxlws)
  325. ;;;*************************************************************************

  326. (defun DSX-Excel-RangeAutoFit (active-sheet)
  327.         (dsx-princ "\n(DSX-Excel-RangeAutoFit)")
  328.         (vlax-invoke-method
  329.                 (vlax-get-property
  330.                         (vlax-get-property
  331.                                 (vlax-get-property active-sheet 'UsedRange)
  332.                                 'Cells
  333.                         )
  334.                         'Columns
  335.                 )
  336.                 'AutoFit
  337.         )
  338. )

  339. (defun DSX-Excel-RangeDataFormat (active-sheet)
  340.         (dsx-princ "\n(DSX-Excel-RangeDataFormat)")
  341.         (vlax-put-property
  342.                 (vlax-get-property active-sheet "Cells")
  343.                 'NumberFormat "@"
  344.         )
  345. )

  346. ;;;*************************************************************************
  347. ;;; MODULE: DSX-Excel-Quit
  348. ;;; DESCRIPTION: Quit and close Excel session (app)
  349. ;;; ARGS: app (session object)
  350. ;;; EXAMPLE: (DSX-Excel-Quit xlapp)
  351. ;;;*************************************************************************

  352. (defun DSX-Excel-Quit (appsession)
  353.   (dsx-princ "\n(DSX-Excel-Quit)")
  354.         (cond
  355.                 ( (not (vlax-object-released-p appsession))
  356.                         (vlax-invoke-method appsession 'QUIT)
  357.                         (vlax-release-object appsession)
  358.                 )
  359.         )
  360. )

  361. ;;;*************************************************************************
  362. ;;; MODULE: DSX-Excel-Kill
  363. ;;; DESCRIPTION: Forces any open Excel sessions to be closed
  364. ;;; ARGS: none
  365. ;;; EXAMPLE: (DSX-Excel-Kill)
  366. ;;;*************************************************************************

  367. (defun DSX-Excel-Kill ( / eo)
  368.         (while (setq eo (vlax-get-object "Excel.Application"))
  369.                 (DSX-Excel-Quit eo)
  370.                 (vlax-release-object eo)
  371.                 (setq eo nil)
  372.                 (gc)(gc);; even this doesn't always kill the damn thing!
  373.   )
  374. )

  375. ;;;*************************************************************************
  376. ;;; MODULE:
  377. ;;; DESCRIPTION:
  378. ;;; ARGS:
  379. ;;; EXAMPLE:
  380. ;;;*************************************************************************
  381. ;;; Remove trailing 'nil' members from a given list

  382. (defun DSX-TrimList (lst)
  383.         (cond
  384.                 ( (/= nil (last lst)) lst)
  385.                 ( T
  386.       (DSX-TrimList (reverse (cdr (reverse lst))))
  387.                 )
  388.         )
  389. )

  390. ;;;*************************************************************************
  391. ;;; MODULE:
  392. ;;; DESCRIPTION:
  393. ;;; ARGS:
  394. ;;; EXAMPLE:
  395. ;;;*************************************************************************
  396. ;;; Convert a list of values into a list of string equivalents

  397. (defun DSX-ListStr (lst / mbr out)
  398.         (setq out '())
  399.         (foreach mbr lst
  400.                 (cond
  401.                         ( (= mbr nil) (setq out (cons "" out)) )
  402.                         ( (= (type mbr) 'STR)
  403.                           (if (member mbr '(" " "  " "   "))
  404.                                         (setq out (cons "" out))
  405.                                   (setq out (cons mbr out))
  406.                                 )
  407.                         )
  408.                         ( (= (type mbr) 'INT) (setq out (cons (itoa mbr) out)) )
  409.                         ( (= (type mbr) 'REAL)(setq out (cons (rtos mbr 2 6) out)))
  410.                 )
  411.         )
  412.         (reverse out)
  413. )

  414. ;;;*************************************************************************
  415. ;;; MODULE: DSX-Excel-Sheets
  416. ;;; DESCRIPTION: Returns SHEETS collection from active workbook
  417. ;;; ARGS: Excel-application
  418. ;;; EXAMPLE: (setq sheets (DSX-Excel-Sheets xlApp))
  419. ;;;*************************************************************************

  420. (defun DSX-Excel-Sheets (xlapp)
  421.         (setq xlsheets         (vlax-get-property xlapp "sheets"))
  422. )

  423. ;;;*************************************************************************
  424. ;;; MODULE:DSX-Excel-SheetDelete
  425. ;;; DESCRIPTION: Delete sheet (tab) from active workbook sheets collection
  426. ;;; ARG: sheet-name, sheets-collection
  427. ;;; EXAMPLE: (DSX-Excel-SheetDelete "Sheet3" xlSheets)
  428. ;;;*************************************************************************

  429. (defun DSX-Excel-SheetDelete (name xlsheets)
  430.         (vlax-for sh xlsheets
  431.                 (if (= (vlax-get-property sh "Name") name)
  432.                         (vlax-invoke-method sh "Delete")
  433.                 )
  434.         )
  435. )

  436. ;;;*************************************************************************
  437. ;;; MODULE: DSX-Excel-SheetAdd
  438. ;;; DESCRIPTION: Add new sheet (tab) to sheets collection in workbook, returns sheet object
  439. ;;; ARG: sheet-name, sheets-collection
  440. ;;; EXAMPLE: (setq newsheet (DSX-Excel-SheetAdd "SheetX" xlSheets))
  441. ;;;*************************************************************************

  442. (defun DSX-Excel-SheetAdd (name xlsheets)
  443.         (setq newsheet                 (vlax-invoke-method xlsheets "Add"))
  444.         (vlax-put-property newsheet "Name" name)
  445.         newsheet
  446. )

  447. ;;;*************************************************************************
  448. ;;; MODULE: DSX-Excel-WorkbookSave
  449. ;;; DESCRIPTION: Saves active workbook to specified filename, if file exists, it is overwritten if user accepts prompt
  450. ;;; ARG: workbook-object, filename
  451. ;;; EXAMPLE: (DSX-Excel-WorkbookSave objWB "myfile.xls")
  452. ;;;*************************************************************************

  453. (defun DSX-Excel-WorkbookSave (workbook filename)
  454.   (if (findfile filename)
  455.                 (vlax-invoke-method awb "Save")
  456.                 (vlax-invoke-method awb "SaveAs"
  457.                         filename msxl-xlNormal "" ""
  458.                         :vlax-False :vlax-False nil
  459.                 )
  460.         )
  461. )

  462. ;;;*************************************************************************
  463. ;;; MODULE: DSX-Excel-ActiveWorkbook
  464. ;;; DESCRIPTION: Returns active workbook object from given Excel application session
  465. ;;; ARG: Excel-application
  466. ;;; EXAMPLE: (setq objWB (DSX-Excel-ActiveWorkbook xlApp))
  467. ;;;*************************************************************************

  468. (defun DSX-Excel-ActiveWorkbook (xlapp)
  469.         (vlax-get-property xlapp "ActiveWorkbook")
  470. )

  471. (princ)

  472. </normalfont>
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
发表于 2003-5-15 17:47:05 | 显示全部楼层
可不可以根据理解,加些中文注释以饷如我等菜鸟?
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2003-5-16 07:57:59 | 显示全部楼层
明經通道有中文註釋
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2003-5-16 08:32:39 | 显示全部楼层
好东东,不过我等菜鸟看不懂,也不知如何用也!
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2003-5-20 13:52:26 | 显示全部楼层
有些地方看不懂,看来功力不够。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2025-9-26 08:17 , Processed in 0.219605 second(s), 40 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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