搞了半天
IE里面倒是嵌入了USERCONTROL
可是一些文件操作 日志操作 串口操作 统统的不行
还得倒腾一堆安全性
明天还是直接VC弄个OCX试一试算了
C# ASP.NET 在服务器端产生一个byte[],要将它传到客户端,然后由javascript将它赋给一个ActiveX控件_编程开发使用问题_PConline快问
http://k.pconline.com.cn/question/147916.html
关于 JS 读取 byte 数据的问题.
http://topic.csdn.net/u/20071130/03/568d6c89-9736-4bf5-b38c-37c5a9221c76.html
JS传参问题_百度知道
http://zhidao.baidu.com/question/74033392.html
delphi 2009 创建OCX 与JS传参例子 – 靓点博客 – CSDN博客
http://blog.csdn.net/cml2030/archive/2009/03/24/4020236.aspx
关于 byval 与 byref 的区别分析总结_应用技巧
http://www.jb51.net/article/12436.htm
VBS
网页制作:使用脚本类显示飘浮广告-太平洋电脑网Pconline-[IT设计其他]
http://www.pconline.com.cn/pcjob/other/design/others/0410/478054.html
用js传参后怎么取出来? – 博问 – 博客园社区
http://space.cnblogs.com/question/6505/
页面用js调用c#的方法1可以[用到Ajax],在方法1中调用c#的方法2确不可以;方法2中有逻辑跳转 – 开发社区问答中心 – ZDNetChina中文社区 资讯&line;硬件&line;软件&line;开发&line;技术论坛
http://bbs.zdnet.com.cn/thread-449047-1-1.html
C#清理操作系统的日志(Clean Operating System’s Event Log) &line; 真有意思 [ZU14.CN]
http://www.zu14.cn/2009/03/13/clean-system-eventlog/
.NET Questions – Event log user permissions
http://discuss.joelonsoftware.com/default.asp?dotnet.12.264626.11
Event Log: Access Denied, Permission – bytes
http://bytes.com/groups/net-c/261688-event-log-access-denied-permission
WPF 深入研究 之 Control 控件 – 包建强的开源地带 – 博客园
http://www.cnblogs.com/Jax/archive/2008/05/30/1194218.html
Problem with Event Log (long)
http://www.velocityreviews.com/forums/t100611-problem-with-event-log-long.html
如何在 Windows Server 2003 中本地设置或使用组策略设置事件日志安全性
http://support.microsoft.com/default.aspx?kbid=323076
EventLog 构造函数 (System.Diagnostics)
http://msdn.microsoft.com/zh-cn/vstudio/9zzbss7t.aspx
C# FileStream(),构造函数_百度知道
http://zhidao.baidu.com/question/89148004.html
C#操作file – king99one的专栏 – CSDN博客
http://blog.csdn.net/king99one/archive/2008/12/18/3551206.aspx
UserControls Embedded in IE<br>
http://www.devhood.com/messages/message_view-2.aspx?thread_id=71769
WinForm嵌入WebForm中,怎么进行数据库操作(遇到权限问题) .NET技术 / .NET Framework – CSDN社区 community.csdn.net
http://topic.csdn.net/t/20030608/14/1890588.html
能否在 Web 页中嵌入 Windows Form 程序?_软界知道
http://www.softwelt.com/Know/KnowDetail-1827302.html
如何在WEB应用程序中调用windows窗体???? .NET技术 / C# – CSDN社区 community.csdn.net
http://topic.csdn.net/t/20050315/20/3853523.html
如何在WEB应用程序中调用windows窗体???? .NET技术 / C# – CSDN社区 community.csdn.net
http://topic.csdn.net/t/20050315/20/3853523.html
如何在WEB应用程序中调用windows窗体???? .NET技术 / C# – CSDN社区 community.csdn.net
http://cache.baidu.com/c?m=9f65cb4a8c8507ed4fece76310508a24420597634b86914323c3933fcf331d5c017be3b925251205d0c2616703b24856edf13172361420c0c18ed714c9fecf68798730457a0bf14405a36ab8ba3132c050872cefb86f94adf142d6f982c4de2444bc52120984e7fd5b1765cb78f1642693a78e39644866b8fa4465e858073ee92757c045eee142797786e1a9595bb52bc7101080ae45f5654ee34ee15e0c2534b73cb71f212427913e308843&p=882a9547838205f00be29360565d&user=baidu
问专家-如何用c#来制作一个activeX控件或类似的东西
http://www.china-askpro.com/msg48/qa28.shtml
20080811 c# wpf user control
CodeProject: How to Build Dynamic Menus and Toolbars in WPF?. Free source code and programming help
http://www.codeproject.com/KB/WPF/Dynamic_menus_in_WPF.aspx
CodeProject: Immerse Yourself in WPF: A "World Clocks" Application as Literate Code. Free source code and programming help
http://www.codeproject.com/KB/WPF/wpf_worldclocks.aspx
CodeProject: The WPF Thought Process. Free source code and programming help
http://www.codeproject.com/KB/WPF/TheWpfThoughtProcess.aspx
CodeProject: WPF Autocomplete Textbox Control. Free source code and programming help
http://www.codeproject.com/KB/WPF/WPFAutoCompleteTextbox.aspx
CodeProject: Creating and consuming a custom WPF control. Free source code and programming help
http://www.codeproject.com/KB/WPF/WPF_CustomerControl.aspx
CodeProject: WPF C# Ribbon Control Library. Free source code and programming help
http://www.codeproject.com/KB/WPF/ribboncontrol.aspx
CodeProject: WPF AJAX Style ComboBox. Free source code and programming help
http://www.privacywant.info/index.php?q=uggc%3A%2F%2Fjjj.pbqrcebwrpg.pbz%2FXO%2FJCS%2FJCSNwnkFglyrPbzobObk.nfck%3Fsvq%3D701505%26nzc%3Bqs%3D90%26nzc%3Bzcc%3D25%26nzc%3Babvfr%3D3%26nzc%3Bfbeg%3DCbfvgvba%26nzc%3Bivrj%3DDhvpx%26nzc%3Bfryrpg%3D2510071%23kk2510071kk##xx2510071xx
UI Automation of a WPF Custom Control
http://msdn.microsoft.com/en-us/library/cc165614.aspx
CodeProject: An Animated "AlarmBar" Custom Control in WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/AlarmBar.aspx
Creating a Custom Control – WPF Custom Controls – Developer Fusion – Visual Basic, C# Programming, ASP.NET, .NET Framework and Java Tutorials
http://www.developerfusion.co.uk/show/7923/2/
如何:确定自定义控件处于设计时还是运行时
http://msdn.microsoft.com/zh-cn/library/bb514560.aspx
CodeProject: Creating a look-less custom control in WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/WPFCustomControl.aspx
CodeProject: A WPF Digital Clock. Free source code and programming help
http://www.codeproject.com/KB/WPF/digitalclock.aspx
CodeProject: Immerse Yourself in WPF: A "World Clocks" Application as Literate Code. Free source code and programming help
http://www.codeproject.com/KB/WPF/wpf_worldclocks.aspx
制作简单的WPF时钟 @阿良.NET
http://www.chenjiliang.com/Article/View.aspx?ArticleID=4546&TypeID=99
模拟时钟-数字时钟 CSDN 下载频道
http://d.download.csdn.net/down/487585/npuhuxl
用Activator.CreateInstance创建对象实例时怎样 样同时调用带参数的构造方法"?-软件开发-软界知道-中国软界项目交易网
http://www.softwelt.com/Know/KnowDetail-626912.html
对于任意的XML的遍历—奥奥比2008
http://www.aoaob.com/Article_1445.html
.net中的序列化和反序列化 – Teng_s2000的专栏 – CSDNBlog
http://blog.csdn.net/teng_s2000/archive/2007/05/23/1622795.aspx
CodeProject: WPF Windows: Code-based layout versus XAML. Free source code and programming help
http://www.codeproject.com/KB/WPF/WinFXWindows.aspx
CodeProject: Graphic in XAML and WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/GraphicInXAMLAndWPF.aspx
CodeProject: Beginner\’s WPF Animation Tutorial. Free source code and programming help
http://www.codeproject.com/KB/WPF/WPFAnimation.aspx
CodeProject: Annotating an Image in WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/AnnotatingAnImageInWPF.aspx
Just code: Networking (raw sockets) in Silverlight and WPF – messaging in general
http://dedjo.blogspot.com/2008/03/networking-raw-sockets-in-silverlight.html
CodeProject: .NET 3.0 WPF Tools && Examples. Free source code and programming help
http://www.codeproject.com/KB/WPF/DotNet_XAML.aspx
CodeProject: A Guided Tour of WPF – Part 1 (XAML). Free source code and programming help
http://www.codeproject.com/KB/WPF/GuidedTourWPF_1.aspx
CodeProject: WPF : A Beginners guide part 2 of n. Free source code and programming help
http://www.codeproject.com/KB/WPF/BeginWPF2.aspx
Internet Explorer 7.0 Security Settings
http://www.brighthub.com/internet/security-privacy/articles/1869.aspx
Networking (raw sockets) in Silverlight and WPF – messaging in general – Just code – Tamir Khason
http://blogs.microsoft.co.il/blogs/tamir/archive/2008/03/22/networking-raw-sockets-in-silverlight-and-wpf-messaging-in-general.aspx
CodeProject: Dynamic User Interfaces in WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/DynamicUIs.aspx
FlashBoot
http://www.prime-expert.com/flashboot/screenshot.php
U盘装系统_小崔的地儿
http://hi.baidu.com/junyan04/blog/item/ee879f7ee519f33d0dd7da57.html
C#自绘时钟 (附源码) – WPF随笔 – 博客园
http://www.cnblogs.com/sun9411323/archive/2007/12/16/996749.html
【春节献礼】给大家介绍几款 WinPE系统USB启动盘的制作和下载链接 – WINDOWS XP – 360百科
http://baike.360.cn/3232114/2614226.html
Adding Custom WPF Controls to a XAML Document
http://www.timfanelli.com/item/178
How to Use Custom User Controls in Silverlight
http://blog.paranoidferret.com/index.php/2007/10/03/how-to-use-custom-user-controls-in-silverlight/
UserControls : Windows Presentation Foundation (WPF) : .NET Development : MSDN Forums
http://forums.msdn.microsoft.com/en-US/wpf/thread/5ffceb21-7888-4333-abd8-16828a5cdacb/
演练:实现内联值编辑器
http://msdn.microsoft.com/zh-cn/library/bb546970.aspx
创建轻巧的自定义控件 at wpf step by step
http://www.clingingboy.cn/index.php/archives/12
CodeProject: WPF Windows: Code-based layout versus XAML. Free source code and programming help
http://www.codeproject.com/KB/WPF/WinFXWindows.aspx
CodeProject: Step into the new Microsoft Windows Presentation Foundation (WPF). Free source code and programming help
http://www.codeproject.com/KB/WPF/WPFintro.aspx
CodeProject: Dynamic User Interfaces in WPF. Free source code and programming help
http://www.codeproject.com/KB/WPF/DynamicUIs.aspx
CodeProject: Tips on how to write well behaved WPF controls. Free source code and programming help
http://www.codeproject.com/KB/WPF/WPF_Parts.aspx
CodeProject: WPF UserControl == DataTemplate!!!. Free source code and programming help
http://www.codeproject.com/KB/WPF/UserControlAsDataTemplate.aspx
WPF读书笔记:2.Base Brushes – 无常 – 博客园
http://www.cnblogs.com/wuchang/archive/2008/07/04/1235187.html
20071214 user 用户配置文件
http://www.yippeesoft.com
本分步指南介绍了如何还原用户配置文件以及以下用户配置文件项:
* 文档
* 桌面设置
* 收藏夹
* Cookie
默认情况下,当您首次登录基于 Windows Server 2003 的计算机时,Windows 会在 %SystemDrive%\\Documents and Settings 文件夹中创建一个用户配置文件文件夹,并向您授予“完全控制”权限。如果您失去了该文件夹的“完全控制”权限,Windows 将在您下次登录计算机时创建新的用户配置文件文件夹。您不再可以访问原来的用户配置文件文件夹,除非您拥有该计算机上的本地管理凭据。
默认情况下,如果 Windows 为您创建新的配置文件文件夹,Windows 会将该文件夹放在 Documents and Settings 文件夹中。Windows 会尝试将您的用户名用作新配置文件文件夹的名称。但是,如果以前的配置文件文件夹仍然存在,Windows 会修改新文件夹的名称以避免重复。当出现这种情况时,您的用户配置文件可能会有多个配置文件文件夹。以下信息介绍 Windows 为用户配置文件使用的默认命名方案:
* 如果 UserName 文件夹尚不存在,Windows 会将新的配置文件文件夹命名为:
UserName
* 如果 UserName 文件夹已存在,Windows 会将新的配置文件文件夹命名为:
UserName . ComputerName
* 如果 UserName . ComputerName 文件夹已存在,Windows 会将新的配置文件文件夹命名为:
UserName . ComputerName .000
* 如果 UserName . ComputerName .000 文件夹已存在,Windows 将使用 UserName . ComputerName .000 命名方案的下一个可用增量。
例如:
UserName . ComputerName .001
您还可以通过查看创建日期或时间判断多个配置文件文件夹的顺序,前提是创建日期或时间未被修改。
返回页首
还原用户配置文件的要求
若要还原用户配置文件,Documents and Settings\\ UserName 配置文件文件夹必须仍然存在,而且您必须拥有该文件夹的“完全控制”权限。如果不具有用户配置文件文件夹的正确权限,您(或另一个用户)必须先以管理员的身份登录计算机,并还原对用户配置文件的所需权限级别。
将文档从当前配置文件文件夹复制到相应的用户配置文件文件夹
如果您在失去对原配置文件文件夹的访问权限之后登录过 Windows,则至少存在两个使用您的用户名的用户配置文件文件夹。若要使这些文件可以从您要还原的用户配置文件访问,请按照下列步骤操作:
1. 以管理员的身份登录计算机。
2. 将当前 My Documents 文件夹中的所有文档复制到所要还原的配置文件的 My Documents 文件夹中。
备注 :如果已经将 My Documents 文件夹移动到 Documents and Settings 文件夹之外的位置,则无需执行此步骤;但是,当还原用户配置文件之后,可能需要重新指定 My Documents 文件夹的目标文件夹位置。
3. 若要保留收藏夹列表中的 Internet 链接,请将所有 Internet 快捷方式从当前 Favorites 文件夹复制到要还原的用户配置文件的 Favorites 文件夹中。
备注 :不要复制 Desktop.ini 文件。
授予用户配置文件文件夹的“完全控制”权限
1. 启动 Windows 资源管理器。
2. 找到并右键单击以前的用户配置文件文件夹,然后单击 属性 。
默认情况下,此文件夹为 %SystemDrive%\\Documents and Settings\\ UserName 。
3. 单击 安全 选项卡。
4. 在“组或用户名称”列表中,单击您的用户名,然后在“ UserName 的权限”框中,单击以选中 完全控制 旁边的 允许 复选框。
备注 :如果您的用户名未显示在“组或用户名称”列表中,则单击 添加 ,在“输入要选择的对象名”下键入您的用户名,然后单击 确定 。
5. 单击 确定 。
编辑用户配置文件注册表项
警告 :“注册表编辑器”使用不当可造成严重问题,这些问题可能需要重新安装操作系统。Microsoft 不保证能够解决因为“注册表编辑器”使用不当而产生的问题。使用“注册表编辑器”需要您自担风险。
编辑注册表时,要让配置文件镜像路径指向您在本文前面 授予用户配置文件文件夹的“完全控制”权限 一节中向其授予“完全控制”权限的用户名。为此,请按照下列步骤操作:
1. 使用要还原的用户配置文件的用户名登录计算机。
2. 单击 开始 ,然后单击 运行 。
3. 在 打开 框中,键入 regedit ,然后单击 确定 。
4. 在“注册表编辑器”中,找到并单击以下注册表子项:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList
5. 找到您的用户配置文件文件夹。
备注 :当单击 ProfileList 子项时,该子项下列出多个文件夹。其中每个文件夹都属于不同的用户。这些文件夹按照用户安全标识符 (SID) 而不是用户名进行命名。
若要找到您的用户配置文件文件夹,请使用以下方法之一:
* 对于列在 ProfileList 子项下的每个文件夹,单击该文件夹,然后在右窗格中查看 ProfileImagePath 值。
此值包含到您的用户配置文件的路径(例如 %SystemDrive%\\Documents and Settings\\ UserName )。
找到包含引用您的用户配置文件的 ProfileImagePath 值的文件夹。
– 或 -
* 在“注册表编辑器”中,在 编辑 菜单上单击 查找 。在“查找目标”框中,键入您的用户名,单击以选中“查看”下的 数据 复选框,单击以清除 项 和 值 复选框,然后单击 查找下一个 。
按 F3 键重复搜索直到在 HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList 子项下找到正确的文件夹,该文件夹包含引用您的用户名的 ProfileImagePath 值。
6. 在找到您的用户配置文件的子项文件夹之后,双击 ProfileImagePath 值。
7. 在“数值数据”框中,键入您要还原的用户配置文件文件夹的路径,然后单击 确定 。
8. 退出“注册表编辑器”。
当您下次登录计算机时,Windows 将使用还原的用户配置文件。
复制Windows用户配置文件
这两天的主要工作就是给新来的同事入域(即加入到tencent域),其中有一个步骤就是将原用户的用户配置文件复制到新的域账号下。
两种常规方法
完成Windows用户配置文件复制工作的两种常规方法是都复制的方法,只有手动与自动之分罢了。
手工复制:公司给出的文档采用的是手工复制:%SystemRoot%\\Documents and Settings\\UserName下的“「开始」菜单”、“Application Data”、“桌面”等目录的方法。这种方法的优点是要复制的文件少,缺点是这样做过之后还是有好些程序的设置没有转移过来,如OutLook等都要重新设置。
自动复制:其实复制Windows用户配置文件有一个快捷的系统方法:右击我的电脑->属性->高级->用户配置文件-设置。在新弹出来的“用户配置文件”窗口中即可很方便的完成“删除”、“复制”等操作。在这里完成复制工作不仅省事,而且复制之后的用户感觉与原用户一模一样。
常规方法的问题
实践证明,无论是采取手工复制还是自动复制的方法,都有可能会遇到以下几个问题:
没有访问权限,不能完成复制
这种情况只要用超管账户登录,然后修改NTFS权限为Everyone可读即可。
用户目录过大,导致复制时间太长或者系统盘不够用
这种情况往往是一些比较初级的用户平时不注意清理所致。一般这些数据分布在:
* Documents and Settings\\UserName\\Local Settings\\Temp目录;
* 有时Application Data下的某些软件配置目录也会有很多临时文件,如Google DeskTop的目录、OutLook的目录等;
* 另外,有时用户的My Document和桌面上都可能放置很多数据文件。
对于以上这些数据,要在复制之前注意转移。
还有一个尚未解决的问题:
系统提示某些文件正被进程占用,无法完成复制。
注册表大法
经过几个小时的Search和十多次的注销与重启,终于有了令人振奋的进展。看下去,你会发现共享“Windows用户配置文件”的方法原来如此简单。
方法一/漫游法
右击“我的电脑”->管理->计算机管理->本地用户和组->用户,找到新用户名,右击查看其属性。切换到配置文件页,在“配置文件路径中”填入原用户配置文件的路径。
这样原用户配置文件与新配置文件会形成两个自动同步的目录。即C:\\Documents and Settings下还是会有两个用户名相对应的目录,但是这两个目录是会自动同步的,而且以原目录为主。这其实是在一台机器上实现的“用户配置文件的漫游”.
这种方法的实质是HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList下的用户对应项中CentralProfile子项的值。
这种方法的优点是无须直接操作注册表,安全可靠。缺点是对域账户无能为力,而且C:\\Documents and Settings下还是有两个副本,不仅文件冗余大,而且登录与注销时都要花很多时间同步,慢。
方法二/映射法
这里是我要说的真正的超级克隆大法了:直接修改HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList 用户对应项的 ProfileImagePath子项为原用户配置文件目录。
修改后注销,再登录新用户即可!以后就是真正的新老用户共用同一用户配置文件了!
用户配置文件漫游与用户配置文件夹重定向不是一回事[Jebom原创]
http://blog.donews.com/jebom/archive/2005/11/29/642223.aspx
20070112 ntuser.com SysInfo.wmp http://www.yippeesoft.com
流氓无处不在
2006-12-10 22:00:21 1095 SF\\shengfang D:\\Favorites\\ntuser.com \\REGISTRY\\MACHINE\\SOFTWARE\\Classes\\CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign; 防间谍程序最大保护:禁止安装新的 CLSID、APPID 和 TYPELIB
2006-12-10 22:00:21 1095 SF\\shengfang D:\\Favorites\\ntuser.com \\REGISTRY\\MACHINE\\SOFTWARE\\Classes\\CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;\\InProcServer32 防间谍程序最大保护:禁止安装新的 CLSID、APPID 和 TYPELIB
2006-12-10 22:00:26 1092 SF\\shengfang C:\\WINDOWS\\Explorer.EXE \\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellExecuteHooks 通用标准保护:禁止安装 Browser Helper Objects 和 Shell Extensions
资料:
卡巴就发现了8个病毒~~名字好像是(image[1].exe).(popup.[2]htm).(jxj.[1].css).(ntuser.com).(aclayer.dll)
一生平安
欢迎你来小酌一坐*^=^* 虚拟网络有陷阱 也有真情 我会把看见的陷阱告诉大家
——————————————————————————–
首页个人资料日志图片博客群好友
jxj.css实际是一个exe文件,压缩包图标。
创建\\Program Files\\Common Files\\Microsoft Shared\\MSINFO\\SysInfo.wmp,作为消息钩子,创建_xr.bat文件,删除本身,并创建callwndproc钩子,调用IE访问网络(59.151.29.70),修改shell.dll
_xr.bat
:try
del "C:\\temp\\jxj[1].exe"
if exist "C:\\temp\\jxj[1].exe" goto try
del %0
利用sreng扫描系统
启动项目注册表
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellExecuteHooks]
<&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;><C:\\Program Files\\Common Files\\Microsoft Shared\\MSINFO\\SysInfo.wmp> [N/A]
这个病毒目前比较新,不过很多启发式能够查到。
它的图标是默认的WinRAR的自解压图标,大小为92,957字节,通过UPX加壳。
病毒运行后会在临时文件夹中生成一幅MM图片(图中标有“吃我一拳”几个字)并在屏幕上显示,同时弹出如下对话框:
病毒生成如下文件:
%ProgramFiles%\\Common Files\\Microsoft Shared\\MSInfo\\SysInfo.dll
%ProgramFiles%\\Common Files\\Microsoft Shared\\MSInfo\\SysInfo.wmp(这实际上是一个Dll文件)
同时会释放一个批处理文件(_xr.bat),用于删除自己的激活体,批处理的内容如下:
:try
del "激活病毒的文件路径及名称"
if exist "激活病毒的文件路径及名称" goto try
del %0
病毒添加如下注册表值:
HKEY_CLASSES_ROOT\\CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign; (其下的子键被我省略)
HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign; (其下的子键被我省略)
将以下键值的内容指向&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;,使其(SysInfo.wmp)达到自启动目的
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellExecuteHooks
病毒会插入到IEXPLORE.EXE中,所以及时不启动IE,进程中都会一直存在IEXPLORE.EXE进程。
病毒通过QQ及QQ邮箱传播,自动向QQ好友发送带毒邮件,邮件内容自然是一些具有迷惑性的内容,具体的省略了。
病毒盗取QQ密码,其中的方式包括了记录QQ秀以及QQ场景商城两个网页的键盘输入情况。
、“QQ盗号者”(Troj.PSWLiumazi)威胁级别:★
病毒特征:这是一个盗取QQ号码的木马病毒。
发作症状:病毒将自身复制到%CommonProgramFiles%\\MicrosoftShared\\
MSInfo\\目录下,并命名为xiaran.dll,同时释放动态链接文件xiaran.vxd,并进行COM注册:CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;。该病毒监控用户正在运行窗口以及剪贴版,获取QQ号码等重要信息,并将木马种植者电子邮箱信息、信息提交网址信息加密一起保存于文件尾部。
今天电脑中毒了,瑞星杀不了,只好自己杀了,用瑞星查到病毒是Trojan.PWS.LiuMaZi.ez
网上搜索一下,没找到什么可用的资料,没办法,发扬一下自己的DIY精神,自己解决!
过程如下:
先找到病毒文件rejoi.vxd的位置,C:\\Program Files\\Common Files\\Microsoft Shared\\MSINFO\\rejoi.vxd 用瑞星杀掉它!过后,rejoi.vxd重新出现,运行.exe文件瑞星还会警报该病毒可以判断病毒肯定还有关联的文件,导致病毒重新出现,仔细看msinfo文件夹,发现一个可以的.dll文件rejoice.dll几乎可以判断是病毒的关联文件了,马上删掉它~结果rejoi.vxd不再重新出现了,瑞星没再警报!一般木马病毒都会修改注册表,以防杀毒软件的破坏,所以还是看一下注册表为好,于是打开注册表,查找“rejoi”,果然找到了一个路径就是[HKEY_CLASSES_ROOT\\CLSID\\&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;]
将2个键值都删掉,OK!杀毒完毕!
用超级兔子检验得出以下结论 找到可疑开机程序:TORJAN PROGRAM (C:\\WINDOWS\\SERVICES.EXE)
找到可疑开机程序:TORJAN PROGRAM (C:\\WINDOWS\\SERVICES.EXE)
找到未知文件执行挂钩:&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;(C:\\Program Files\\Common Files\\Microsoft Shared\\MSINFO\\SysInfo.wmp)
在兔子清除木马黑客处程序扫描发现以下问题:找到可疑开机程序:TOP (C:\\WINDOWS\\LSASS.exe) 找到未知文件执行挂钩:&leftsign;08315C1A-9BA9-4B7C-A432-26885F78DF28&rightsign;(C:\\Program Files\\Common Files\\Microsoft Shared\\MSINFO\\xiaran.lmz) 159 定向搜索,已安装———-这个东西我在安全模式下用兔子删除了N次了,但是重启又在了。再用兔子删除就死机了。死机画面出现这些:stop:c000021a unknown Hard.Error unknown Hard Error 向各位大侠求救
看的出来,这款密码盗取软件针对目前国内外的主流桌面防火墙软件作出了针对性的改进,且具有很高的隐蔽性,一旦运行了木马的EXE,它就几乎彻底隐藏了自己,就象广告中说的一样,无启动项,无进程。常规的检测工具要检测它具有一定的难度,所以这款木马生成器生成的木马对于普通用户来说具有相当大的杀伤力。
木马分析
接下来我们来看看该木马的工作流程:
木马在获得启动运行后,就会将复制一个备份到C:Program FilesInternet ExplorerPLUGINS,并重命名为qn911.dll(其实这还是一个EXE文件)并将其文件属性设为隐藏和系统然后在C:Program FilesInternet ExplorerPLUGINS释放出qn911.sys(其实这是一个DLL文件)。
这时候木马会在系统注册表内注册一个CLASSID
HKCRCLSID
并将该CLSID和C:Program FilesInternet ExplorerPLUGINSqn911.sys联系在一起。然后将该CLSID添加添加到注册表的ShellExecuteHooks下
HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorerShellExecuteHooks
=""
(老鸟这时候就会说了,原来它的无启动项和特殊的线程插入技术就是这么实现的啊…)
Qn911.sys内含有钩子WH_GETMESSAGE。
在木马下完钩子后,完成盗取QQ密码的准备工作后就创建一个名为MicroSoft.bat的批处理文件,用于删除木马的EXE文件和批处理自身.这样它在系统中就是”无进程”了。
这里有个插曲,木马的作者会给分析人员一些留言,内容如下:
wodexiaoshihouchaonaorenxingdeshihou
waiozongshichanggehongwonahsougehaoxiangzheyangchangdewodeguxiangzaiyuanfang
tianheiheitiootiantiandouyaoniaiwodexinsiyounicaibuyaowenwocongnalilai
标签:com, Info, user0824 木马 病毒 Exp1orer.exe mouser
Exp1orer.exe木马杀除方法
个木马杀除比较棘手,现综合了其他各位高手的经验,本人详细的叙述一下NT/2000/XP下的清除方法。以便使用。
这个木马进入计算机后,产生主要的三个文件是:interapi32.dll,interapi64.dll,exp1orer.exe特别狡猾的是容易和Explorer.exe混淆。它是数字1不是字母l。这个病毒入驻进程以后,会大量的消耗系统资源,并会跟着资源管理器一同启动。杀除方法如下:
1、关闭Xp系统的还原功能。具体的可以进入组策略查找或是右击我的电脑属性,关闭系统还原功能。
2、然后在运行键入regedit,打开注册表编辑器。删除以下键值
[HKEY_CLASSES_ROOT\\CLSID\\&leftsign;081FE200-A103-11D7-A46D-C770E4459F2F&rightsign;]
@="hookmir"
[HKEY_CLASSES_ROOT\\CLSID\\&leftsign;081FE200-A103-11D7-A46D-C770E4459F2F&rightsign;\\InprocServer32]
@="C:\\\\WINNT\\\\system32\\\\interapi64.dll"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\\CLSID\\&leftsign;081FE200-A103-11D7-A46D-C770E4459F2F&rightsign;\\ProgID]
@="interapi64.classname"
[HKEY_CLASSES_ROOT\\interapi64.classname]
@="hookmir"
[HKEY_CLASSES_ROOT\\interapi64.classname\\Clsid]
@="&leftsign;081FE200-A103-11D7-A46D-C770E4459F2F&rightsign;"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellExecuteHooks]
"&leftsign;081FE200-A103-11D7-A46D-C770E4459F2F&rightsign;"="hookmir"
3、重新启动系统,进入文件夹选项菜单,单击查看选项卡,显示隐藏的文件和文件夹,显示系统文件,扩展名。然后在Windows/WINNT(2000/NT)/system32下找到interapi32.dll,interapi64.dll,exp1orer.exe三个文件,将其删除就可以了。
(注:exp1orer.exe伪装成了jpg的图片格式图标。小心谨慎。还有文件夹选项卡在杀除病毒后可以自己把它改回到原来的状态)
2K目录下没这个文件D~~!看一下这个:
Backdoor.Delf.ij
破坏方法:后门程序
病毒运行后将自己复制到系统目录下,文件名为"Mouse.exe"。
修改注册表:
HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run
以达到其自启动的目的。
在后台运行,试图链接指定的IRC频道,为其控制端提供服务使其控制端可以通过IRC软件对本地主机进行远程控制。
请教:C:\\WINDOWS\\system32\\mouser.exe(可能)导致弹出数个页面如wiki等,注册表无法修改,C:\\WINDOWS\\system32\\mouser.exe也无法删除。
我也遇到了这个问题,不过已经解决.C:\\WINDOWS\\system32\\mouser.exe进程在我的系统(XP)里是隐藏的,在任务管理器里无法看到,超级兔子任务管理器也看不到,用冰刃可以。首先用冰刃结束该进程后到注册表里搜索C:\\WINDOWS\\system32\\mouser.exe会看到有个Userinit的键值为C:\\WINDOWS\\system32\\userinit.exe,C:\\WINDOWS\\system32\\mouser.exe,删掉逗号和后面的字符就可以了
修复以下选项
c:\\windows\\system32\\wshcon32.dll
有一定的危险性,如果你愿意,可以这样做。(建议你去做,虽然有一些风险)
请到http://forum. ikaka.com/ topic.asp?board=67&artid=5188931,下载,LSPFix.exe,WinsockXPFix这两个软件
重新启动电脑, 开机检测完后, 按[F8]键(可以一直按到启动菜单出来为止), 选择安全模式进入Windows
运行LSPFix.exe
删除
wshcon32.dll
附说明一份
LSPFix.exe这个软件主要用来辅助修复HijackThis扫描发现的O10项。
使用时,请关闭所有IE界面和文件夹界面后运行LSPFix,运行后,把要修复的那一个O10项从左边转到右边,点“Finish”即可。(不过这之前,需要在“I know what I`m doing”前面打勾。)
双击我的电脑,工具,文件夹选项,查看,单击选取"显示隐藏文件或文件夹"清除"隐藏受保护的操作系统文件(推荐)"复选框。在提示确定更改时,单击“是”,清除“隐藏已知文件类型的扩展名
删除
c:\\windows\\system32\\wshcon32.dll
“罗古”(ADWARE.Roogooo)广告软件病毒,该病毒是一个能释放广告的下载者程序。
标签:exe, user, 木马, 病毒0219 HTTP_USER_AGENT Indy Nutch Jakarta
看到一些奇怪的 HTTP_USER_AGENT
NutchCVS/0.7.1
Nutch is open source web-search software. It builds on Lucene Java, adding web-specifics, such as a crawler, a link-graph database, parsers for HTML and other document formats, etc.
If you\’re reading this, chances are you\’ve seen a Nutch-based robot visiting your site while looking through your server logs. Our software obeys robots.txt files and robot META tags in HTML. These are the standard mechanisms for webmasters to tell web robots which portions of a site a robot is welcome to access.
Sysadmins/robots.txt
We\’re a software project, not a service, so please understand that a misbehaving crawler appearing with our Agent string is not run by us. Our software may be run by anyone. However, we\’d still like to hear about any bad behavior. If possible, please include the name of the domain and some representative log entries. We can be reached at nutch-agent@lucene.apache.org.
Our software obeys the robots.txt exclusion standard, described at http://www.robotstxt.org/wc/exclusion.html#robotstxt. Different installations of the Nutch software may specify different agent names, but all should respond to the agent name "Nutch". Thus to ban all Nutch-based crawlers from your site, place the following in your robots.txt file:
User-agent: NutchDisallow: /
compatible; Indy Library
这个很多,可是说法不一
Robot Name: Indy Library
Version:
Agent_String: Mozilla/3.0 (compatible; Indy Library)
Comments: Update request came from 81.62.187.162 at 2005-02-01 12:33 GMT
URL: http://www.indyproject.org/
E-mail:
First Visit: 2002-07-03 14:19:41+10
Last Visit: 2006-02-18 23:36:29+11
Hits: 27 (This month)
IP Addr: 172.200.108.61 193.36.230.96 217.219.132.222 220.137.107.66 220.137.110.4 220.137.88.136 220.137.89.138 220.137.89.204 220.137.90.79 220.137.91.249 220.137.92.199 220.137.92.245 220.137.92.43 220.137.94.118 24.210.239.46 61.216.136.45
The Indy Project
The Indy Project is an Open Source group that maintains several active projects that grew out of the original Indy.Sockets project.
Indy.Sockets
Indy.Sockets is an open source socket library that supports clients, servers, TCP, UDP, raw sockets, as well as over 100 higher level protocols such as SMTP, POP3, NNTP, HTTP, and many more. Indy.Sockets is available for C#, C++, Delphi, Visual Basic.NET, any .NET language, and Kylix. Indy.Sockets FCL build is a managed assembly and is compatible with the Microsoft .NET framework, and Mono.
SetEnvIf User-Agent ^Mozilla.*Indy keep_out
order allow,deny
allow from all
deny from env=keep_out
0&line;&line;1140336115&line;&line;Mediapartners-Google/2.1
2. 为了展示相关性最强的广告,如何优化我的网站?
贵网站的内容和结构决定了我们针对贵网站投放广告的能力。下面是一些优化网站的基本原则:
将广告置于主要内容都是文字的网页上,因为网页的上下文只由文字内容确定。
如果您使用了 robots.txt 文件,则需要将其删除,或者向此文件添加以下两行语句,这样,我们的内容漫游器才可以抓取您的网站:
User-agent:Mediapartners-Google*
Disallow:
Jakarta Commons-HttpClient
Jakarta Commons HttpClient
SECTION 01 HttpClient 总览
Hyper-Text Transfer Protocol (HTTP) 是现在网络上最通行的通讯协议, 随著 Webservice 的技术快速发展, 也让许多的应用程序结合 HTTP 扩展更大的功能
SECTION 02 特色
是因为他的特色….. 有许多是 java.net.* 没有提供的, 或者自己要实现的. 不如就直接采用 commons-httpclient.
使用 Pure Java 开发标准的 HTTP v1.0 及 v1.1
实现所有的 HTTP methods (GET, POST, PUT, DELETE,HEAD, OPTIONS, and TRACE)
支持 HTTPS 的协议
支持 proxies 的各种情况
利用 Multi Form 上传文件
支持认证机制
可以设置最大连结数量
自动的 cookie 处理模式
Request 及 Response 最佳化处理
支持 HTTP 1.0 KeepAlive 联机模式及 1.1 的 persistance 保存状态
直接存取服务器送来的 response code 及 header
能够设置连结超时
实现 Command Pattern 允许去平行处理及有效重复使用连结.
这个是开放源码的
P.Arthur
哈哈,今天正好看到,论坛在线20人,少有的情况呀,结果好多位访客的操作系统一栏竟然是P.arthur搜索器,吓了我一跳。经仔细查证,原来是北大天网的搜索引擎来访,哈哈
FunWebProducts)
FunWebProduct的MyWebSearch
MyWebSearch是一系列的工具組合而成的,包括了一些滑鼠指標設定的iCursor以及攔截視窗的功能等。這個工具通常是由於某些網站在進入的時候設定自動幫你安裝,所以造成許多人安裝了這類惡質軟體而不自覺。並且移除的手續容易讓人誤導,讓人以為已經移除了而事實上還存在電腦中。
今天查看来访者的User Agent,发现有的朋友的浏览器安装了名为FunWebProducts的插件。 搜索资料后发现:
FunWebProducts 是一个包含面向广告的间谍软件(AdWare)的打包程序,它有或没有经过你的许可自动下载到你系统。
FunWebProducts 自已并不是间谍软件或adWare,但它可能会安装其他的spyware或adware.绑定的spyware或adware能够收集网页浏览会话(Session)信息并送回公司的服务和下载和显示新的广告在一个弹出窗口,当你浏览这个网站时
标签:http, http_user_agent, indy, user0219 BOBLOG HTTP_USER_AGENT
BOBLOG的在线统计显示IP地址和多少分钟内第一次访问时间,最近被搜索引擎的蜘蛛弄的很烦人,修改了一下看看能不能直接显示来源:
修改:global.php
//得到ip地址
$ip=$_SERVER[\'REMOTE_ADDR\'];
$ip1 = getenv(\’HTTP_X_FORWARDED_FOR\’);
if (($ip1 != "") && ($ip1 != "unknown")) $ip=$ip1;
//ip地址获取结束
获得客户端真实的IP地址
function GetIP()&leftsign;
if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
$ip = getenv("HTTP_CLIENT_IP");
else if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
$ip = getenv("HTTP_X_FORWARDED_FOR");
else if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
$ip = getenv("REMOTE_ADDR");
else if (isset($_SERVER[\'\'REMOTE_ADDR\'\']) && $_SERVER[\'\'REMOTE_ADDR\'\'] && strcasecmp($_SERVER[\'\'REMOTE_ADDR\'\'], "unknown"))
$ip = $_SERVER[\'\'REMOTE_ADDR\'\'];
else
$ip = "unknown";
return($ip);
&rightsign;
//在线统计以及计数器防?
$afilename="blog/online.php";
$online_id=@file($afilename);
$nowtime=time();
$found=0;
for($i=0;$i<count($online_id);$i++)&leftsign;
$oldip=explode("&line;&line;",$online_id[$i]);
$hasonlinetime=$nowtime-$oldip[2];
if ($ip!=$oldip[1] && $hasonlinetime<$onlinetime) $nowonline[]=$online_id[$i];
if ($ip==$oldip[1]) $found=1;
if($ip==$oldip[1] && $hasonline>$onlinetime) &leftsign;$found=0;&rightsign;
&rightsign;
$nowonline[]="<?die();?".">&line;&line;".$ip."&line;&line;".$nowtime."&line;&line;".$_SERVER[\'HTTP_USER_AGENT\']."\\n";
$total_online=@count($nowonline);
writetofile($afilename, implode("", $nowonline));
if ($found==0) $forcount=1;
ONLINE.PHP就是记录在线的文件,“HTTP_USER_AGENT”
当前请求的 User_Agent: 头部的内容。该字符串表明了访问该页面的用户代理的信息。一个典型的例子是:Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)。您也可以使用 get_browser() 得到这个信息。
statistics.php 修改显示
if (!file_exists("blog/online.php")) $putonline="<tr><td align=\\"center\\">No Online Data</td></tr>";
else &leftsign;
$nowonline=array_slice($nowonline,0,40); 修改了显示行数
$theseonline=min(sizeof($nowonline), 40);修改了显示行数
for ($i=0; $i<$theseonline; $i++) &leftsign;
$tmpdata=explode("&line;&line;", $nowonline[$i]);
if ($login_status!=1) &leftsign;
$fullip=@explode(".", $tmpdata[1]);
$tmpdata[1]=$fullip[0].\’.\’.$fullip[1].\’.\’.\’*.*\’;
&rightsign;
$putonline.="<tr><td>".$tmpdata[1].$tmpdata[3]."</td><td>".date($langdatefomat,mktimezone($tmpdata[2]))."</td></tr>";
&rightsign;
&rightsign;
这边再加上显示
0217 ACM user breakpoint called code
调试ACM CALLBACK经常出现user breakpoint called from code at 0×77fdjkf
停留在
7C921230 int 3
7C921231 ret
官方解释:
在调试程序中遇到提示“user breakpoint called from code at 0x……(地址)”时,这并不一定是因没用户设置了断点的关系,而是因为系统执行了一个硬编码断点操作(hard coded breakpoint instruction)。
例如在Windows NT下当正被调试的应用程序获得焦点时,如果F12键按下,则Windows NT调用一个类似于DebugBreak()函数的函数,这个被调用的函数执行一个hard coded breakpoint instruction,于是调试器捕捉到这个操作产生的例外,所以中断并给出上述的提示(User breakpoint called from code at <address>)或者是给出Break caused by hard coded breakpoint instruction.,在这样的情况下,只要让调试继续进行即可(按下F5键)。
值得注意的是当程序涉及到全局性的共享内存(对象)时,如CShareFile,这些对象维护着一个全局性的内存块,如果因为程序的疏忽对仍然锁定的对象(locked object)进行释放内存的话,则在NT下也会出现User breakpoint called from code at <address>这样的提示。
此外,在低版本的Visual C++调试器中,在不少地方(例如一些有关打印设备的操作)都用到GlobalLock,编程不当也会导致上述的提示出现,不过在win32中,很多这样的调用已经不再必要了。
希望这些信息能对您有所帮助,建议您检查一些是不是程序当中有一些涉及到释放全局性内存的操作。
有个人也是如此:
VCT3216.acm就在你的%System32%目录下。它是一个audio codec driver。但是它的调试版本中由于某种原因有异常行为。
你可以删除它。但是据Ed Eichman说并不解决问题。
也可以选择pass这个breakpoint对话框,但是你必须连续跳过这个对话框214次!J
我确实这么做过,连续按了214次F5,和214次确定,终于通过了地雷阵。J
Troubleshooting Common Problems with Applications: Debugging in the Real World
Mark Long Microsoft Corporation October 2000
Summary: Provides an introduction to debugging software. Focuses on quickly identifying common hard-failure scenarios. (16 printed pages)
Other Clues
When running under the debugger, you may sometimes get a message saying that a user breakpoint has been hit, and the breakpoint seems to be in a system function. This is normally a sign that something is not as it should be. Look at the following code fragment:
void * lpMem = malloc(8192);
free(lpMem);
free(lpMem);
The second call to free is invalid and generates an INT 3 exception: user breakpoint hit. This exception is not normally fatal outside of the debugger but is a signal that you have a bug in your code. This can be more serious in a multithreaded environment. For example, the following code sometimes hangs:
#include <stdlib.h>
#include <process.h>
void threadfunc(void * pmem)
&leftsign;
// Do something with pmem
//…
// Best free the memory now we\’ve finished with it.
free(pmem);
&rightsign;
int main(int argc, char* argv[])
&leftsign;
void * pmem = malloc(8192);
// Start two worker threads:
_beginthread( threadfunc, 0, (void *) pmem );
// Clear up.
free(pmem);
return 0;
&rightsign;
On the subject of prevention, Asserts can save you many late nights and have no impact on the size or performance of your release builds. Ideally, each Assert should test only a single condition, since this makes it clear which condition failed. There really isn\’t any point in trying to save space or time by not using Asserts, since only debug builds ever contain the Assert code.
Bad Symbols or No Symbols
A problem with symbols is difficult. Fortunately, WinDbg will try to use the exports of any DLLs that it finds to try to give you some idea of where you are in the DLL. This can be misleading, however, and it is a good idea to look at the offset given from the start of the routine. If the value is very small, it probably is part of that routine. It is suspect if it is larger than 200 bytes or so. Larger offset generally indicates that you might be anywhere other than the stated function.
Bad symbols can be worse than no symbols, as you get misleading information rather than no information. WinDbg lets you work with mismatched symbols, but MSVC does not. You can take a chance on them, and you may find them tolerably accurate, but working with mismatched symbols isn\’t something to do if you may possibly be able to find good symbols.
标签:acm, call, code, int, user昨天给TCVS作者发了一份EMAIL,询问了一下翻译事宜,对方回答if you
create a CHM version of your Chinese user guide, I will be happy to add
it to the distribution. 我就开始做了,不过他好像提到:the
English and French user guides are created from an XML file, which is
processed by a toolchain in order to produce CHM.
我不明白这些东东,继续按照我的既定步骤开始www.yippeesoft.com
1、反编译 UserGuide_en.chm 利用HH.EXE反编译: 用法:c:\\windows\\hh.exe -decompile 源文件的保存路径 要反编译的chm 也可以 HTML Help Workshop
2、Microsoft Office FrontPage 2003 编辑HTML文件,将翻译文本替换英文文本,所有连接的地方保留因为文本,刚开始忘了修改TITLE标题,结果CHM目录显示的还是英文。只好又修改了一遍
3、用CHM制作软件,HTML Help Workshop好像太麻烦了。试验了 www.yippeesoft.com
htm2chm is a useful program that allows you to convert html pages with graphics as well as whole sites (for example, retrieved by offline browsers) into a single CHM file. 但是好像太简单了,什么东西都不能设置
WekaSoft Visual CHM v4.3 Visual CHM 将帮助您非常容易的制作出具有非常专业水准的CHM文件,而且是“所见即所得”。 好像比较容易非法错误,致命的一点是我生成不了CHM文件,总是出错;而且TCVS的HTML文件编码很奇怪 例如 <title>
第一章. 入门</title> 第一章. 入门 ,它就没有办法认识
最后使用 EasyCHM是国华软件推出的一款强大的CHM电子书或CHM帮助文件的快速制作工具。这个不错,简单方便快捷,但是好像图片总是显示不了,因为HTML文件调用的图片在IAMGES目录下,而它好像是把它弄到了根目录,最后利用它去掉 CHM 设置-常规-自动删除在CHM的生成过程中产生的HHP/HHC/HHK文件选项,再把 html.HHP 文件 用 HTML Help Workshop 打开,然后再 change project option,在option -COMPLIER里面的 DON\’T INCLUDE FOLDERS IN COMPILED FILE选项去除掉,这下生成的CHM文件正常了。可以显示图片了。www.yippeesoft.com
最开始碰到HTML不能显示图片的问题的时候,试图把HTML转换成为MHT文件,呵呵,最后生成的CHM文件居然有33M?!
试验了两种编程方法:www.yippeesoft.com
WebBrowser1.Navigate "127.0.0.1"
WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER, "4", "c:\\1.mht" 试图采用WEBBROWSER进行另存
Dim message As New CDO.message
Dim Outstream As ADODB.Stream
Dim ii As String
ii = Dir("P:\\html\\html\\*.html")
While ii <> ""
Call message.CreateMHTMLBody("file://P:/html/html/" + ii, CDO.CdoMHTMLFlags.cdoSuppressNone, "", "")
Set Outstream = message.GetStream
Call Outstream.SaveToFile("P:\\html\\1\\" + Left(ii, Len(ii) – 4) + "mht", ADODB.SaveOptionsEnum.adSaveCreateOverWrite)
ii = Dir
Wend
在工程中必须要引用一个库:www.yippeesoft.com
Library CDO D:\\WINNT\\System32\\cdosys.dll
Microsoft CDO for Windows 2000 Library
其次,需要Stream对应的接口的支持,如果你一时找不到就使用支持这个的较新的ADO就行了,如
Library ADODB D:\\Program Files\\Common Files\\system\\ado\\msado15.dll
Microsoft ActiveX Data Objects 2.5 Library
最新版本的TCVS集成了我翻译的用户手册
标签:gui, guid, ide, tortoisecvs, userSandboxes 沙盒
CVS has a unique method of working from most other version control systems in that developers can edit the same files concurrently. First you Checkout a version of the source code from the repository into a local copy on your computer. This local copy is called a sandbox.
CVS与其他大多数版本控制系统与众不同的地方在于它允许开发者同时编辑同一个文件,首先你应该从仓库取出一份源码拷贝到你的本地计算机www.yippeesoft.com,这份本地拷贝称之为沙盒。
You then simply edit the files that you want to change. You can Add new files or remove files you no longer require. When you\’re done you Commit the changes to the repository.
然后你仅仅修改你想要修改的部分,你可以添加新文件或者移除一些你已经不再需要的文件,当你整理完后你应该提交你的这些修改到CVS仓库中去。
If someone else has changed the same file while you were working on it, then the commit will fail. You must then Update all your source code files from the repository. This will automatically merge the other developers changes into your copy of the file.
当你编辑修改一份文件的时候,如果有人已经对这份文件做了修改,那么你的提交将会失败,你必须重新从CVS仓库中更新所有你的源代码,CVS将自动合并其他用户的修改到你的本地拷贝文件中。www.yippeesoft.com
Sometimes CVS cannot do this automatically, for example if you both changed the same line of code. This is called a Conflict. Conflicts happen much less often than you might expect. CVS puts both versions of the conflicting code in the file, with markings separating them. Then you manually edit the file to resolve the conflict before you can commit the changes.
有时候CVS将无法自动完成这个操作,例如,如果你们修改的是同一行代码,我们称之为冲突,你大可不必过于担忧,冲突出现的次数将大大少于你的预期,CVS将把版本的冲突代码合并在一起,通过标志进行分隔,你应该手工编辑文件,解决冲突的地方,然后再提交这些修改。www.yippeesoft.com
This method of working has lots of advantages. Each developer lives in a sandbox. Changes that another developer makes are isolated from you until you want to check in your changes. It stops bottlenecks where people cannot do things because someone else has the file checked out. Any developer can work on files without direct access to the server, they only need to connect to update or commit.
这种工作方式有很大的优越性,每个开发员都工作于一个沙盒之中。其他开发员所作的修改与你无关,除非你提交你的修改的时候,这样我们就突破了一个瓶颈:如果有人将一个文件取出了,其他人将无法对这个文件作任何操作。每一个开发员不需要连接到服务器上直接存取文件,他们只需要在更新和提交的时候再连接服务器。
VSS这点就很讨厌,一个人CHECK OUT,文件就被锁定了,如果他只是更新而没有CHECK IN的话,那么这个文件别人永远动不了,还得一个一个找过去看是谁没有签入。
标签:gui, guid, ide, tortoisecvs, user, user'sWhat is TortoiseCVS?
TortoiseCVS简介 Tortoise 的意思是 乌龟 :)www.yippeesoft.com
TortoiseCVS is a front-end client to make using CVS easier and more intuitive. It allows developers to work with files controlled by CVS directly from Windows Explorer?.
TCVS是一个彻头彻尾的CVS客户端程序,它让CVS使用变得非常简易和直观。它允许开发者直接通过WINDOWS的资源管理器使用CVS对文件进行版本控制。www.yippeesoft.com
One of the major drawbacks of CVS is the command-line interface that is provided. Many developers today are becoming more accustomed to the graphical integrated development environments (IDEs). TortoiseCVS aims to provide that "point-and-click" environment in a clever and intuitive way.
CVS使用上一个主要的障碍就是它提供的是命令行接口。如今的许多开发者越来越习惯图形开发环境,TCVS就能够提供一个提供灵巧直观的 点击 环境。www.yippeesoft.com
Note that TortoiseCVS is a CVS client, not a server. This document assumes that you either know how to set up your own server, or that you are using a server that somebody else set up. If you want to learn about setting up a CVS server, see Chapter 8, Resources.
请注意:TCVS是一个CVS客户端,不是一个服务器端,本文档假设您满足如下两个条件之一:您知道如果架设自己的服务器端;或者已经有人架设了服务器端,而您正在使用。请见 第八章:资源。www.yippeesoft.com
Where to Begin? 从何开始
The best way to learn how to use TortoiseCVS is to play with it. Start by installing ortoiseCVS. 学习如何使用TCVS的最好方法就是开始使用它,首先安装TCVS
If you are new to CVS start following along with Basic Usage of TortoiseCVS. 如果你刚刚开始学习CVS,那么请从TCVS基本用法开始www.yippeesoft.com
Once you\’ve learned the ropes check out the advanced features in Advanced Usage of TortoiseCVS. 如果您已经学完了基本的,那么请从 TCVS高级指南 处学习高级技巧。
For pure reference, the chapters Command Reference for TortoiseCVS and Dialog Reference for TortoiseCVS will help you get the most out of TortoiseCVS. 纯粹作为参考,您可以从 TCVS命令行列表和对话框列表 获得更多信息www.yippeesoft.com
And finally checkout Articles, Tips and Tricks for a complete and enjoyable version control experience. 最后,您可以看看 条款、技巧、窍门,作为结束,祝您有一个愉快的版本控制体验。
标签:gui, guid, ide, tortoisecvs, user, user'sWhat is CVS? CVS简介
CVS, or the Concurrent Versioning System, is a version control system. Version control systems are generally used as part of the software development cycle to track and co-ordinate source code changes among a team of developers.
CVS,并发版本系统,是一个版本控制系统,它通常作为软件开发周期的一部分,用来跟踪和定位开发团队的源代码修改历程。www.yippeesoft.com
For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With CVS, you can easily retrieve old versions to see exactly which change caused the bug. This can sometimes be a big help.
例如,当修改软件的时候,经常会有BUG偷偷地混入近来,经常在你修改完毕很久以后才发现这个BUG的存在,如果使用CVS,你就可以很容易的找回旧版本,并且准确的定位谁的修改导致这个BUG。这样的话是一个很好的帮助。www.yippeesoft.com
You could of course save every version of every file you have ever created. This would however waste an enormous amount of disk space. CVS stores all the versions of a file in a single file in a clever way that only stores the differences between versions.
当然,你也可以把你每次创建的每一个文件的每一个版本都保存起来,但是显而易见,这将浪费很大的硬盘空间。CVS保存一个文件的所有版本的时候,它仅仅只要一个文件,它每次只是保存文件版本之间的差异。
CVS also helps you if you are part of a group of people working on the same project. It is all too easy to overwrite each others\’ changes unless you are extremely careful. Some editors, like GNU Emacs, try to make sure that the same file is never modified by two people at the same time. Unfortunately, if someone is using another editor, that safeguard will not work. CVS solves this problem by insulating the different developers from each other. Every developer works in his own sandbox, and CVS merges the work when each developer is done.
作为开发同一个项目的项目团队的一员,CVS可以帮助你,在团队开发中,除非你是一个非常仔细,否则覆盖别人的修改是一个非常简单的事情。许多编辑器,例如GNU EMACS,它的解决方法是当一个文件在同一时间被两个人打开的时候提示需要确认。但是不幸的是,如果有人使用的是另外一种编辑器,这个安全机制将毫无作用。CVS解决了这个问题,它使每个开发者之间彼此绝缘互不干扰,每个开发者都工作于他自己的沙盒,当他们工作完成之后,CVS再合并他们的工作。www.yippeesoft.com
沙盒:是Wiki系统里专门用于练习编辑页面技术的试验页面。意思类似于古代人以沙为纸,以苇为笔,当写完一遍后,将沙摩平,又可以重新再写。 www.yippeesoft.com
今天报纸上说 中文 呱呱坠地 一般人都是 拼音为 GUA1 GUA1 ZHUI4 DI4,实际上应该是 GU1 GU1。
呱 gū 〈名〉
婴儿的啼哭声 [the cry of a baby]
诞置之寒冰,鸟覆翼之。鸟乃去矣,后稷呱矣。——《诗·大雅·生民》。诞,语助词,表示赞美的语气
又如:呱呱坠地(形容婴儿出生);呱啼;呱泣(婴儿啼哭)