摘要: Oracle数据导入导出imp/exp就相当于oracle数据还原与备份。exp命令可以把数据从远程数据库服务器导出到本地的dmp文件,imp命令可以把dmp文件从本地导入到远处的数据库服务器中。 利用这个功能可以构建两个相同的数据库,一个用来测试,一个用来正式使用。 执行环境:可以在SQLPLUS.EXE或者DOS(命令行)中执行, DOS中可以执行时由于 在oracle 8i 中... 阅读全文
posted @ 2013-09-08 20:21 一点味 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 开始 -> 程序 -> Oracle -> Configuration and Migration Tools -> Net Manager→本地→概要文件→Oracle高级安全性→验证→去掉所选方法中的 "NTS" 就可以了 阅读全文
posted @ 2013-09-08 20:16 一点味 阅读(2562) 评论(0) 推荐(0) 编辑
摘要: 这代码挺有用的,当时帮我解决了很大的问题,感谢NetObjArx编程论坛的lzx838在 网上共享出来的代码。 Editor ed = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor; DocumentCollection ... 阅读全文
posted @ 2013-09-08 20:12 一点味 阅读(529) 评论(0) 推荐(0) 编辑
摘要: //定义事件 Editor ed = doc.Editor; ed.PointMonitor += new PointMonitorEventHandler(ed_PointMonitor); //事件执行函数 void ed_PointMonitor(object sender, PointMonitorEventA... 阅读全文
posted @ 2013-09-08 20:06 一点味 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: http://www.objectarx.net/forum.php?mod=viewthread&tid=1243 阅读全文
posted @ 2013-09-08 20:05 一点味 阅读(628) 评论(0) 推荐(0) 编辑
摘要: Autocad的系统变量, 我们可以通过如下得到: Autodesk.AutoCAD.ApplicationServices.Application.GetSystemVariable(/*MSG0*/"TILEMODE"); 但是有些是写在drawing,有些是registery. ----------------------------------------------------... 阅读全文
posted @ 2013-09-08 20:03 一点味 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: auto :标准光标 default :标准箭头 hand :手形光标 wait :等待光标 text :I形光标 vertical-text :水平I形光标 no-drop :不可拖动光标 not-allowed :无效光标 help :?帮助光标 all-scroll :三角方向标 move :移动标 crosshair :十字标 阅读全文
posted @ 2013-09-08 19:55 一点味 阅读(383) 评论(0) 推荐(0) 编辑
摘要: using System.Speech.Synthesis; SpeechSynthesizer sSpeechSynthesizer = new SpeechSynthesizer(); sSpeechSynthesizer .Speak("化肥会挥发!!!"); 注:xp不支持中文 如何获取程序当前目录 System.IO.Path.GetDirectoryName(Ap... 阅读全文
posted @ 2013-09-08 19:43 一点味 阅读(675) 评论(0) 推荐(0) 编辑
摘要: '获取CAD屏幕像素的比值 Function ViewScreen() As Double Dim ScreenSize As Variant ScreenSize = ThisDrawing.GetVariable("screensize") '当前视口的屏幕宽度和高度 Dim H As Variant H = ThisDrawing.GetVariable("views... 阅读全文
posted @ 2013-09-08 19:27 一点味 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/stray521/archive/2010/08/06/1793647.html //获取磁盘序列号try{ System.Management.ManagementObjectSearcher cmicWmi = new ManagementObjectSearcher ( "SEL... 阅读全文
posted @ 2013-09-08 19:02 一点味 阅读(175) 评论(0) 推荐(0) 编辑