MS Project里面如何使用Macro?

mswater 2006-06-15 04:36:07
跟Excel Macro有什么不一样?象取当前行的值怎么写?这方面资料好象挺少的,请问各位那里能找到这些资料?
...全文
157 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
mswater 2006-06-17
  • 打赏
  • 举报
回复
哪位高手会啊,请赐教~~
使用VS6.0(VC++ or other)打开或添加项目时出现[MSDEV.EXE-应用程序错误"0x5003eaed"指令引用的"0x0000000"内存,该内存不能为"read";"0x73d311c7"指令引用的"0x00000004"内存,该内存不能为"read" ],这个可能是VS6.0和OFFICE 2007有冲突的缘故,下面是解决办法: 首先去下载一个FileTool(http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/filetool.exe 下载后解压缩),下载过来是一个C++原始文件,需要通过VC编译一下产生一个 FileTool.dll 将这个插件复制到X:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns 重新打开VC6,Tools->Customize->Add-ins and Macro Files,选中FileTool Developer Studio Add-in即可。 此时打开VC6会有一个浮动工具栏(A O),点击A就是添加文件到工程,点击O就是打开文件。是不是很怪啊,竟然做了一个插件进来,并没有对原先的冲突进行改进。 VC6.0和Visio两个软件有冲突,把Visio卸载掉即可,若卸载无效,可按下述方法添加一个宏程序补救。 概要 启动 @ @ OpenFile@@ @ 对话框中使用键盘快捷方式键 VisualC++ 中或从 文件 菜单导致以下错误: 0x5003eaed 上 DEVSHL.DLL 中访问冲突 (0xC0000005)。 DevShl.Dll 引用 0x0000000 上内存。 无法读取内存。 当您从菜单中选择, 单击会出现相同错误。 FileTool.exe 是示例替换 VisualC++ 使用 Developer Studio 对象模型中 打开 和 添加到项目 菜单项。 开发 VisualStudio 对象模型包含方法, 同时打开文件并向项目添加文件。 BuildProject 对象包含 AddFile 方法将文件添加到项目。 Documents 对象包含一个可打开到 DeveloperStudio 文件 打开 方法。 这些可用于宏或外接程序。 安装加载项 下载FileTool.exe 1. 运行 FileTool.Exe 来提取 VisualC++6.0 项目。 2. 生成在 VisualC++ 项目 发布 或 调试 配置中。 3. VisualC++, 中单击 工具 菜单中 自定义 。 4. 在 自定义 对话框中, 单击 Add - Ins and 宏文件 选项卡。 5. 单击 浏览 按钮并定位步骤 2 中生成 FileTool.dll 文件。 6. 单击 确定 以保存设置。 对于两个命令工具栏出现。 删除快捷键 加载外接后, 可以删除为菜单项, 停止 VisualC++ 并将其分配给两外接命令按照下面步骤快捷键: 1. 从 VisualC++ 工具 菜单, 单击 自定义 。 2. 在 自定义 对话框中, 单击 键盘 选项卡。 3. 从 类别 中选择 文件 。 4. 在命令窗口, 选择 FileOpen 。 5. 当前密钥 窗口, 中选择 CTRL+O 项, 然后单击 删除 。 6. 从 类别 中选择 项目 。 7. 在命令窗口, 选择 InsertFilesIntoProject 。 如果没有与其, 关联快捷方式请按照步骤 5 来删除它。 有默认为没有快捷键对该项。 8. 从 类别 中选择 加载项 。 9. 两加载命令 AddFileToProject 和 OpenFile 命令窗口中显示。 10. 选择 OpenFile 然后 按新快捷键密钥 框放置光标、 按快捷键或组合键, 要, 并单击 指派 。 11. 对其他命令重复上述步骤。 对于两个命令分配快捷键当前密钥窗口中显示。 您可能还希望删除菜单命令并插入其就地 AddIn 命令。 将新 AddIn 命令插入 MenuBar, 使用以下步骤: 1. 从 VisualC++ 工具 菜单, 单击 自定义 。 2. 单击 文件 菜单并拖动 Open 命令的 文件 弹出式注销, 然后释放它。 3. 单击 项目 菜单, 单击 添加到项目 和然后关闭的弹出 文件 命令拖释放它。 4. 在 自定义 对话框中, 选择 命令 选项卡。 5. 从 类别 列表框中选择 外接 。 6. 到 文件 菜单 OpenFile 命令拖放它由 Open 命令 vacated 空间中。 7. AddFileToProject 命令拖 到 AddProject@@@ 项目到 项目 菜单上并放空间 vacated 由命令 文件 中。 版本2 各种悲剧之后终于解决了vc6.0 打开文件报错的问题 “0x5003eaed 的内存错误” 感慨收录下 从 Microsoft 下载中心下载下列文件有: FileTool.exe (http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/filetool.exe) 自解压 FileTool.exe 文件包含下列文件: 收起该表格展开该表格Commands.cpp 5KB Commands.h 1 KB DSAddIn.cpp 5KB DSAddIn.h 2KB FileTool.cpp 5K FileTool.def 1 KB FileTool.dsp 5KB FileTool.dsw 1 KB FileTool.h 1 KB FileTool.odl 2KB FileTool.rc 5KB FileTool_i.c 2KB FileToolTypes.h 7KB resource.h 1 KB StdAfx.cpp 1 KB StdAfx.h 3KB FileTool.rc2 1 KB TBarLrge.bmp 2KB TBarMedm.bmp 1 KB 有关如何下载 Microsoft 支持文件单击下面的文章编号,以查看 Microsoft 知识库中的相应: 119591 (http://support.microsoft.com/kb/119591/EN-US/ ) 如何从联机服务获取 Microsoft 支持文件 Microsoft 扫描病毒此文件。 Microsoft 使用最新的病毒检测软件在发布该文件的日期中获得的。 该文件存储在安全性得到增强有助于防止任何未经授权的更改对文件的服务器上。 安装外接程序 运行 FileTool.exe 提取 Visual C++ 6.0 项目。 生成 Visual C++ 中 发布 或 调试 配置中的项目。 在 Visual C++,请从 工具 菜单中单击 自定义 。 在 自定义 对话框单击 加载宏和宏文件 选项卡。 单击 浏览 按钮,并找到生成 FileTool.dll 文件步骤 2。 单击 确定 保存设置。 出现一个对两个命令的工具栏。 注意: 仅在 打开 的命令 Visual C++5.0 中有效。 该 AddFile 方法是使用 Visual Studio 6.0 版本添加的。 删除快捷键 加载外接之后,您可以删除菜单项,停止 Visual C++ 通过执行以下步骤下将它们分配给两个加载项命令的快捷键: 从 Visual C++ 工具 菜单中,单击 自定义 。 在 自定义 对话框单击 键盘 选项卡。 从 类别 框选择 文件 。 在命令窗口中,选择 FileOpen 。 在 当前快捷键 窗口中选择该 Ctrl+O 条目,,然后单击 删除 。 从 类别 框选择 项目 。 在命令窗口中,选择 InsertFilesIntoProject 。 如果有与之关联的快捷方式请执行步骤 5,将其删除。 默认情况下没有为此项目的快捷方式项。 从 类别 框选择 加载宏 。 这两个加载项命令 AddFileToProject 和 OpenFile 出现在命令窗口中。 选择 OpenFile 然后将光标放在 按新快捷键 框,按快捷键或键组合要然后单击 分配 。 其他命令,请重复上面的步骤。 对两个命令分配的快捷键将出现在当前注册表项窗口中。 您可能还希望删除菜单命令并插入在的位置的 加载项 命令。 若要插入新的 加载项 命令在 MenuBar,使用以下步骤: 从 Visual C++ 工具 菜单中,单击 自定义 。 单击 文件 菜单,然后将 文件 弹出式菜单的 打开 命令拖放并将其释放。 单击 项目 菜单,单击 添加项目 ,然后将,弹出菜单的 文件 命令拖并释放它。 在 自定义 对话框选择该 命令 选项卡。 从 类别 列表框中选择 加载项 。 将 OpenFile 命令拖到 文件 菜单中拖出,vacated 由 打开 命令在空间中。 AddFileToProject 命令到 添加项目 项在 项目 菜单上拖它 vacated 文件 命令在空间中。
《游戏编程精粹》光盘源代码Author: Steve Rabin E-mail: stevera@noa.nintendo.com Last revised: 5-20-00 This MS Visual C++ project is the AI engine described in the book Game Programming Gems within the article "Designing a General Robust AI Engine". Please refer to the book for a full explanation of the implementation. Comments within the code also provide additional information. The state machine language uses a few custom keywords that should be highlighted by Visual C++ in order to make the state machine more readable. You can get Visual C++ to highlight these words by placing the file "usertype.dat" (included in this directory) into the same directory as Msdev.exe (C:Program FilesMicrosoft Visual StudioCommonMSDev98Bin). The file "usertype.dat" is simply a text file listing the state machine keywords. Here is a brief overview of the state machine structure. Each game object can point to a state machine. When that game object receives a message, it gets routed to it s state machine. The state machine can execute any code on behalf of the game object and can send additional messages, delayed messages (timers), can change state, or can destroy itself. Actually, each state machine can execute any code within your game. It is completely general. The state machine language was designed to provide a simple, consistent, robust, and general implementation of a state machine to every game object. The language itself consists solely of macros that have been carefully crafted to fit together like puzzle pieces. You can see an example in the file "fsm_drone.cpp". The macro language can be found in the file "fsmmacros.h". The AI engine provided was ported from C++ to C in order to show that it doesn t rely on any object-oriented techniques and that its generally applicable (also for legal reasons). I would highly advise porting it back to C++ so that it can take advantage of object-oriented techniques (even though it doesn t require them). Good Luck!
au3反编译源码 myAut2Exe - The Open Source AutoIT Script Decompiler 2.9 ======================================================== *New* full support for AutoIT v3.2.6++ :) ... mmh here's what I merely missed in the 'public sources 3.1.0' This program is for studying the 'Compiled' AutoIt3 format. AutoHotKey was developed from AutoIT and so scripts are nearly the same. Drag the compiled *.exe or *.a3x into the AutoIT Script Decompiler textbox. To copy text or to enlarge the log window double click on it. Supported Obfuscators: 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.14 [June 16, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.15 [July 1, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.20 [Sept 8, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.22 [Oct 18, 2007]' , 'Jos van der Zande AutoIt3 Source Obfuscator v1.0.24 [Feb 15, 2008]' , 'EncodeIt 2.0' and 'Chr() string encode' Tested with: AutoIT : v3. 3. 0.0 and AutoIT : v2.64. 0.0 and AutoHotKey: v1.0.48.5 The options: =========== 'Force Old Script Type' Grey means auto detect and is the best in most cases. However if auto detection fails or is fooled through modification try to enable/disable this setting 'Don't delete temp files (compressed script)' this will keep *.pak files you may try to unpack manually with'LZSS.exe' as well as *.tok DeTokeniser files, tidy backups and *.tbl (<-Used in van Zande obfucation). If enable it will keep AHK-Scripts as they are and doesn't remove the linebreaks at the beginning Default:OFF 'Verbose LogOutput' When checked you get verbose information when decompiling(DeTokenise) new 3.2.6+ compiled Exe Default:OFF 'Restore Includes' will separated/restore includes. requires ';

5,174

社区成员

发帖
与我相关
我的任务
社区描述
其他开发语言 Office开发/ VBA
社区管理员
  • Office开发/ VBA社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧