Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verify doc path in ProjectWise

Status
Not open for further replies.

Andrzejek

Programmer
Jan 10, 2006
8,486
5
38
US
Simple question: how do I verify given document path in ProjectWise using VB.NET 2010 (or maybe just old VB 6) ?

What I have are paths to the locations in ProjectWise that look like this:

[pre]
pw://projectwise.xy.int.lan:pWMain/Documents/Projects/0728101010
pw://projectwise.xy.int.lan:pWMain/Documents/Projects/6702903012
pw://projectwise.xy.int.lan:pWMain/Documents/Projects/9737602010
pw://projectwise.xy.int.lan:pWMain/Documents/Projects/7731601011
pw://projectwise.xy.int.lan:pWMain/Documents/Projects/7700604010
[/pre]
Those locations may or may not exist in ProjectWise, so I need to verify them before I write them into my data base.

I can just open ProjectWise Explorer and try each path ‘by hand’, and if I hit invalid path, I get an error message. But how can I do it programmatically? Reference ProjectWise in VB.NET and code to verify the path? If so, then how?

Search on NET did not yield any results, looks like this is a top secret of how to do it.

(I also have been given access to DMS_PROJ table in PROJECTWISE data base, that may or not may be useful)


Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top