重装系统、VS6以后,原来可以用的一段宏不能用了,出错提示窗口如下:---------------------------
Microsoft Visual C++
---------------------------
***.DSMThis macro file contained the following error and will be unloaded:Line 92: ActiveX 部件不能创建对象: 'Scripting.FileSystemObject'Would you like to edit the file?
---------------------------
是(Y) 否(N)
---------------------------印象中以前也出现过类似东西,不记得怎么解决的了~~
Microsoft Visual C++
---------------------------
***.DSMThis macro file contained the following error and will be unloaded:Line 92: ActiveX 部件不能创建对象: 'Scripting.FileSystemObject'Would you like to edit the file?
---------------------------
是(Y) 否(N)
---------------------------印象中以前也出现过类似东西,不记得怎么解决的了~~
解决方案 »
- 线程过程中出现异常。。。
- 使用cwinthread,经常崩溃在CThreadSlotData::SetValue
- 关于对话框的问题
- vc++ 6.0 中单选按钮如何根据选中的状态设置ACCESS的是/否类型???
- POST数据到GOOGLE翻译后返回的HTTP网页是乱码?有没有高手帮解决下?请进!!!
- 请帮我看下这个程序运行结果.要考试了,还不懂~~~~~
- 怎样使得我的Ftp能通过代理上传文件?
- setup factory中如何进行ODBC数据源设置
- 调查~~~~~~~~~~~~~~高中毕业就写vc的人多吗~?
- 怎样在asp+com中,由com向浏览器输出一个对话框。
- 文件操作问题?急用中!!!!
- 在消息反射机制中,谁先获得处理权?
regsvr32 scrrun.dll
试过,提示注册成功,但是没解决问题,不知道为什么。
to ldsjlzy(小李):
我无语了。我问的是一个ActiveX调用失败的问题,你给的帖子是修正补丁的描述。“FIX: Wrong Column Jumped to for Macro Syntax Error”,我英语不好,但我看了几遍还是认为说的是“修正:宏语法错误时错误的列跳转”。我从头到尾看过几遍了,除了Macro和Error没找出来一个字和我的问题有关。
SYMPTOMS
When you attempt to load a macro that contains a syntax error in Developer Studio, an error message similar to the following appears:
c:\program files\devstudio\sharedide\macros\mymacro.dsm This macro file contained the following error and will be unloaded Line 6: Expected ')' if (ActiveDocument.selection.FindText"CWnd") then Would you like to edit the file?
If you choose to edit the file, the cursor is not placed in the column where the error occurred. However, the cursor is placed on the correct row. 就是说如果你加载了包含了语法错误的宏,并选择edit光标不会跳到错误所在的列,而是会跳到了正确的列,这是微软的bug,这句话至少不会让你对盯着那行正确的行去想吧。
2、这个说的是语法错误引起的,我的宏没有语法错误(运行时的错误,不是语法错误)。
3、However, the cursor is placed on the correct row. 即使抛开前面两条,我也不会因此找错行。
4、我第一次看到你的连接就仔细的将原文读了几遍,因为毕竟英语不很好。我觉得你没有必要因此得出“浮躁”的结论。