A. 如何修改mssql資料庫編碼
sql server 2000的unicode編碼有特殊性,僅僅在rails中使用utf8編碼,和把全部rails項目文件格式仿畝改成utf8之外,還是不夠的。僅僅這樣做,只是部分中文字元能夠正確處理,而且存入sql server2000中的中文數據,也完全是亂碼。正確的配置方法應該如下。
1. ms sql server2000中數據欄位全部要選擇成n打頭的類型,比如ntext,nvarchar等。
2.安裝ADO Driver
安裝one -click installer 來安裝ruby 的話就已經安裝了所有連接SQL Server使用的需求包.但是,並沒有安裝ADO Driver.
這樣來安裝它:
在Ruby目錄下找到這個目錄: \ruby\lib\ruby\site_ruby\1.8\DBD .例如:我的Ruby安裝在D:\ruby中,所以是這個目錄D:\ruby\lib\ruby\site_ruby\1.8\DBD 在該目錄中創建一個ADO文件夾. 下載Ruby-DBI,將lib/dbd_ado/ADO.rb文件拷貝到X:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb
3. 配置database.yml:java代碼
development:
adapter: sqlserver
database: database_name
host: server_name
username: user_name
password: your_pw_here
development:
adapter: sqlserver
database: database_name
host: server_name
username: user_name
password: your_pw_here
4.在environment.rb添加下面代碼
require 'win32ole'
WIN32OLE.codepage = WIN32OLE::CP_UTF8
在這里稍微解釋下第四部分的設置。sql server 2000中使用的unicode 並非是utf8,ado的默認鏈接編碼備槐森都是當前系統設置的code pages相關的。
一般的windows設置都是非unicode的,比如簡體中文windows系統下一般都是gb2312, 在rails中database.yml設置明神encoding: utf8,對於sql server沒有任何用處。
為了迫使sql server接受utf8數據,必須修改ado鏈接的code pages值為utf8,才能讓ado部分代碼在接受rails傳入的utf8數據之後,不做任何額外的處理. 否則的話,ado部分代碼會根據當前系統的默認code pages值來處理這里字元數據。
於是在中文windows系統上,從utf8的rails項目中傳入的數據,會被當作gb2312編碼的數據來傳遞到sql server2000中,於是sql server2000中存入的數據會成為亂碼,也有部分數據在處理過程中出錯,導致sql 語句執行出錯。比如常見的中文字元右邊的單引號會不見的情況。
不設置 WIN32OLE.codepage = WIN32OLE::CP_UTF8,你的整個系統編碼配置是這樣的
rails(utf8)<-->ado(根據當前系統cp來取得編碼,或是gb2312或是其他)<-->sql server 2000 (unicode)
整個系統編碼不一至 。
WIN32OLE.codepage = WIN32OLE::CP_UTF8 這句代碼就是為了更改cp值.整個系統編碼配置是這樣的
rails(utf8)<-->ado(utf8)<-->sql server 2000 (unicode)
整個系統編碼一至,整個系統中不會再出現任何亂碼。
B. java 程序出錯
你的程序我已經耐心的幫你調整好了,你錯的問題都是很基礎的東西,你如果想好好學習java,請你弄明白:
1、什麼是屬性、什麼是方法
2、方法的訪問許可權
3、如何聲明一個類對象,如何去調用方法
最後,修改程序如下:
class Zhiyuan
// 同一個java文件中,只能有一個public類,這里去掉public
{
private String xm;
private int gl;
private int kg;
private int qj;
private float xse;
public void setXm(String xm) {
this.xm = xm;
}
public String getXm() {
return this.xm;
}
public void setGl(int gl) {
this.gl = gl;
}
public int getGl() {
return this.gl;
}
public void setKg(int kg) {
this.kg = kg;
}
public int getKg() {
return this.kg;
}
public void setQj(int qj) {
this.qj = qj;
}
public int getQj() {
return this.qj;
}
public void setXse(float xse) {
this.xse = xse;
}
public float getXse() {
return this.xse;
}
public Zhiyuan(String xm, int gl, int kg, int qj, float xse) {
this.xm = xm;
this.gl = gl;
this.kg = kg;
this.qj = qj;
this.xse = xse;
}
public Zhiyuan()
// 加一個不帶參數的構造方法
{
this.xm = null;
this.gl = 0;
this.kg = 0;
this.qj = 0;
this.xse = 0;
}
public float getYx() {
return (float) (700 + this.gl * 100 + this.xse * 0.02f - this.kg * 50 - this.qj * 30);
}
public String toString() {
// 方法才需要加括弧,屬性是不需要加括弧的,你自己要分清楚
return ".................." + this.xm + this.gl + this.kg + this.qj
+ this.xse + this.getYx();
}
}
class Jingli extends Zhiyuan {
public Jingli() {
// 加一指鎮個不帶參數的構造方法
super();
}
// 需要繼承父類的構造方法
public Jingli(String xm, int gl, int kg, int qj, float xse) {
super(xm, gl, kg, qj, xse);
}
// 同一個java文件中,只能有一個public類,這里去掉public
private int fenhong;
public void setFenhong(int fenghong) {
this.fenhong = fenhong;
}
public int getFenhong() {
return fenhong;
}
public float getgongzi() {
// 方法訪問許可權改為public
return 3000 + this.getGl() * 200 + fenhong - this.getKg() * 500
- this.getQj() * 100;
}
}
public class E1 {
public static void main(String[] args) {
Jingli Jl1 = new Jingli();//唯握粗 調用不帶參數的構造方法皮肆
// Xiaoshouyuan Xsy1 = new Xiaoshouyuan();//沒有聲明這個類,怎麼可以亂用
// 請你明白什麼是方法,方法是什麼,而且方法名是區分大小寫的
Jl1.setXm("小張");
Jl1.setGl(7);
Jl1.setKg(3);
Jl1.setQj(2);
Jl1.setGl(3000);
/*
* Xsy1.setxingming("小王"); Xsy1.setgongling(6); Xsy1.setkuanggong(4);
* Xsy1.setqingjia(3); Xsy1.setxiaoshoue(40000);
*/
System.out.println("*************");
System.out.println(Jl1.getXm());
System.out.println(Jl1.getGl());
System.out.println(Jl1.getKg());
System.out.println(Jl1.getQj());
System.out.println(Jl1.getFenhong());
System.out.println(Jl1.getgongzi());
System.out.println("**************");
}
}
C. CAD圓的快捷鍵是什麼
執行下圖
;
;
; Program Parameters File For AutoCAD 2011
; External Command and Command Alias Definitions
;前州巧 Copyright (C) 1997-2010 by Autodesk, Inc. All Rights Reserved.
; Each time you open a new or existing drawing, AutoCAD searches
; the support path and reads the first acad.pgp file that it finds.
; -- External Commands --
; While AutoCAD is running, you can invoke other programs or utilities
; such Windows system commands, utilities, and applications.
; You define external commands by specifying a command name to be used
; from the AutoCAD command prompt and an executable command string
; that is passed to the operating system.
; -- Command Aliases --
; The Command Aliases section of this file provides default settings for
; AutoCAD command shortcuts. Note: It is not recommended that you directly
; modify this section of the PGP file., as any changes you make to this section of the
; file will not migrate successfully if you upgrade your AutoCAD to a
; newer version. Instead, make changes to the new
; User Defined Command Aliases
; section towards the end of this file.
; -- User Defined Command Aliases --
; You can abbreviate frequently used AutoCAD commands by defining
; aliases for them in the User Defined Command Aliases section of acad.pgp.
; You can create a command alias for any AutoCAD command,
; device driver command, or external command.
; Recommendation: back up this file before editing it. To ensure that
; any changes you make to PGP settings can successfully be migrated
; when you upgrade to the next version of AutoCAD, it is suggested that
; you make any changes to the default settings in the User Defined Command
; Aliases section at the end of this file.
; External command format:
; <Command name>,[<Shell request>跡隱],<Bit flag>慧鍵,[*]<Prompt>,
; The bits of the bit flag have the following meanings:
; Bit 1: if set, don't wait for the application to finish
; Bit 2: if set, run the application minimized
; Bit 4: if set, run the application "hidden"
; Bit 8: if set, put the argument string in quotes
;
; Fill the "bit flag" field with the sum of the desired bits.
; Bits 2 and 4 are mutually exclusive; if both are specified, only
; the 2 bit is used. The most useful values are likely to be 0
; (start the application and wait for it to finish), 1 (start the
; application and don't wait), 3 (minimize and don't wait), and 5
; (hide and don't wait). Values of 2 and 4 should normally be avoided,
; as they make AutoCAD unavailable until the application has completed.
;
; Bit 8 allows commands like DEL to work properly with filenames that
; have spaces such as "long filename.dwg". Note that this will interfere
; with passing space delimited lists of file names to these same commands.
; If you prefer multiplefile support to using long file names, turn off
; the "8" bit in those commands.
; Examples of external commands for command windows
DEL, DEL, 8,要刪除的文件: ,
DIR, DIR, 8,指定文件: ,
SH, , 1,*操作系統命令: ,
SHELL, , 1,*操作系統命令: ,
START, START, 1,*要啟動的應用程序: ,
TYPE, TYPE, 8,要列出的文件: ,
; Examples of external commands for Windows
; See also the (STARTAPP) AutoLISP function for an alternative method.
EXPLORER, START EXPLORER, 1,,
NOTEPAD, START NOTEPAD, 1,*要編輯的文件: ,
PBRUSH, START PBRUSH, 1,,
; Command alias format:
; <Alias>,*<Full command name>
; The following are guidelines for creating new command aliases.
; 1. An alias should rece a command by at least two characters.
; Commands with a control key equivalent, status bar button,
; or function key do not require a command alias.
; Examples: Control N, O, P, and S for New, Open, Print, Save.
; 2. Try the first character of the command, then try the first two,
; then the first three.
; 3. Once an alias is defined, add suffixes for related aliases:
; Examples: R for Redraw, RA for Redrawall, L for Line, LT for
; Linetype.
; 4. Use a hyphen to differentiate between command line and dialog
; box commands.
; Example: B for Block, -B for -Block.
;
; Exceptions to the rules include AA for Area, T for Mtext, X for Explode.
; -- Sample aliases for AutoCAD commands --
; These examples include most frequently used commands. NOTE: It is recommended
; that you not make any changes to this section of the PGP file to ensure the
; proper migration of your customizations when you upgrade to the next version of
; AutoCAD. The aliases listed in this section are repeated in the User Custom
; Settings section at the end of this file, which can safely be edited while
; ensuring your changes will successfully migrate.
3A, *3DARRAY
3DMIRROR, *MIRROR3D
3DNavigate,*3DWALK
3DO, *3DORBIT
3DP, *3DPRINT
3DPLOT, *3DPRINT
3DW, *3DWALK
3F, *3DFACE
3M, *3DMOVE
3P, *3DPOLY
3R, *3DROTATE
3S, *3DSCALE
A, *ARC
AC, *BACTION
ADC, *ADCENTER
AECTOACAD, *-ExportToAutoCAD
AA, *AREA
AL, *ALIGN
3AL, *3DALIGN
AP, *APPLOAD
APLAY, *ALLPLAY
AR, *ARRAY
-AR, *-ARRAY
ARR, *ACTRECORD
ARM, *ACTUSERMESSAGE
-ARM, *-ACTUSERMESSAGE
ARU, *ACTUSERINPUT
ARS, *ACTSTOP
-ARS, *-ACTSTOP
ATI, *ATTIPEDIT
ATT, *ATTDEF
-ATT, *-ATTDEF
ATE, *ATTEDIT
-ATE, *-ATTEDIT
ATTE, *-ATTEDIT
B, *BLOCK
-B, *-BLOCK
BC, *BCLOSE
BE, *BEDIT
BH, *HATCH
BLENDSRF, *SURFBLEND
BO, *BOUNDARY
-BO, *-BOUNDARY
BR, *BREAK
BS, *BSAVE
BVS, *BVSTATE
C, *CIRCLE
CAM, *CAMERA
CBAR, *CONSTRAINTBAR
CH, *PROPERTIES
-CH, *CHANGE
CHA, *CHAMFER
CHK, *CHECKSTANDARDS
CLI, *COMMANDLINE
COL, *COLOR
COLOUR, *COLOR
CO, *COPY
CONVTOMESH, *MESHSMOOTH
CP, *COPY
CPARAM, *BCPARAMETER
CREASE, *MESHCREASE
CREATESOLID, *SURFSCULPT
CSETTINGS, *CONSTRAINTSETTINGS
CT, *CTABLESTYLE
CUBE, *NAVVCUBE
CURVATUREANALYSIS, *ANALYSISCURVATURE
CYL, *CYLINDER
D, *DIMSTYLE
DAL, *DIMALIGNED
DAN, *DIMANGULAR
DAR, *DIMARC
JOG, *DIMJOGGED
DBA, *DIMBASELINE
DBC, *DBCONNECT
DC, *ADCENTER
DCE, *DIMCENTER
DCENTER, *ADCENTER
DCO, *DIMCONTINUE
DCON, *DIMCONSTRAINT
DDA, *DIMDISASSOCIATE
DDI, *DIMDIAMETER
DED, *DIMEDIT
DELCON, *DELCONSTRAINT
DI, *DIST
DIV, *DIVIDE
DJL, *DIMJOGLINE
DJO, *DIMJOGGED
DL, *DATALINK
DLI, *DIMLINEAR
DLU, *DATALINKUPDATE
DO, *DONUT
DOR, *DIMORDINATE
DOV, *DIMOVERRIDE
DR, *DRAWORDER
DRA, *DIMRADIUS
DRAFTANGLEANALYSIS, *ANALYSISDRAFTANGLE
DRE, *DIMREASSOCIATE
DRM, *DRAWINGRECOVERY
DS, *DSETTINGS
DST, *DIMSTYLE
DT, *TEXT
DV, *DVIEW
DX, *DATAEXTRACTION
E, *ERASE
ED, *DDEDIT
EL, *ELLIPSE
ER, *EXTERNALREFERENCES
ESHOT, *EDITSHOT
EX, *EXTEND
EXIT, *QUIT
EXP, *EXPORT
EXT, *EXTRUDE
EXTENDSRF, *SURFEXTEND
F, *FILLET
FI, *FILTER
FILLETSRF, *SURFFILLET
FREEPOINT, *POINTLIGHT
FSHOT, *FLATSHOT
G, *GROUP
-G, *-GROUP
GCON, *GEOMCONSTRAINT
GD, *GRADIENT
GENERATESECTION, *SECTIONPLANETOBLOCK
GEO, *GEOGRAPHICLOCATION
GR, *DDGRIPS
H, *HATCH
-H, *-HATCH
HE, *HATCHEDIT
HB, *HATCHTOBACK
HI, *HIDE
I, *INSERT
-I, *-INSERT
IAD, *IMAGEADJUST
IAT, *IMAGEATTACH
ICL, *IMAGECLIP
IM, *IMAGE
-IM, *-IMAGE
IMP, *IMPORT
IN, *INTERSECT
INSERTCONTROLPOINT, *CVADD
INF, *INTERFERE
IO, *INSERTOBJ
ISOLATE, *ISOLATEOBJECTS
QVD, *QVDRAWING
QVDC, *QVDRAWINGCLOSE
QVL, *QVLAYOUT
QVLC, *QVLAYOUTCLOSE
J, *JOIN
JOGSECTION, *SECTIONPLANEJOG
L, *LINE
LA, *LAYER
-LA, *-LAYER
LAS, *LAYERSTATE
LE, *QLEADER
LEN, *LENGTHEN
LESS, *MESHSMOOTHLESS
LI, *LIST
LINEWEIGHT, *LWEIGHT
LMAN, *LAYERSTATE
LO, *-LAYOUT
LS, *LIST
LT, *LINETYPE
-LT, *-LINETYPE
LTYPE, *LINETYPE
-LTYPE, *-LINETYPE
LTS, *LTSCALE
LW, *LWEIGHT
M, *MOVE
MA, *MATCHPROP
MAT, *MATBROWSEROPEN
ME, *MEASURE
MEA, *MEASUREGEOM
MI, *MIRROR
ML, *MLINE
MLA, *MLEADERALIGN
MLC, *MLEADERCOLLECT
MLD, *MLEADER
MLE, *MLEADEREDIT
MLS, *MLEADERSTYLE
MO, *PROPERTIES
MORE, *MESHSMOOTHMORE
MOTION, *NAVSMOTION
MOTIONCLS, *NAVSMOTIONCLOSE
MS, *MSPACE
MSM, *MARKUP
MT, *MTEXT
MV, *MVIEW
NETWORKSRF,*SURFNETWORK
NORTH, *GEOGRAPHICLOCATION
NORTHDIR, *GEOGRAPHICLOCATION
NSHOT, *NEWSHOT
NVIEW, *NEWVIEW
O, *OFFSET
OFFSETSRF, *SURFOFFSET
OP, *OPTIONS
ORBIT, *3DORBIT
OS, *OSNAP
-OS, *-OSNAP
P, *PAN
-P, *-PAN
PA, *PASTESPEC
RAPIDPROTOTYPE, *3DPRINT
PAR, *PARAMETERS
-PAR, *-PARAMETERS
PARAM, *BPARAMETER
PARTIALOPEN, *-PARTIALOPEN
PATCH, *SURFPATCH
PC, *POINTCLOUD
PCATTACH, *POINTCLOUDATTACH
PCINDEX, *POINTCLOUDINDEX
PE, *PEDIT
PL, *PLINE
PO, *POINT
POFF, *HIDEPALETTES
POINTON, *CVSHOW
POINTOFF, *CVHIDE
POL, *POLYGON
PON, *SHOWPALETTES
PR, *PROPERTIES
PRCLOSE, *PROPERTIESCLOSE
PROPS, *PROPERTIES
PRE, *PREVIEW
PRINT, *PLOT
PS, *PSPACE
PSOLID, *POLYSOLID
PTW, *PUBLISHTOWEB
PU, *PURGE
-PU, *-PURGE
PYR, *PYRAMID
QC, *QUICKCALC
QCUI, *QUICKCUI
R, *REDRAW
RA, *REDRAWALL
RC, *RENDERCROP
RE, *REGEN
REA, *REGENALL
REBUILD, *CVREBUILD
REC, *RECTANG
REFINE, *MESHREFINE
REG, *REGION
REMOVECONTROLPOINT, *CVREMOVE
REN, *RENAME
-REN, *-RENAME
REV, *REVOLVE
RO, *ROTATE
RP, *RENDERPRESETS
RPR, *RPREF
RR, *RENDER
RW, *RENDERWIN
S, *STRETCH
SC, *SCALE
SCR, *SCRIPT
SE, *DSETTINGS
SEC, *SECTION
SET, *SETVAR
SHA, *SHADEMODE
SL, *SLICE
SMOOTH, *MESHSMOOTH
SN, *SNAP
SO, *SOLID
SP, *SPELL
SPL, *SPLINE
SPLANE, *SECTIONPLANE
SPLAY, *SEQUENCEPLAY
SPLIT, *MESHSPLIT
SPE, *SPLINEDIT
SSM, *SHEETSET
ST, *STYLE
STA, *STANDARDS
SU, *SUBTRACT
T, *MTEXT
-T, *-MTEXT
TA, *TABLET
TB, *TABLE
TEDIT, *TEXTEDIT
TH, *THICKNESS
TI, *TILEMODE
TO, *TOOLBAR
TOL, *TOLERANCE
TOR, *TORUS
TP, *TOOLPALETTES
TR, *TRIM
TS, *TABLESTYLE
UC, *UCSMAN
UN, *UNITS
-UN, *-UNITS
UNCREASE, *MESHUNCREASE
UNHIDE, *UNISOLATEOBJECTS
UNI, *UNION
UNISOLATE, *UNISOLATEOBJECTS
V, *VIEW
VGO, *VIEWGO
VPLAY, *VIEWPLAY
-V, *-VIEW
VP, *DDVPOINT
-VP, *VPOINT
VS, *VSCURRENT
VSM, *VISUALSTYLES
-VSM, *-VISUALSTYLES
W, *WBLOCK
-W, *-WBLOCK
WE, *WEDGE
WHEEL, *NAVSWHEEL
X, *EXPLODE
XA, *XATTACH
XB, *XBIND
-XB, *-XBIND
XC, *XCLIP
XL, *XLINE
XR, *XREF
-XR, *-XREF
Z, *ZOOM
ZEBRA, *ANALYSISZEBRA
; The following are alternative aliases and aliases as supplied
; in AutoCAD Release 13.
AV, *DSVIEWER
CP, *COPY
DIMALI, *DIMALIGNED
DIMANG, *DIMANGULAR
DIMBASE, *DIMBASELINE
DIMCONT, *DIMCONTINUE
DIMDIA, *DIMDIAMETER
DIMED, *DIMEDIT
DIMTED, *DIMTEDIT
DIMLIN, *DIMLINEAR
DIMORD, *DIMORDINATE
DIMRAD, *DIMRADIUS
DIMSTY, *DIMSTYLE
DIMOVER, *DIMOVERRIDE
LEAD, *LEADER
TM, *TILEMODE
; Aliases for Hyperlink/URL Release 14 compatibility
SAVEURL, *SAVE
OPENURL, *OPEN
INSERTURL, *INSERT
; Aliases for commands discontinued in AutoCAD 2000:
AAD, *DBCONNECT
AEX, *DBCONNECT
ALI, *DBCONNECT
ASQ, *DBCONNECT
ARO, *DBCONNECT
ASE, *DBCONNECT
DDATTDEF, *ATTDEF
DDATTEXT, *ATTEXT
DDCHPROP, *PROPERTIES
DDCOLOR, *COLOR
DDLMODES, *LAYER
DDLTYPE, *LINETYPE
DDMODIFY, *PROPERTIES
DDOSNAP, *OSNAP
DDUCS, *UCS
; Aliases for commands discontinued in AutoCAD 2004:
ACADBLOCKDIALOG, *BLOCK
ACADWBLOCKDIALOG, *WBLOCK
ADCENTER, *ADCENTER
BMAKE, *BLOCK
BMOD, *BLOCK
BPOLY, *BOUNDARY
CONTENT, *ADCENTER
DDATTE, *ATTEDIT
DDIM, *DIMSTYLE
DDINSERT, *INSERT
DDPLOTSTAMP, *PLOTSTAMP
DDRMODES, *DSETTINGS
DDSTYLE, *STYLE
DDUCS, *UCSMAN
DDUCSP, *UCSMAN
DDUNITS, *UNITS
DDVIEW, *VIEW
DIMHORIZONTAL, *DIMLINEAR
DIMROTATED, *DIMLINEAR
DIMVERTICAL, *DIMLINEAR
DOUGHNUT, *DONUT
DTEXT, *TEXT
DWFOUT, *PLOT
DXFIN, *OPEN
DXFOUT, *SAVEAS
PAINTER, *MATCHPROP
PREFERENCES, *OPTIONS
RECTANGLE, *RECTANG
SHADE, *SHADEMODE
VIEWPORTS, *VPORTS
EDWFX, *EXPORTDWFX
EDWF, *EXPORTDWF
EPDF, *EXPORTPDF
-QPUB, *-EXPORT
; Aliases for commands discontinued in AutoCAD 2007:
RMAT, *MATBROWSEROPEN
FOG, *RENDERENVIRONMENT
FINISH, *MATERIALS
SETUV, *MATERIALMAP
SHOWMAT, *LIST
RFILEOPT, *RENDERPRESETS
RENDSCR, *RENDERWIN
; Aliases for commands discontinued in AutoCAD 2009:
DASHBOARD, *RIBBON
DASHBOARDCLOSE, *RIBBONCLOSE
; -- User Defined Command Aliases --
; Make any changes or additions to the default AutoCAD command aliases in
; this section to ensure successful migration of these settings when you
; upgrade to the next version of AutoCAD. If a command alias appears more
; than once in this file, items in the User Defined Command Alias take
; precedence over plicates that appear earlier in the file.
; **********----------********** ; No xlate ; DO NOT REMOVE
;; AutoCAD常用命令,用戶可以刪除或修改
DT, *th_dimtool
rt, *rotate
rr, *mirror
t, *trim
ed, *explode
et, *extend
cf, *chamfer
sc, *scale
f, *fillet
b, *break
ccc, *
ff, *offset
; PCCAD aliases
TZ, *PC_PAPERSET
XHXG, *pc_xhxg
XHYC, *PC_YCXH
XHXS, *PC_XSXH
XHWZ, *PC_XHPosition
;HL, *PC_DHLINE
HC, *PC_CIRCLE
SS, *PC_KSHX
DC, *PC_DCX
HY, *PC_CIRCLE
HYD, *PC_CIRCLEP
HH, *PC_ARC
HHD, *PC_ARCP
;H, *BHATCH
H, *HATCH
PX, *PC_PXCZX
QX, *PC_QX
GQ, *PC_GQX
GD, *PC_GDX
CF, *PC_CFX
JD, *PC_JDX
PF, *PC_PFX
ZX, *PC_ZXX
BL, *PC_BLX
JX, *PC_RECT
XL, *POPENLIB
DJ, *PC_DJ
D, *PC_ZNBZ
YX, *PC_YCBZ
DB, *PC_DJBZ
DD, *DDIM
DFJ, *PC_DIMFJ
DHB, *PC_DIMHB
ZB, *PC_ZB
BZC, *PC_BZC
%D, *PC_%%D
DHY, *PC_DIMHY
TXY, *PC_TXY
WJX, *PC_WJX
FSX, *pc_fsx
XH, *PC_XH
MX, *PC_MXB
MXB, *PC_XHBJ
K, *PC_HIDETB
RRR, *REGEN
FHGL, *PC_SYMMG
; PCCAD 構造工具 aliases
CT, *PC_CT
FC, *PC_FCurve
DJ, *PC_DJ
ZDX, *PC_ZDX
DAD, *PC_BREAK1
YS, *PC_DTYS
JJ, *PC_JJ
GY, *PC_GZ
ZXK1, *pc_zxk
KZ, *PC_KZ
DK, *pc_dk
XG, *PC_INTER
; PCCAD 視圖創建 aliases
CJ, *PC_CJST
; PCCAD 消隱 aliases
XY, *PC_HIDE
KXY1, *PC_BLOCKHIDE1
KXY2, *PC_BLOCKHIDE2
UK, *PC_UNBLOCKHIDE
WXY1, *PC_TEXTHIDE1
WXY2, *PC_TEXTHIDE2
UW, *PC_UNFRAMETEXT
; PCCAD 符號標注 aliases
CC, *PC_CCD
XW1, *PC_XWGC
XW, *PC_DIMTOL
JZ, *PC_JZBZ
XD, *PC_zxdbz
BJ, *PC_YKBJ
ZXK, *PC_zxkbz
HJ, *PC_HJFH
BGF, *PC_DIMELEV
XHJ, *PC_Weld
XJZ, *PC_JZBZ2012
; PCCAD 文字處理 aliases
WZ, *PC_TEXT
TJ, *PC_JSTJ
TJK, *PC_TJK
WX, *PC_WX
FJ, *PC_FJ
HB, *PC_HB
HB2, *PC_HB2
ZJ, *PC_ZJ
DXX, *PC_CASECHG
; PCCAD 超級符號庫 aliases
FH, *PC_SYMOUT
YYFH, *YYFH
DQFH, *DQFH
JGFH, *JGFH
JJFH, *JJFH
BGFH, *BGFH
YYFH, *YYFH
XZFH, *PC_NewSym
; PCCAD 參數化設計 aliases
MRE, *pc_mulcre
CRE, *pc_cre
CL, *pc_cre
DRI, *pc_muldri
QD, *pc_muldri
BNS, *pc_BTNSHOW
DEF, *pc_para_defexp
IN, *pc_para_in
OUT, *pc_para_out
TK, *pc_para_out
SEXP, *PC_PARA_SEXP
SHOW, *PC_PARA_SHOW
ASI, *PC_PARA_ASSIST
MNY, *PC_PARA_SMANY
; PCCAD 系列化零件設計 aliases
XL, *pc_spart_out
; PCCAD 啞圖參數化 aliases
YDEF, *PC_YDEF
YQD, *PC_YDRV
YREF, *PC_YREF
; PCCAD 機械設計 aliases
PT, *pc_power_part
LL, *PC_LL
; PCCAD 輔助工具 aliases
V, *PC_MODI
j, *th_j
BH, *pc_hatch
AA, *th_area
AT, *pc_weight
JSQ, *PC_CALCULATE_EFC
TY, *PC_COMMON_RES
ZDPT, *pc_paitu
TB, *PC_TABLEDATAPICKUP
TQ, *PC_STARTPICKUP
EB, *PC_EB
MI4, *PC_MI4
SCCD, *PC_SCCD
XSY, *PC_XSY
XXY, *PC_XXY
XZY, *PC_XZY
XYY, *PC_XYY
DY, *PC_PP
; PCCAD 報表工具 aliases
BG, *PC_Table
BB, *PC_PICKUPREPORT
; PCCAD 超級卡片 aliases
MTA, *PC_MAKETABLEMODEL
MCA, *PC_MAKECARDMODEL
MCC, *PC_CREATECARD
MCE, *PC_SUPERCARDEDIT
th, *th_p3dm2010
; PCCAD 實用工具 aliases
;XF, *TH_BATCHREPAIR
; END OF PCCAD aliases
;
D. Excel 如何能鎖定已經編輯好的內容表格無法修改,但可以在下行添加新內容添加新數據!請高手指點
個人能力有……因為按網上說的,要編程什麼的,這個太難了。
如果用戶在打開Excel時選擇禁用宏,該功能就被禁用了。如果你擔心這種情況,可以繼續如下操作:
確保除了這個有用的工作表(假設這張表叫」數據「,如果不是的話,修改下面的代碼)外,還有碧段答個叫」首頁「的空白工作表,裡面可以寫上」請啟用宏,否則悔慧看不到有用的工作表!「這樣類似的話。同時按Alt和F11進入宏界面,在左上窗口可以找到本工作簿的名字,雙擊裡面的ThisWorkbook,在右邊粘貼如下代碼:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim i As Byte
Dim xSJ, xSY As Boolean
xSJ = True
xSY = True
For i = 1 To Sheets.Count
If Sheets(i).Name = "數據" Then xSJ = False
If Sheets(i).Name = "首頁" Then xSJ = False
Next
If xSJ Or xSY Then
MsgBox "必燃激須有" & IIf(xSJ, "數據", "首頁") & "這個工作表!"
Cancel = True
Exit Sub
End If
Sheets("數據").Visible = 2
End Sub
Private Sub Workbook_Open()
Sheets("數據").Visible = -1
End Sub
存檔退出。這樣下次打開這個工作簿,如果不啟用宏,看不得「數據」。啟用宏可以看到。存檔時自動隱藏「數據」。這種隱藏,用「取消工作表隱藏」看不到的。
E. 請問下xsy.exe 是一個什麼進程呀怎麼在百度里都搜不到哩!
你去下一個windows進程管理器,windows優陵御化大使里的 也可以 ,你看尺哪岩看 ,這 個進程 他的主緩氏 文件是那裡 ,特別注意c:\\windows\\system32目錄下面,如果它 還調用了dll,那你就更要注意了!!
F. IO點表怎麼導入和導出啊
首先叢唯,你把所有的變數都櫻鄭虧分配一個地址;其次,在unity裡面,每種建兩個變數(具體操作:項目、變數和FB實例、基本變數,在這里建)。把所建的變數表導出(具體操作:基本變數右鍵,導出,隨便寫個名稱,數據(*.XSY))。然後,找到*.XSY文件,用EXCEL打開,找到各種數據類型之間的關系,脊神相同的地方復制。建立其他的變數。最後,包建好的*.XSY文件導入。具體:變數和FB實例,導入。