项目VB脚本问题 [英] Project VB Script issues

查看:65
本文介绍了项目VB脚本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个存档VB脚本(由其他人编写) 将MS Project 文件存档到项目网站的共享文档库。  ;我正在尝试调试并弄清楚如何在代码中获取项目站点的URL。

I have a archive VB script (written by someone else) that archives the MS Project file to the project site's Shared Document library.  I am trying to debug and figure out how to get the URL to the project site in the code.

下面的代码返回PWA根站点的URL:

The code below returns the url to the PWA root site:

   TargetPath =替换(替换(CStr(ActiveProject.ServerURL)

我需要的是项目网站本身的实际URL。我似乎无法找到要返回此值的属性。有没有人知道怎么做?

What I need is the actual URL to the project site itself.  I can't seem to find the property to return this value.  Does anyone know how to do this?

提前致谢

推荐答案

我认为没有。但是,根据上面的根地址,您应该能够构建整个地址。如果您看不清楚,请发布示例网站地址。
I don't think that is available. However, given the root address above, you should be able to build the whole address. If you can't see how, please post a sample site address.


这篇关于项目VB脚本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆