摘要: 用osql莫名其妙的老是附加不上数据库,故改用ADO,一次通过,谢天谢地~osql.exe -E -Q "exec sp_attach_db 'XXDB', 'C:\Program Files\MSSQL\Data\XXDB.mdf', 'C:\Program Files\MSSQL\Data\XXDB_log.ldf' "附上脚本export prototype BOOL AttachSQLDa... 阅读全文
posted @ 2010-07-06 15:40 Blue` 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 修改eclipse.ini -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m -vmargs -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=128M Eclipse jee galileo DownLoad 阅读全文
posted @ 2010-01-18 17:41 Blue` 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Create your own custom system folder, like "My Documents", that can not be deleted or renamed and place it on the desktop and My Computer.Create the following series of keys and values in the registry... 阅读全文
posted @ 2010-01-18 17:37 Blue` 阅读(311) 评论(0) 推荐(0) 编辑
摘要: InstallScrip工程1. 在命令行窗口中使用 -R 参数(即record) 运行安装程序。例如: Setup.exe -R orSetup.exe -r -f1"c:\setup.iss" //-f1:指定iss文件输出路径2. 正常安装,在安装结束后不能选择“立刻重启动计算机”的选项 批处理文件中的其他命令能会因为计算机重启而无法执行3. 在安装程序运行完毕后,打... 阅读全文
posted @ 2010-01-18 17:15 Blue` 阅读(4109) 评论(1) 推荐(2) 编辑
摘要: Before you can log an event in an event log, you must first complete Steps from 1 through 5, as explained in the Using Event Logging topic: 1.Create a message file (.mc) that defines the events and th... 阅读全文
posted @ 2010-01-18 17:05 Blue` 阅读(722) 评论(0) 推荐(0) 编辑