摘要:
string reportPath=Application.StartupPath.Substring(0,Application.StartupPath.Substring(0,Application.StartupPath.LastIndexOf("\\")).LastIndexOf("\\"));reportPath+=@"\文件名"; 阅读全文
摘要:
//获取当前进程的完整路径,包含文件名(进程名)。string str = this.GetType().Assembly.Location;result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名)//获取新的 Process 组件并将其与当前活动的进程关联的主模块的完整路径,包含文件名(进程名)。string str = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名)// 阅读全文
摘要:
微软Silverlight 3 Tools for Visual Studio 2008 SP1是自注释标签;尽管如此,该解决方案是一个Visual Studio 2008 SP1的补丁,允许开发人员在最新Silverlight版本上整合应用程序。微软表示, Silverlight 3工具,支持VS 2008 SP1在Windows 7 、Windows Vista和Windows XP,包括SP3系统之上的开发。Silverlight 3 Tools for Visual Studio 2008 SP1包括: Visual Basic和C#项目模板;XAML智能代码生成;调试Silverli 阅读全文