惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
量子位
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
IT之家
IT之家
V
Visual Studio Blog
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
D
Docker
V
V2EX

博客园 - qqhe325

一个js游戏 向del.icio.us学习 lucene.net优化总结 Fxcop使用笔记 web service 记录1 自定义加密web.config实验记录 DTC:该伙伴事务管理器已经禁止了他对远程/网络事务的支持 C#基础- 抽象类,静态类 js自动加载日期类 img的onload事件 当图片路径超出网站根目录时 asp.net 2.0 access 未指定的错误 oledbparameter在update时出错不报错 grove 小例子 delegate和event例子 你试图打开的项目是Web项目,请指定URL路径 asp.net 在分析向此请求提供服务所需资源时出错 策略模式 我们是怎样的一代人[转]
vs2005宏的问题
qqhe325 · 2007-09-14 · via 博客园 - qqhe325

在看vs2005技巧时,有个运行宏来选择IDE窗口布局的例子,可总是出错,上网也没找到解决办法

 1 Imports System
 2 Imports EnvDTE
 3 Imports EnvDTE80
 4 Imports System.Diagnostics
 5 
 6 Public Module WindowsSytleSelected
 7 
 8     Public Sub code_bigwindow()
 9         DTE.ExecuteCommand("Tools.ImportandExportSettings""/import:c:\demo\settings\code_bigwindow.vssettings")
10     End Sub
11 
12     Public Sub code_leftwindow()
13         DTE.ExecuteCommand("Tools.ImportandExportSettings""/import:c:\demo\settings\code_leftwindow.vssettings")
14     End Sub
15 
16     Public Sub code_rightwindow()
17         'Dim item As ProjectItem = DTE.Solution.FindProjectItem("VsEditorFormatting.vssettings")
18 
19         'If Not item Is Nothing Then
20 
21         'Dim name = item.FileNames(1)
22         ' End If
23         ' DTE.ExecuteCommand("Tools.ImportandExportSettings", "-import:""" & name & """")
24         DTE.ExecuteCommand("Tools.ImportandExportSettings""-import:""c:\demo\settings\code_rightwindow.vssettings""")
25     End Sub
26 End Module

9,13,24行都出现下面的错误,谁知道哪错了啊~~